Function at 0x40c843
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
mov dword [ebp - 0xdc], ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xd0]
push ecx
call fcn.0040bf56
add esp, 8
lea edx, [ebp - 0xd0]
push edx
push 0x42e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x492e28
push 0x3f9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 0xdc]
push 0x3f8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 8]
call fcn.004375e7
mov ecx, dword [ebp - 0xdc]
call fcn.0040c74c
test eax, eax
je 0x40c8fa
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp cl, 0xff
je 0x40c8fa
push 5
push 0x5ab
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp + 0x10]
and eax, 0xff
push eax
push 0x5ac
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x40c926
push 0
push 0x5ab
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x492e2c
push 0x5ac
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 0xdc]
call fcn.0040c74c
test eax, eax
jne 0x40c965
push 0
push 0x565
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x5ad
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xdc]
call fcn.0040c63a
and eax, 0xff
mov eax, dword [eax*4 + 0x48bc04]
push eax
push 0x3ff
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [ebp - 0xdc]
xor eax, eax
mov al, byte [edx + 0x12]
cmp eax, 0xff
jne 0x40c9b4
push 0x48b284
push 0x3fa
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x40c9d1
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.0040e070
push eax
push 0x3fa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 1
nop
mov al, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.00461fc8
lea eax, [ebp - 0xd0]
push eax
push 0x401
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.0040c4f4
add esp, 0xc
lea ecx, [ebp - 0xd0]
push ecx
push 0x5af
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov byte [ebp - 0xd8], 0xff
mov ecx, dword [ebp - 0xdc]
call fcn.0041ddf0
mov dword [ebp - 4], eax
mov dword [ebp - 0xd4], 0
jmp 0x40ca59
mov eax, dword [ebp - 0xd4]
add eax, 1
mov dword [ebp - 0xd4], eax
cmp byte [ebp - 0xd4], 0xf0
jae 0x40cb51
mov esi, dword [ebp - 0xd8]
and esi, 0xff
mov cl, byte [ebp - 0xd4]
push ecx
call fcn.0040687c
add esp, 4
and eax, 0xff
cmp esi, eax
je 0x40cb4c
mov dl, byte [ebp - 0xd4]
push edx
call fcn.0040687c
add esp, 4
mov byte [ebp - 0xd8], al
mov eax, dword [ebp - 0xdc]
xor ecx, ecx
mov cl, byte [eax + 0x11]
cmp ecx, 0x1a
jge 0x40caff
mov edx, dword [ebp - 0xdc]
xor eax, eax
mov al, byte [edx + 0x11]
push eax
mov ecx, dword [ebp - 0xd4]
call fcn.0041b781
nop
nop
nop
nop
call fcn.00466bb9
mov eax, 1
push eax
mov ecx, dword [ebp - 0xd8]
and ecx, 0xff
add ecx, 0x5c0
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x40cb4c
mov eax, dword [ebp - 0xdc]
mov cl, byte [eax + 0x11]
cmp cl, 0x47
jl 0x40cb12
cmp cl, 0x59
jl 0x40cb4c
mov edx, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xd8]
call fcn.00406cbc
mov dword [ebp - 0xe0], eax
push 1
nop
nop
nop
nop
xor eax, eax
mov al, byte [ebp - 0xd8]
add eax, 0x5c0
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x40ca4a
pop esi
mov esp, ebp
pop ebp
ret 0x10