Function at 0x478664
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ecx
push 0x403
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp dword [0x4b7504], ecx
jbe 0x478684
inc ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x200
push 1
push dword [0x4b7504]
call fcn.0047fa89
add esp, 0xc
push eax
push 0x404
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
pop edx
cmp word [edx*4 + 0x4b6cf0], 0x400
jae 0x4786c0
inc ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x7c]
call fcn.00407775
push eax
push 0x3f6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3f7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x7c]
call fcn.00419b76
mov dword [ebp - 8], eax
cmp al, 0xff
jne 0x47870a
xor eax, eax
jmp 0x478738
mov cl, al
call fcn.004061f9
call fcn.0043fc1a
cmp al, 3
jbe 0x478721
mov eax, 0x4b7544
jmp 0x478729
imul eax, eax, 9
add eax, 0x48ebf5
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 5
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x7c]
movzx eax, byte [ecx + 0x2b]
call fcn.0040111a
push eax
push 0x3f8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3fd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 8]
push eax
call fcn.00478a12
mov ecx, dword [ebp - 0x7c]
movzx eax, byte [ecx + 0x2c]
push 0
push eax
push 0x3f9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
call fcn.0040154a
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x7c]
call fcn.0040765c
push 0x4ac538
push 0
push 0x60
push dword [ebp - 4]
push eax
call fcn.004789d6
mov dword [ebp - 4], eax
push 1
call fcn.0047cae3
push 7
call fcn.0047d1ca
add esp, 4
push 4
call fcn.004016a8
push dword [ebp - 4]
push 0x78
push 0x78
push 0
push 0
call fcn.0047e09b
push 0
call fcn.0047cae3
push 0x434
push 0
push dword [ebp + 8]
call fcn.00460863
mov ecx, dword [ebp - 0x7c]
mov dword [0x500e28], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
push dword [0x4ce77d]
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00401126
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [0x4b6ba8]
mov ecx, dword [ebp - 0x7c]
call fcn.00476eab
mov ecx, dword [0x4b6bac]
call fcn.00478615
push dword [0x4b6bb0]
mov ecx, dword [ebp - 0x7c]
call fcn.00477b6f
push dword [ebp + 8]
mov ecx, dword [ebp - 0x7c]
call fcn.00476973
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp + 8]
mov ecx, dword [ebp - 0x7c]
call fcn.004784fb
xor eax, eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.00411da5
cmp al, 0xff
je 0x4788b1
add dword [ebp - 0x6c], 5
push 0x3fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x6c], 0
je 0x478902
nop
nop
nop
nop
nop
call fcn.0040e1d0
push 0
push eax
push 0x3fb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov esp, ebp
pop ebp
ret 4