Function at 0x4056c7
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x46bfe5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483260]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x487d40], 0
je 0x405704
call fcn.0040487a
xor eax, eax
inc eax
jmp 0x40592a
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x3e8
push edi
push dword [ebx + 4]
call ebp
xor esi, esi
inc esi
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebx + 0x7ec]
and dword [eax + 0x2c], 0
mov dword [eax + 0x30], 2
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], 3
mov eax, dword [ebx + 0x474]
test eax, eax
je 0x4058e3
cmp eax, esi
je 0x40582b
add eax, 0xfffffffe
cmp eax, esi
ja 0x405928
push 0x3e9
push dword [ebx + 4]
call ebp
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0
push ebx
call fcn.00403b59
push edi
push dword [ebx + 4]
call ebp
push 5
push eax
call esi
mov ecx, 0x485f6c
lea esi, [esp + 0x14]
call fcn.00402b4a
xor ebp, ebp
mov dword [esp + 0x20], ebp
cmp dword [ebx + 0x474], 3
jne 0x4057b5
push 0x4751a0
mov eax, esi
push eax
call fcn.00402c33
push 0x4751d4
jmp 0x4057f3
cmp dword [ebx + 0x7e4], ebp
je 0x4057db
push 7
call fcn.0040809d
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 8
call fcn.0040809d
pop ecx
push eax
jmp 0x4057f3
push 5
call fcn.0040809d
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 0x4751e0
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [esp + 0x14]
push ebp
push edi
mov eax, 0x90ff
mov esi, ebx
call fcn.00403bc1
push 1
push ebp
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [edi - 0x10]
call fcn.004031f6
xor esi, esi
inc esi
jmp 0x405928
mov ecx, 0x485f6c
lea esi, [esp + 0x14]
call fcn.00402b4a
mov dword [esp + 0x20], 1
cmp dword [ebx + 0x7e4], 0
je 0x40586d
push 7
mov esi, 0x90ff
call fcn.0040809d
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 8
call fcn.0040809d
pop ecx
push eax
jmp 0x40588a
push 9
mov esi, 0x51a851
call fcn.0040809d
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 0x4751ec
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push dword [esp + 0x18]
mov eax, esi
mov esi, ebx
call fcn.00403bc1
push edi
push dword [ebx + 4]
call ebp
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
push 0x3e9
push dword [ebx + 4]
call ebp
xor edi, edi
push edi
push eax
call esi
push edi
push ebx
call fcn.00403b59
push 1
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40581e
push esi
call fcn.0040809d
pop ecx
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push dword [ebx + 4]
call ebp
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x3e9
push dword [ebx + 4]
call ebp
push 5
push eax
call edi
push esi
push ebx
call fcn.00403b59
push esi
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret