Function at 0x40c843
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
mov dword [ebp - 0xdc], ecx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.0040bf56
add esp, 8
lea edx, [ebp - 0xd0]
push edx
push 0x42e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x492e28
push 0x3f9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [ebp - 0xdc]
push edx
push 0x3f8
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
je 0x40c8fa
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 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 + 0x48bc20]
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]
mov al, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.00462005
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
push 0x401
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.00462174
add esp, 8
lea ecx, [ebp - 0xd0]
push ecx
push 0x5af
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov byte [ebp - 0xd8], 0xff
mov ecx, dword [ebp - 0xdc]
call fcn.0041ddf0
mov byte [ebp - 4], al
mov dword [ebp - 0xd4], 0
jmp 0x40ca57
mov eax, dword [ebp - 0xd4]
add eax, 1
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x26
jge 0x40cb7a
mov esi, dword [ebp - 0xd8]
and esi, 0xff
mov cl, byte [ebp - 0xd4]
push ecx
call fcn.00406906
add esp, 4
and eax, 0xff
cmp esi, eax
je 0x40cb75
mov dl, byte [ebp - 0xd4]
push edx
call fcn.00406906
add esp, 4
mov byte [ebp - 0xd8], al
mov eax, dword [ebp - 0xdc]
xor ecx, ecx
mov cl, byte [eax + 0x11]
cmp ecx, 0x12
jge 0x40cafd
mov edx, dword [ebp - 0xdc]
xor eax, eax
mov al, byte [edx + 0x11]
push eax
mov ecx, dword [ebp - 0xd4]
imul ecx, ecx, 0x1b
add ecx, 0x4abfa0
call fcn.004095c0
and eax, 0xff
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 0x40cb75
mov eax, dword [ebp - 0xdc]
xor ecx, ecx
mov cl, byte [eax + 0x11]
cmp ecx, 0x3f
jge 0x40cb75
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 0xd8]
and eax, 0xff
cmp edx, eax
je 0x40cb42
mov ecx, dword [ebp - 4]
and ecx, 0xff
cmp ecx, 0xff
je 0x40cb42
mov dword [ebp - 0xe0], 0
jmp 0x40cb4c
mov dword [ebp - 0xe0], 1
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xd8]
and eax, 0xff
add eax, 0x5c0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x40ca48
pop esi
mov esp, ebp
pop ebp
ret 0x10