Function at 0x40570c
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x46c035
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 0x405749
call fcn.00404881
xor eax, eax
inc eax
jmp 0x40596f
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 0x405928
cmp eax, esi
je 0x405870
add eax, 0xfffffffe
cmp eax, esi
ja 0x40596d
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 0x4057fa
push 0x4751a4
mov eax, esi
push eax
call fcn.00402c33
push 0x4751d8
jmp 0x405838
cmp dword [ebx + 0x7e4], ebp
je 0x405820
push 7
call fcn.004080e9
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 8
call fcn.004080e9
pop ecx
push eax
jmp 0x405838
push 5
call fcn.004080e9
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 0x4751e4
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 0x40596d
mov ecx, 0x485f6c
lea esi, [esp + 0x14]
call fcn.00402b4a
mov dword [esp + 0x20], 1
cmp dword [ebx + 0x7e4], 0
je 0x4058b2
push 7
mov esi, 0x90ff
call fcn.004080e9
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 8
call fcn.004080e9
pop ecx
push eax
jmp 0x4058cf
push 9
mov esi, 0x51a851
call fcn.004080e9
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402c33
push 0x4751f0
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 0x405863
push esi
call fcn.004080e9
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