Function at 0x478664
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x70], ecx
push 0x403
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp dword [0x4b7504], ecx
jbe 0x478686
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
mov dword [ebp - 0x68], eax
push 0x404
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
mov edx, dword [ebp - 0x68]
cmp dword [edx*4 + 0x4b6cf0], 0x400
jae 0x4786c7
inc ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x70]
call fcn.00477adc
mov dword [ebp - 0x6c], eax
push 0x3eb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b7540
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x70]
call fcn.00407778
push eax
push 0x3ea
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x6c]
cmp cl, 0xff
jne 0x478733
push 0x3f7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x478788
call fcn.004061f9
call fcn.0043fc1a
cmp al, 3
jbe switch.0x00478748
mov eax, 0x4b7544
jmp 0x478762
jmp dword [eax*4 + 0x478908]
mov eax, 0x48ebec
jmp 0x478762
mov eax, 0x48ebf8
jmp 0x478762
mov eax, 0x48ec04
push eax
push 0x3f7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x3f7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x70]
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 0xa
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x70]
movzx ecx, byte [eax + 0x2c]
push ecx
call fcn.004758d0
add esp, 0xc
push eax
push 0x3f9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0x6c]
push 0x5a3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00478a0f
add esp, 8
call fcn.0040154a
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x70]
call fcn.00407657
push 0x4ac538
push 0
push 0x60
push dword [ebp - 0x6c]
push eax
call fcn.004789d6
mov dword [ebp - 0x6c], eax
push 1
call fcn.0047cae3
add esp, 4
push 7
call fcn.0047d1ca
add esp, 4
push 4
call fcn.004016a8
push dword [ebp - 0x6c]
push 0x78
push 0x78
push 0
push 0
call fcn.0047e09b
push 0
call fcn.0047cae3
add esp, 4
push 0x434
push 0
push dword [ebp + 8]
call fcn.00460863
push dword [0x4b6ba8]
mov ecx, dword [ebp - 0x70]
call fcn.00476987
push dword [0x4b6bac]
mov ecx, dword [ebp - 0x70]
call fcn.00476eab
mov ecx, dword [0x4b6bb0]
call fcn.00478615
push dword [0x4b6bb4]
mov ecx, dword [ebp - 0x70]
call fcn.004783c1
push dword [0x4b6bb8]
mov ecx, dword [ebp - 0x70]
call fcn.00477b6f
xor eax, eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x70]
call fcn.00418d80
cmp al, 0xff
je 0x4788b1
add dword [ebp - 0x6c], 5
push 0x52b
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 0x432
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
mov ecx, 0x4b0770
call fcn.0040e1d0
push 0
push eax
push 0x432
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x478918
leave
ret 4
push ecx
cmp dword [ebp + 4], 0x4790d4
je 0x47893a
mov ecx, dword [ebp - 0x70]
mov dword [0x500e28], ecx
push 0
push 0
push 0
lea edx, [ebp + 4]
push edx
call fcn.00401132
pop ecx
jmp 0x478904