Function at 0x478688
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x70], ecx
cmp dword [0x4b7504], 0
jbe 0x4786b4
push 1
push 0x403
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4786cc
push 0
push 0x403
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x200
push 1
mov edx, dword [0x4b7504]
push edx
call fcn.0047fa89
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax*4 + 0x4b6cf0], 0x200
jae 0x47870f
push 1
push 0x404
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x478727
push 0
push 0x404
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x70]
call fcn.00477adc
mov byte [ebp - 0x6c], al
push 0x4b7540
push 0x3eb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x70]
call fcn.00407757
push eax
push 0x3ea
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 0x6c]
and edx, 0xff
cmp edx, 0xff
jne 0x47879a
push 0
push 0x3f7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x478837
mov ecx, dword [ebp - 0x6c]
and ecx, 0xff
imul ecx, ecx, 0x24
add ecx, 0x4b2c50
call fcn.0043fc1a
and eax, 0xff
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
ja case.default.0x4787c2
mov ecx, dword [ebp - 0x74]
jmp dword [ecx*4 + 0x4789ff]
push 0x48ebec
push 0x3f7
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x47881f
push 0x48ebf8
push 0x3f7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x47881f
push 0x48ec04
push 0x3f7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x47881f
push 0x4b7544
push 0x3f7
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 5
push 0x3f7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dl, byte [ecx + 0x2b]
mov eax, dword [edx*4 + 0x48bea8]
push eax
push 0x3f8
mov ecx, dword [ebp + 8]
push ecx
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]
xor ecx, ecx
mov cl, byte [eax + 0x2c]
push ecx
call fcn.004758d0
add esp, 0xc
push eax
push 0x3f9
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x70]
call fcn.00477adc
push eax
push 0x5a3
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00478a0f
add esp, 8
push 4
push 0
push 0
mov ecx, 0x4a1110
call fcn.0047fa40
push eax
mov ecx, dword [ebp - 0x70]
call fcn.004075a7
push eax
mov ecx, 0x4ac538
call fcn.0041fc89
push 1
call fcn.0047cae3
add esp, 4
push 7
call fcn.0047d1ca
add esp, 4
push 0
push 0x12
push 4
call fcn.0047d1f1
add esp, 0xc
mov ecx, 0x4a1110
call fcn.0040e090
push eax
mov ecx, dword [0x4867fc]
push ecx
mov edx, dword [0x4867f8]
push edx
push 0
push 0
call fcn.0047e09b
add esp, 0x14
push 0
call fcn.0047cae3
add esp, 4
call fcn.00460863
mov eax, dword [0x4b6ba8]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00476987
mov ecx, dword [0x4b6bac]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.00476eab
mov edx, dword [0x4b6bb0]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.00478615
mov eax, dword [0x4b6bb4]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.004783c1
mov ecx, dword [0x4b6bb8]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.00477b62
mov ecx, dword [ebp - 0x70]
call fcn.00409500
test eax, eax
jne 0x4789c9
push 5
push 0x52b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x432
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, 0x4b0770
call fcn.0040e1d0
push eax
push 0x432
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x4789f9
push 0
push 0x52b
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
push 0x432
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4