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
sub esp, 0x204
mov dword [ebp - 0x20c], ecx
push 0x5a6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x478142
mov ecx, dword [ebp - 0x20c]
movzx eax, byte [ecx + 0x2b]
call fcn.0040111a
push eax
push 0x3f8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [ebp - 0x130], 0
jmp 0x477bd9
inc dword [ebp - 0x130]
mov eax, dword [ebp - 0x130]
cmp eax, 0xa
jae 0x477c1a
shl eax, 1
push eax
mov ecx, dword [ebp - 0x20c]
movzx ecx, byte [ecx + 0x2b]
call fcn.0041b781
call fcn.00466bb9
test al, al
je 0x477bd3
mov eax, dword [ebp - 0x130]
push dword [eax*4 + 0x48bc04]
push 0x5a8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [ebp - 0x130], 0xa
jne 0x477c36
push 0x48ebcc
push 0x5a8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [ebp - 0x130], 0xa
jmp 0x477c48
inc dword [ebp - 0x130]
mov eax, dword [ebp - 0x130]
cmp eax, 0xd
jae 0x477c89
shl eax, 1
push eax
mov ecx, dword [ebp - 0x20c]
movzx ecx, byte [ecx + 0x2b]
call fcn.0041b781
call fcn.00466bb9
test al, al
je 0x477c42
mov eax, dword [ebp - 0x130]
push dword [eax*4 + 0x48bc04]
push 0x5a7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [ebp - 0x130], 0xd
jne 0x477ca5
push 0x48ebd0
push 0x5a7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x474
push dword [ebp + 8]
push 0
mov eax, dword [ebp - 0x20c]
call fcn.0047815d
push 0x561
push dword [ebp + 8]
push 2
mov eax, dword [ebp - 0x20c]
call fcn.0047815d
push 0x3f1
push dword [ebp + 8]
push 1
mov eax, dword [ebp - 0x20c]
call fcn.0047815d
push 0x562
push dword [ebp + 8]
push 3
mov eax, dword [ebp - 0x20c]
call fcn.0047815d
push 0x563
push dword [ebp + 8]
push 4
mov eax, dword [ebp - 0x20c]
call fcn.0047815d
push 0
mov edx, dword [ebp - 0x20c]
movzx ecx, byte [edx + 0x2b]
call fcn.0041b781
call fcn.004cee12
movzx eax, al
push eax
push 0x564
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov edx, dword [ebp - 0x20c]
movzx eax, byte [edx + 0x2b]
push eax
lea ecx, [ebp - 0x1fc]
push ecx
call fcn.0040bfbd
add esp, 8
lea edx, [ebp - 0x1fc]
push edx
push 0x5a6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 0x20c]
call fcn.00482715
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x20c]
call fcn.0040685a
and eax, 0xffff
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x20c]
call fcn.00477adc
mov byte [ebp - 0x200], al
cmp dword [ebp - 0x114], 0x50
jae 0x477e07
call fcn.0040b922
test eax, eax
je 0x477df6
mov ecx, dword [ebp - 0x200]
cmp cl, 0x73
jae 0x477df6
call fcn.004061f9
call fcn.0043fc1a
cmp al, 2
jg 0x477dd3
movzx eax, al
mov dword [ebp - 0x210], eax
jmp 0x477ddd
mov dword [ebp - 0x210], 2
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x114]
imul eax, eax, 3
add eax, edx
mov dword [ebp - 0x114], eax
jmp 0x477e11
mov edx, dword [ebp - 0x114]
imul edx, edx, 3
mov dword [ebp - 0x114], edx
jmp 0x477e11
add dword [ebp - 0x114], 0xa0
lea ecx, [ebp - 0x110]
call fcn.004032b0
inc dword [ebp - 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.0040b922
test eax, eax
je 0x477e4e
movzx ecx, byte [ebp - 0x200]
cmp ecx, 0x73
jge 0x477e4e
push ecx
call fcn.0043e572
add esp, 4
mov dword [ebp - 0x12c], eax
jmp 0x477e95
push str.UNIT_MOV.E5
lea ecx, [ebp - 0x110]
call fcn.0041fb35
mov eax, 0x6900
call fcn.004015b1
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0xa
push eax
push dword [ebp - 0x114]
call fcn.004789d6
add eax, 0xa200
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x110]
call fcn.004192c5
push 2
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 eax, 0x18dc0
call fcn.004015da
push eax
push 0x30
push 0x30
call fcn.00417324
push eax
push dword [0x48680c]
push dword [0x486808]
push 0
push 0
call fcn.0047e09b
push dword [ebp - 0x12c]
push dword [0x48680c]
push dword [0x486808]
push 0
push 0
call fcn.0047e09b
push 0x3fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push dword [0x4b5fd4]
call dword [sym.imp.USER32.dll_SetParent]
lea edx, [ebp - 0x128]
push edx
push 0x3fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00461b6a
add esp, 8
push 0xc
mov ecx, dword [0x48680c]
add ecx, 2
push ecx
mov edx, dword [0x486808]
add edx, 2
push edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
lea eax, [ecx + eax - 2]
sub eax, dword [0x48680c]
cdq
sub eax, edx
sar eax, 1
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x128]
lea eax, [eax + edx - 2]
sub eax, dword [0x486808]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0x3fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [0x48680c]
push dword [0x486808]
push 0
push 0
push dword [0x4b5fd4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [0x4b5fd4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x20c]
movzx ecx, byte [eax + 0x2b]
call fcn.0041b781
call fcn.0044f9a0
mov byte [ebp - 0x118], al
push str.HITAREA.E5
lea ecx, [ebp - 0x110]
call fcn.0041fb35
push 0x4b0a18
movzx edx, byte [ebp - 0x118]
push edx
lea ecx, [ebp - 0x110]
call fcn.0041fc89
lea ecx, [ebp - 0x110]
call fcn.004192c5
push 0
push dword [0x4b6010]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x11
call fcn.0047cae3
add esp, 4
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
lea eax, [ebp - 0x128]
push eax
push 0x5a9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00461b6a
add esp, 8
push 0xc
mov edx, dword [0x4868fc]
add edx, 2
push edx
mov eax, dword [0x4868f8]
add eax, 2
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x124]
lea eax, [edx + ecx - 2]
sub eax, dword [0x4868fc]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x128]
lea eax, [ecx + eax - 2]
sub eax, dword [0x4868f8]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0x5a9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x5a9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push dword [0x4b6010]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push dword [0x4868fc]
push dword [0x4868f8]
push 0
push 0
push dword [0x4b6010]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [0x4b6010]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.0047cae3
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.004192c5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4