Function at 0x477b6f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485d4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0
push ecx
movzx eax, byte [ecx + 0x2b]
push eax
sub esp, 0x138
push 0x5a6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x477e9f
mov eax, dword [ebp - 0x18]
call fcn.0040111a
push eax
push 0x3f8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 0x18]
call fcn.0041b781
mov dword [ebp - 0x1c], ecx
jmp 0x477bd2
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp al, 0xa
jae 0x477c00
shl eax, 1
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00466bb9
test al, al
je 0x477bcf
mov eax, dword [ebp - 0x10]
push dword [eax*4 + 0x48bc04]
push 0x5a8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [ebp - 0x10], 0xa
jne 0x477c19
push 0x48ebcb
push 0x5a8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov byte [ebp - 0x10], 0xa
jmp 0x477c22
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp al, 0xd
jae 0x477c50
shl eax, 1
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00466bb9
test al, al
je 0x477c1f
mov eax, dword [ebp - 0x10]
push dword [eax*4 + 0x48bc04]
push 0x5a7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [ebp - 0x10], 0xd
jne 0x477c69
push 0x48ebcb
push 0x5a7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov byte [ebp - 0x10], 0
jmp 0x477c72
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp al, 5
jae 0x477c8f
mov edx, 0x7d6
add edx, eax
push edx
push dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004781c6
jmp 0x477c6f
mov byte [ebp - 0x10], 0
jmp 0x477c98
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp al, 9
jae 0x477cc4
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [eax + ecx]
push 0
push edx
add eax, 0x564
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
cmp dword [ebp - 0x10], 0
jne 0x477c95
add dword [ebp - 0x10], 6
jmp 0x477c95
push dword [ebp - 0x18]
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0040bfbd
lea edx, [ebp - 0xe8]
push edx
push 0x5a6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 0x14]
call fcn.0040685a
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
call fcn.00477adc
mov byte [ebp - 0x24], al
cmp dword [ebp - 0x20], 0x50
jae 0x477d14
mov edx, dword [ebp - 0x20]
imul edx, edx, 3
mov dword [ebp - 0x20], edx
jmp 0x477d1b
add dword [ebp - 0x20], 0xa0
lea ecx, [ebp - 0x150]
call fcn.004032b0
inc dword [ebp - 4]
call fcn.0040b922
test eax, eax
je 0x477d49
movzx ecx, byte [ebp - 0x24]
cmp ecx, 0x73
jge 0x477d49
push ecx
call fcn.0043e572
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x477d8a
push str.UNIT_MOV.E5
lea ecx, [ebp - 0x150]
call fcn.0041fb35
mov eax, 0x6900
call fcn.004015b1
lea ecx, [ebp - 0x150]
push ecx
push 0
push 0xa
push eax
push dword [ebp - 0x20]
call fcn.004789d6
add eax, 0xa200
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x150]
call fcn.004192c5
push 2
call fcn.0047cae3
push 7
call fcn.0047d1ca
add esp, 4
push 0
push 0x12
push 4
call fcn.0047d1f1
add esp, 0xc
mov eax, 0x18dc0
push 0x30
push 0x30
call fcn.00403d40
push eax
push dword [0x48680c]
push dword [0x486808]
push 0
push 0
call fcn.0047e09b
push dword [ebp - 0x2c]
push dword [0x48680c]
push dword [0x486808]
push 0
push 0
call fcn.0047e09b
push 0x486808
push dword [0x4b5fd4]
push 0x3fa
push dword [ebp + 8]
call fcn.00477ee2
mov ecx, dword [ebp - 0x1c]
call fcn.0044f9a0
mov byte [ebp - 0x10], al
mov eax, str.HITAREA.E5
lea ecx, [ebp - 0x150]
call fcn.004165b8
push 0x4b0a18
push dword [ebp - 0x10]
lea ecx, [ebp - 0x150]
call fcn.0041fc89
lea ecx, [ebp - 0x150]
call fcn.004192c5
push 0
push dword [0x4b6010]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x11
call fcn.0047cae3
push 7
call fcn.0047d1ca
add esp, 4
push 0
push 0
push 0
call fcn.0047d1f1
add esp, 0xc
push 0x4b0a18
push dword [0x4868fc]
push dword [0x4868f8]
push 0
push 0
call fcn.0047e09b
push 0x4868f8
push dword [0x4b6010]
push 0x5a9
push dword [ebp + 8]
call fcn.00477ee2
push 0
call fcn.0047cae3
dec dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4