Function at 0x48b290
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x136c
call fcn.0046c2a0
push ebx
mov ebx, dword [edx + 0x504]
xor eax, eax
push esi
mov esi, dword [edx + 0x510]
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], ebx
push edi
test ebx, ebx
jle 0x48b310
mov eax, 0xffffff38
lea edi, [esp + 0x158]
mov ecx, ebx
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x260]
mov ecx, ebx
rep stosd dword es:[edi], eax
test ebx, ebx
jle 0x48b310
mov eax, 1
lea edi, [esp + 0x368]
mov ecx, ebx
rep stosd dword es:[edi], eax
or eax, 0xffffffff
lea edi, [esp + 0x470]
mov ecx, ebx
test ebx, ebx
rep stosd dword es:[edi], eax
jne 0x48b339
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push esi
mov eax, dword [ecx + 0x508]
lea ecx, [esp + 0x57c]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push 0
call fcn.0048a670
add esp, 0x14
jmp 0x48b393
lea eax, [ebx - 1]
xor esi, esi
mov dword [esp + 0xc], eax
test eax, eax
jle 0x48b85c
lea edi, [esp + 0x578]
xor ebx, ebx
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push dword [eax + 0x508]
push edi
push dword [eax + esi*4 + 4]
push dword [eax + esi*4]
call fcn.0048a670
inc esi
add esp, 0x14
add ebx, eax
add edi, 0x38
cmp esi, dword [esp + 0xc]
jl 0x48b353
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x48b85a
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffff38
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0xffffff38
lea edx, [ebx - 1]
push eax
lea ecx, [esp + 0x584]
call fcn.0048a3b0
mov eax, dword [esp + 0x1c]
mov esi, 2
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x158], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x15c], edi
cmp ebx, esi
jle 0x48b6a3
mov edx, dword [esp + 0x1c]
lea eax, [edx + 0x210]
mov dword [esp + 0x18], eax
jmp 0x48b410
mov eax, dword [eax]
mov ecx, dword [esp + eax*4 + 0x260]
mov eax, dword [esp + eax*4 + 0x368]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], eax
cmp dword [esp + ecx*4 + 0x470], eax
je 0x48b682
mov edi, dword [edx + ecx*4 + 0x208]
mov edx, dword [edx + eax*4 + 0x208]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], edi
mov dword [esp + ecx*4 + 0x470], eax
mov edi, dword [edx + ecx*4 + 0x344]
mov dword [esp + 0x24], edi
mov edi, dword [edx + eax*4 + 0x344]
mov dword [esp + 0x28], edi
mov edi, dword [esp + ecx*4 + 0x158]
test edi, edi
jns 0x48b48b
lea edx, [esp + 0x50]
mov edi, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
jmp 0x48b49d
lea ecx, [esp + ecx*4 + 0x50]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx]
test ecx, ecx
js 0x48b49d
add edi, ecx
sar edi, 1
lea ecx, [eax*4]
lea eax, [esp + 0x158]
add eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
jns 0x48b4c1
mov eax, dword [esp + ecx + 0x50]
jmp 0x48b4cd
mov ecx, dword [esp + ecx + 0x50]
test ecx, ecx
js 0x48b4d1
add eax, ecx
sar eax, 1
mov dword [esp + 0x10], eax
cmp edi, 0xffffffff
je 0x48b865
cmp eax, 0xffffffff
je 0x48b865
mov ecx, dword [esp + 0x24]
push edx
push dword [ebp + 8]
mov edx, dword [esp + 0x30]
push dword [ebp + 0xc]
push eax
push edi
call fcn.0048a190
add esp, 0x14
test eax, eax
je 0x48b66b
push dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0xffffff38
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], 0xffffff38
mov dword [esp + 0x3c], 0xffffff38
mov dword [esp + 0x30], 0xffffff38
mov edx, dword [eax]
lea eax, [ecx*8]
sub eax, ecx
sub edx, ecx
lea ecx, [esp + 0x584]
lea ecx, [ecx + eax*8]
call fcn.0048a3b0
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x28], eax
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
sub edx, eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x584]
lea ecx, [eax + ecx*8]
call fcn.0048a3b0
mov ecx, eax
add esp, 0xc
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
je 0x48b5ab
mov edx, eax
jmp 0x48b5b3
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x48b5c5
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
jmp 0x48b5c9
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
je 0x48b5db
cmp dword [esp + 0x38], 0
jne 0x48b66b
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0xc], 0
mov dword [eax], edi
mov eax, dword [esp + 0x158]
cmove eax, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x44]
mov dword [esp + esi*4 + 0x158], edx
mov edx, dword [esp + 0x4c]
cmp edx, 1
mov dword [esp + esi*4 + 0x50], edi
mov dword [eax], ecx
mov eax, dword [esp + 0x54]
cmove eax, ecx
cmp dword [esp + 0x20], 0
mov dword [esp + 0x54], eax
jge 0x48b629
test edi, edi
js 0x48b67e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea eax, [ecx - 1]
test eax, eax
js 0x48b649
cmp dword [esp + eax*4 + 0x368], edx
jne 0x48b649
mov dword [esp + eax*4 + 0x368], esi
dec eax
jns 0x48b636
lea eax, [ecx + 1]
cmp eax, ebx
jge 0x48b67e
mov ecx, dword [esp + 0xc]
cmp dword [esp + eax*4 + 0x260], ecx
jne 0x48b67e
mov dword [esp + eax*4 + 0x260], esi
inc eax
cmp eax, ebx
jl 0x48b654
jmp 0x48b67e
mov dword [esp + esi*4 + 0x50], 0xffffff38
mov dword [esp + esi*4 + 0x158], 0xffffff38
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebx
jl 0x48b410
mov edi, dword [esp + 0x15c]
mov esi, dword [esp + 0x50]
jmp 0x48b6a7
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
lea ecx, [ebx*4 + 7]
and ecx, 0xfffffff8
mov dword [esp + 0xc], ecx
mov eax, dword [edx + 0x48]
add eax, ecx
cmp eax, dword [edx + 0x4c]
jle 0x48b70d
cmp dword [edx + 0x44], 0
je 0x48b6ef
push 8
call fcn.00469c6d
mov edx, dword [esp + 0x38]
add esp, 4
mov ecx, dword [edx + 0x48]
add dword [edx + 0x50], ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x54], eax
push ecx
mov dword [edx + 0x4c], ecx
call fcn.00469c6d
mov edx, dword [esp + 0x38]
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], 0
mov eax, dword [edx + 0x48]
mov edx, dword [edx + 0x44]
add edx, eax
add eax, ecx
cmp dword [esp + 0x158], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov dword [ecx + 0x48], eax
jl 0x48b742
test esi, esi
jns 0x48b739
mov esi, dword [esp + 0x158]
jmp 0x48b742
add esi, dword [esp + 0x158]
sar esi, 1
mov dword [edx], esi
test edi, edi
jns 0x48b74e
mov edi, dword [esp + 0x54]
jmp 0x48b75b
cmp dword [esp + 0x54], 0
jl 0x48b75b
add edi, dword [esp + 0x54]
sar edi, 1
mov dword [edx + 4], edi
mov dword [esp + 0x28], 2
cmp ebx, 2
jle 0x48b85c
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add ecx, 0x30c
mov dword [esp + 0x24], ecx
lea eax, [ebx + 0x34c]
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0xfc]
mov esi, dword [ecx]
mov ecx, dword [esp + 0x10]
mov edi, dword [ebx + eax*4 + 0x344]
mov eax, dword [edx + eax*4]
mov ebx, dword [edx + esi*4]
and eax, 0x7fff
mov ecx, dword [ecx]
and ebx, 0x7fff
sub ebx, eax
mov dword [esp + 0xc], eax
mov eax, ebx
sub ecx, edi
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + esi*4 + 0x344]
sub ecx, edi
cdq
idiv ecx
mov ecx, eax
mov eax, dword [esp + 0xc]
test ebx, ebx
jns 0x48b7e8
sub eax, ecx
jmp 0x48b7ea
add eax, ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + edx*4 + 0x158]
test ecx, ecx
jns 0x48b7ff
mov ecx, dword [esp + edx*4 + 0x50]
jmp 0x48b80b
mov esi, dword [esp + edx*4 + 0x50]
test esi, esi
js 0x48b80b
add ecx, esi
sar ecx, 1
test ecx, ecx
js 0x48b81d
cmp eax, ecx
je 0x48b81d
mov eax, dword [esp + 0x2c]
mov dword [eax + edx*4 - 8], ecx
jmp 0x48b82a
mov ecx, dword [esp + 0x2c]
or eax, 0x8000
mov dword [ecx + edx*4 - 8], eax
mov ecx, dword [esp + 0x24]
inc edx
add dword [esp + 0x10], 4
add ecx, 4
cmp edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
jl 0x48b792
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call fcn.00467df0
int3