Function at 0x468929
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x547
push dword [0x56ba98]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
xor eax, eax
cmp byte [0x56ba9c], al
sete al
push eax
push edi
call ebx
xor eax, eax
cmp byte [0x56ba9c], al
sete al
push eax
push 1
push dword [0x56ba98]
call esi
push eax
call ebx
xor eax, eax
cmp byte [0x56ba9c], al
sete al
push eax
push 2
push dword [0x56ba98]
call esi
push eax
call ebx
movzx eax, byte [0x56ba9c]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x549
push dword [0x56ba98]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
movzx eax, byte [0x56ba9c]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x548
push dword [0x56ba98]
call esi
push eax
call ebx
cmp byte [0x56ba9c], 0
jne 0x468b79
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
xor ebp, ebp
push ebp
push ebp
push 0x14b
push edi
call esi
push 0x520278
push ebp
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push ebp
mov ebx, 0x151
push ebx
push edi
call esi
mov dword [esp + 0x14], ebp
call fcn.004fcc6e
test eax, eax
jbe 0x468a58
mov ecx, ebp
call fcn.004fcc74
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0049fea6
push eax
push 0
push 0x143
push edi
call esi
lea eax, [ebp + 1]
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.004fcc8b
mov ebp, dword [esp + 0x10]
push eax
push ebp
push ebx
push edi
call esi
call fcn.004fcc6e
cmp ebp, eax
jb 0x468a1a
call fcn.004fcc6e
cmp eax, 1
ja 0x468ad5
and dword [esp + 0x10], 0
mov edx, dword [0x51e668]
jmp 0x468ab0
lea ecx, [esp + 0x20]
call fcn.004fcb67
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.0049fea6
push eax
push 0
push 0x143
push edi
call esi
push dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea eax, [eax + ebp + 1]
push eax
push ebx
push edi
call esi
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov edx, dword [eax*4 + 0x51e668]
test edx, edx
jne 0x468a6f
push 0x520258
push edx
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
lea eax, [eax + ebp + 1]
push eax
push ebx
push edi
call esi
xor ebp, ebp
push ebp
push ebp
push 0x146
push edi
call esi
cmp dword [0x56baa4], 0xffffffff
mov dword [esp + 0x10], eax
mov ebx, 0x150
jne 0x468b42
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.004fce3a
cmp dword [esp + 0x10], ebp
jbe 0x468b1c
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x468b3c
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x468b06
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x468b42
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x468b3c
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x468b24
jmp 0x468b42
mov dword [0x56baa4], ecx
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x468b6d
push 0
push ebp
push ebx
push edi
call esi
cmp dword [0x56baa4], eax
je 0x468b62
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x468b4a
jmp 0x468b6d
push 0
push ebp
push 0x14e
push edi
call esi
mov ecx, dword [esp + 0x14]
mov dl, 1
call fcn.00479b79
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret