Function at 0x48a0b8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48a3c6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0xec], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x4a0844]
mov eax, dword [eax + 0x4c]
call fcn.00473284
mov edi, eax
dec edi
test edi, edi
jl 0x48a14b
inc edi
xor esi, esi
mov eax, dword [0x4a0844]
mov eax, dword [eax + 0x4c]
mov edx, esi
call fcn.0047322c
movzx eax, byte [eax + 0xc]
add al, 0xfe
sub al, 2
jae 0x48a147
mov eax, dword [0x4a0844]
mov eax, dword [eax + 0x4c]
mov edx, esi
call fcn.0047322c
cmp byte [eax + 0xc], 2
jne 0x48a129
inc dword [ebp - 0xc]
cmp dword [ebx + 0xec], 0
jne 0x48a147
mov eax, dword [0x4a0844]
mov eax, dword [eax + 0x4c]
mov edx, esi
call fcn.0047322c
mov dword [ebx + 0xec], eax
inc esi
dec edi
jne 0x48a0f8
cmp dword [ebp - 0xc], 1
jle 0x48a1dc
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebx + 0xf8]
mov ecx, 1
mov edx, dword [0x4826a8]
call fcn.00408b1c
add esp, 4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x4a0844]
mov eax, dword [eax + 0x4c]
call fcn.00473284
mov edi, eax
dec edi
test edi, edi
jl 0x48a1c5
inc edi
xor esi, esi
mov eax, dword [0x4a0844]
mov eax, dword [eax + 0x4c]
mov edx, esi
call fcn.0047322c
cmp byte [eax + 0xc], 2
jne 0x48a1c1
mov eax, dword [0x4a0844]
mov eax, dword [eax + 0x4c]
mov edx, esi
call fcn.0047322c
mov edx, dword [ebx + 0xf8]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
inc dword [ebp - 8]
inc esi
dec edi
jne 0x48a18e
xor eax, eax
mov dword [ebx + 0xec], eax
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00489e90
jmp 0x48a3a0
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x48a385
push eax
push 0
mov ecx, dword [eax + 4]
mov dl, 8
mov eax, dword [0x4a0844]
call fcn.0046d330
push 1
lea eax, [ebx + 0xf8]
mov ecx, 1
mov edx, dword [0x4826a8]
call fcn.00408b1c
add esp, 4
mov eax, dword [ebx + 0xec]
mov edx, dword [ebx + 0xf8]
mov dword [edx], eax
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00489e90
mov eax, dword [ebx + 0xec]
mov edx, dword [eax + 0x44]
test edx, edx
je 0x48a3a0
cmp dword [eax + 0x48], 0
je 0x48a3a0
mov eax, dword [ebx + 0x54]
call fcn.00459d48
mov eax, dword [ebx + 0xec]
mov edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x54]
call fcn.00459d8c
mov eax, dword [ebx + 0x54]
call fcn.00459d70
call fcn.004829d4
push eax
mov eax, dword [ebx + 0x54]
call fcn.00459d2c
call fcn.004829c0
mov edx, eax
mov eax, ebx
pop ecx
call fcn.00488910
mov eax, dword [0x4a084c]
call fcn.0040895c
mov edi, eax
test edi, edi
jl 0x48a379
inc edi
xor esi, esi
mov eax, dword [0x4a084c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0xec]
mov edx, dword [edx + 4]
call fcn.004078b4
jne 0x48a371
mov edx, dword [0x4a084c]
mov edx, dword [edx + esi*4]
mov edx, dword [edx + 0xc]
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0xee]
mov dword [ecx + 0x3c], edx
mov edx, dword [0x4a084c]
mov edx, dword [edx + esi*4]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x18]
test edx, edx
jbe 0x48a314
inc edx
call fcn.00459d48
mov edi, dword [ebx + 0x54]
mov eax, dword [edi + 0x30]
call fcn.00459d2c
push eax
mov eax, dword [ebx + 0x54]
call fcn.00459d2c
pop edx
sub edx, eax
sar edx, 1
jns 0x48a30d
adc edx, 0
mov eax, edi
call fcn.00459cac
mov eax, dword [0x4a084c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
jbe 0x48a331
mov edx, eax
inc edx
mov eax, dword [ebx + 0x54]
call fcn.00459d8c
mov edx, dword [ebx + 0xec]
mov eax, ebx
call fcn.00489fc0
mov eax, dword [ebx + 0x84]
call fcn.004599e4
mov eax, dword [ebx + 0x60]
call fcn.004599e4
mov eax, dword [ebx + 0x58]
call fcn.004599e4
mov eax, dword [ebx + 0x64]
call fcn.004599e4
push 0
mov eax, dword [ebx + 0xa0]
push eax
call sub.user32.dll_ShowWindow
jmp 0x48a379
inc esi
dec edi
jne 0x48a29f
mov eax, dword [ebx + 0x54]
mov dl, 1
call fcn.004598c0
jmp 0x48a3a0
push 0
lea eax, [ebx + 0xf8]
mov ecx, 1
mov edx, dword [0x4826a8]
call fcn.00408b1c
add esp, 4
mov byte [ebx + 0x21], 1
mov eax, dword [ebx + 0x4c]
xor edx, edx
call fcn.004598c0
mov eax, dword [ebx + 0x50]
mov dl, 1
call fcn.004598c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a3cd
ret