Function at 0x477b3f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebx + 4]
mov ecx, 0x124
call fcn.0047a462
push dword [ebx + 4]
mov esi, eax
push 7
pop edi
mov ecx, edi
mov dword [ebp - 0x24], esi
call fcn.0047a462
push dword [ebx + 4]
add eax, eax
sub esi, eax
mov ecx, edi
mov dword [ebp - 0x20], esi
call fcn.0047a462
push edi
push dword [ebx + 4]
mov dword [ebp - 8], eax
call fcn.0047a428
push dword [ebx + 4]
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0047a462
mov edi, esi
sub edi, eax
push 0x548ce8
sub edi, 0x20
push 0x65
push ebx
mov eax, edi
mov dword [ebp - 0x18], edi
call fcn.004260a8
push 0x548ce8
push 0x66
mov dword [ebp - 0xc], eax
push ebx
mov eax, edi
call fcn.004260a8
push 2
push dword [ebx + 4]
mov edi, eax
mov dword [ebp - 0x14], edi
call fcn.0047a428
add edi, eax
add edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp edi, 0x20
jg 0x477be2
xor eax, eax
jmp 0x477bea
lea eax, [edi - 0x20]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 8]
push 0x20
push 0x20
add eax, ecx
push eax
push dword [ebp - 8]
push 0x64
push ebx
call fcn.0047a867
push dword [ebx + 4]
push 7
pop ecx
call fcn.0047a462
cmp edi, 0x20
mov ecx, dword [ebp - 8]
lea ecx, [ecx + eax + 0x20]
mov dword [ebp - 8], ecx
jl 0x477c1d
xor eax, eax
jmp 0x477c25
lea eax, [edi - 0x20]
cdq
sub eax, edx
sar eax, 1
push dword [ebp - 0xc]
mov edx, dword [ebp + 8]
push dword [ebp - 0x18]
add eax, edx
push eax
push ecx
push 0x65
push ebx
mov dword [ebp - 0x1c], eax
call fcn.0047a867
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, ecx
add eax, dword [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x66
push ebx
call fcn.0047a867
cmp edi, 0x20
jge 0x477c62
push 0x20
pop edi
push 7
push dword [ebx + 4]
call fcn.0047a428
push dword [ebx + 4]
add eax, edi
add dword [ebp + 8], eax
push 7
pop ecx
call fcn.0047a462
push 9
push dword [ebx + 4]
mov dword [ebp - 8], eax
call fcn.0047a428
mov edi, eax
push edi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
push 0x67
push ebx
call fcn.0047a867
add dword [ebp + 8], edi
cmp byte [ebx + 0x10e], 0
je 0x477d45
push 4
push dword [ebx + 4]
call fcn.0047a428
add dword [ebp + 8], eax
push 0x552df8
push 0x68
push ebx
call fcn.00402c6a
push 0x548ce8
push 0x68
push ebx
mov dword [ebp - 0x10], eax
call fcn.004260a8
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push eax
push eax
push 0x580f30
mov esi, 0x104
lea edi, [ebp - 0x22c]
call fcn.0044b138
add esp, 0x10
mov eax, edi
push eax
push 0x69
push ebx
call fcn.00402c6a
mov edi, dword [ebp - 0x10]
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
push edi
push dword [ebp + 8]
sub eax, edi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [ebp - 8]
push esi
push 0x68
push ebx
call fcn.0047a867
push dword [ebp - 0xc]
add esi, edi
push dword [ebp - 0x14]
push dword [ebp + 8]
push esi
push 0x69
push ebx
call fcn.0047a867
mov eax, dword [ebp - 0xc]
add dword [ebp + 8], eax
mov esi, dword [ebp - 0x20]
push 7
push dword [ebx + 4]
call fcn.0047a428
mov edi, dword [ebp + 8]
push 1
push dword [ebp - 0x24]
add edi, eax
push edi
push 0
push 0x6a
push ebx
call fcn.0047a867
push 7
push dword [ebx + 4]
call fcn.0047a428
push dword [ebx + 4]
lea edi, [edi + eax + 1]
push 0x3c
pop ecx
call fcn.0047a462
push 0x10
push dword [ebx + 4]
mov dword [ebp + 8], eax
call fcn.0047a428
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
push edi
add eax, esi
push eax
push 2
push ebx
call fcn.0047a867
push dword [ebp - 0x18]
push 0x6b
push ebx
call fcn.00426124
push dword [ebx + 4]
mov dword [ebp - 0x10], eax
push 4
pop ecx
call fcn.0047a462
sub esi, dword [ebp + 8]
push 4
push dword [ebx + 4]
sub esi, eax
call fcn.0047a428
push dword [ebp - 0x10]
add eax, edi
push esi
push eax
push dword [ebp - 8]
push 0x6b
push ebx
call fcn.0047a867
push 7
push dword [ebx + 4]
call fcn.0047a428
add eax, dword [ebp - 0x1c]
mov esi, ebx
add eax, edi
push eax
push dword [ebp - 0x24]
call fcn.00425c9c
push ebx
call fcn.00425d49
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
leave
ret 4