Function at 0x48c305
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor eax, eax
cmp ebx, esi
mov word [ebp - 0x2c], si
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1c], esi
je 0x48c603
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x48c603
cmp dword [edi + 4], esi
jle 0x48c603
call fcn.004b2094
cmp eax, esi
mov dword [ebp - 8], eax
je 0x48c603
cmp dword [ebx], esi
mov dword [ebp - 0x18], esi
jle 0x48c428
add ebx, 0x4f4
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
dec ebx
mov dword [ebp - 4], esi
js 0x48c410
mov ecx, ebx
imul ecx, ecx, 0x1234
add eax, ecx
lea esi, [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
lea eax, [esi + 0xcd8]
cmp dword [eax - 4], 0
jg 0x48c39a
cmp dword [eax], 0
jle 0x48c3eb
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f96f4
mov esi, dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.004f9837
add esp, 0x18
test eax, eax
jne 0x48c402
push dword [esi]
mov esi, dword [ebp - 0xc]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f96f4
add esp, 0x10
push eax
call fcn.004f9a0c
test eax, eax
pop ecx
pop ecx
je 0x48c3e7
inc dword [ebp - 4]
cmp dword [ebp - 4], 7
jge 0x48c40e
jmp 0x48c3eb
and dword [ebp - 4], 0
mov esi, dword [ebp - 0xc]
mov eax, 0x1234
sub dword [ebp - 0x10], eax
dec ebx
sub esi, eax
test ebx, ebx
mov dword [ebp - 0xc], esi
jge 0x48c389
jmp 0x48c40e
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004b218d
pop ecx
xor esi, esi
inc dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x14], 4
cmp ecx, dword [eax]
jl 0x48c364
mov edi, dword [ebp + 0xc]
cmp dword [edi + 4], esi
mov dword [ebp - 0x10], esi
jle 0x48c5f5
add edi, 0x44
mov dword [ebp - 4], edi
jmp 0x48c43e
xor esi, esi
push 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
call fcn.005306b0
mov esi, dword [ebp - 8]
add esp, 0xc
call fcn.004b2448
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
je 0x48c5c8
jmp 0x48c46d
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xcf4]
mov edx, dword [ebx + 0xcf0]
mov eax, dword [edi - 0x38]
call fcn.00485cd1
test eax, eax
jne 0x48c54a
mov esi, dword [edi - 0x38]
push esi
mov eax, ebx
call fcn.004db509
test eax, eax
pop ecx
jne 0x48c54a
xor edx, edx
cmp dword [ebx + 0x11bc], edx
je 0x48c4c1
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.004e349f
test eax, eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 4]
je 0x48c54a
xor edx, edx
cmp dword [ebx + 0xf78], edx
jne 0x48c4d9
cmp dword [ebx + 0xf90], edx
jne 0x48c4d9
cmp dword [ebx + 0x10b0], edx
je 0x48c4e2
mov dword [ebp + 8], 1
jmp 0x48c4fa
cmp dword [ebx + 0x1170], edx
je 0x48c4f7
cmp byte [edi + 0x1f], 0
mov dword [ebp + 8], 1
je 0x48c4fa
mov dword [ebp + 8], edx
movsx esi, word [ebx + 0xf18]
cmp esi, edx
mov dword [ebp - 0x18], edx
jle 0x48c545
lea ecx, [ebx + 0xf1a]
movzx eax, word [ecx]
cmp ax, dx
jge 0x48c527
movsx edx, word [edi - 4]
movsx eax, ax
neg eax
cmp edx, eax
je 0x48c540
xor edx, edx
jmp 0x48c534
cmp word [edi - 4], ax
jne 0x48c534
mov dword [ebp + 8], 1
inc dword [ebp - 0x18]
inc ecx
inc ecx
cmp dword [ebp - 0x18], esi
jl 0x48c50e
jmp 0x48c545
xor edx, edx
mov dword [ebp + 8], edx
cmp dword [ebp + 8], edx
jne 0x48c558
mov esi, dword [edi - 0x38]
mov eax, ebx
call fcn.004db543
test eax, eax
je 0x48c5b0
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f98b7
add esp, 0x10
test eax, eax
jne 0x48c594
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebx + 0x1c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f9a51
add esp, 0x20
test eax, eax
je 0x48c5ad
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1174]
lea esi, [ebx + 0x1c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
call fcn.004b24a9
test eax, eax
mov dword [ebp + 8], eax
jne 0x48c46a
cmp dword [ebp - 0x14], eax
jne 0x48c5cb
inc dword [ebp - 0x1c]
mov ax, word [ebp - 0x14]
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov word [edi], ax
mov ax, word [ebp - 0xc]
mov word [edi + 0x18], ax
mov eax, dword [ebp + 0xc]
add edi, 0x90
cmp ecx, dword [eax + 4]
mov dword [ebp - 4], edi
jl 0x48c43c
push dword [ebp - 8]
call fcn.004b2137
mov eax, dword [ebp - 0x1c]
pop ecx
jmp 0x48c605
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret