Function at 0x4b81d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x136c
call fcn.004a76f0
mov eax, edx
mov dword [esp + 0x14], ecx
push ebx
push esi
mov dword [esp + 0x20], eax
xor edx, edx
mov ebx, dword [eax + 0x504]
mov esi, dword [eax + 0x510]
mov ecx, dword [eax + 0x508]
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
push edi
test ebx, ebx
jle 0x4b83cc
lea esi, [ebx*4]
mov eax, 0xffffff38
mov ecx, esi
mov dword [esp + 0x2c], esi
shr ecx, 2
lea edi, [esp + 0x158]
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [esp + 0x50]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [esp + 0x368]
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [esp + 0x260]
shr ecx, 2
mov eax, 1
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [esp + 0x470]
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea edi, [ebx - 1]
mov dword [esp + 0xc], edi
xor esi, esi
test edi, edi
jle 0x4b87c3
lea edi, [esp + 0x578]
xor ebx, ebx
push dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push edi
push dword [eax + esi*4 + 4]
push dword [eax + esi*4]
call fcn.004b6bc0
mov ecx, dword [esp + 0x28]
inc esi
add esp, 0x14
add ebx, eax
add edi, 0x38
cmp esi, dword [esp + 0xc]
jl 0x4b8292
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b87c1
push esi
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0xffffff38
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffff38
push eax
mov edx, edi
lea ecx, [esp + 0x584]
call fcn.004b68f0
mov edi, dword [esp + 0x20]
mov esi, 2
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x158], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x15c], eax
cmp ebx, esi
jle 0x4b8609
mov edx, dword [esp + 0x24]
lea eax, [edx + 0x210]
mov dword [esp + 0xc], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [eax]
mov ecx, dword [esp + eax*4 + 0x368]
mov eax, dword [esp + eax*4 + 0x260]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], eax
cmp dword [esp + ecx*4 + 0x470], eax
je 0x4b85e8
mov edi, dword [edx + ecx*4 + 0x208]
mov edx, dword [edx + eax*4 + 0x208]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + ecx*4 + 0x470], eax
mov dword [esp + 0x3c], edi
mov ebx, dword [edx + ecx*4 + 0x344]
mov edx, dword [edx + eax*4 + 0x344]
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov edx, dword [esp + ecx*4 + 0x158]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx]
mov dword [esp + 0x44], ecx
test edx, edx
js 0x4b8414
test ebx, ebx
jns 0x4b8410
mov ebx, edx
jmp 0x4b8414
lea eax, [ebx*4]
mov dword [esp + 0x2c], eax
lea edi, [ebx - 1]
mov dword [esp + 0xc], edi
test ebx, ebx
jne 0x4b827f
mov edx, dword [ebp + 8]
lea eax, [esp + 0x578]
push esi
push ecx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.004b6bc0
lea ecx, [ebx*4]
add esp, 0x14
mov dword [esp + 0x2c], ecx
jmp 0x4b82d5
add ebx, edx
sar ebx, 1
mov edi, dword [esp + eax*4 + 0x50]
lea ecx, [esp + 0x158]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ecx]
test ecx, ecx
js 0x4b8438
test edi, edi
jns 0x4b8434
mov edi, ecx
jmp 0x4b8438
add edi, ecx
sar edi, 1
cmp ebx, 0xffffffff
je 0x4b87cc
cmp edi, 0xffffffff
je 0x4b87cc
push dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push dword [ebp + 8]
mov ecx, dword [esp + 0x20]
push dword [ebp + 0xc]
push edi
push ebx
call fcn.004b66b0
add esp, 0x14
test eax, eax
je 0x4b85cd
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0xffffff38
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], 0xffffff38
mov dword [esp + 0x20], 0xffffff38
mov dword [esp + 0x24], 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.004b68f0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x10], eax
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
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.004b68f0
add esp, 0xc
mov edx, eax
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
je 0x4b8511
mov ecx, eax
jmp 0x4b8519
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
test edx, edx
je 0x4b8527
mov dword [esp + 0x14], ecx
jmp 0x4b852b
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x10], 0
je 0x4b853a
test edx, edx
jne 0x4b85cd
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
test edx, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x158]
cmove eax, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + esi*4 + 0x158], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, 1
mov dword [esp + esi*4 + 0x50], ebx
mov dword [eax], edi
mov eax, dword [esp + 0x54]
cmove eax, edi
cmp dword [esp + 0x30], 0
mov dword [esp + 0x54], eax
jge 0x4b8589
test ebx, ebx
js 0x4b85e0
mov eax, dword [esp + 0xc]
mov ebx, dword [eax]
lea eax, [ebx - 1]
test eax, eax
js 0x4b85ab
cmp dword [esp + eax*4 + 0x260], ecx
jne 0x4b85ab
mov dword [esp + eax*4 + 0x260], esi
sub eax, 1
jns 0x4b8596
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x28]
cmp eax, ebx
jge 0x4b85e4
cmp dword [esp + eax*4 + 0x368], edx
jne 0x4b85e4
mov dword [esp + eax*4 + 0x368], esi
inc eax
cmp eax, ebx
jl 0x4b85b6
jmp 0x4b85e4
mov dword [esp + esi*4 + 0x50], 0xffffff38
mov dword [esp + esi*4 + 0x158], 0xffffff38
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
inc esi
add eax, 4
mov dword [esp + 0xc], eax
cmp esi, ebx
jl 0x4b8350
mov esi, dword [esp + 0x15c]
mov edi, dword [esp + 0x50]
jmp 0x4b860d
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
add ecx, 7
and ecx, 0xfffffff8
mov edx, dword [eax + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x4c]
jle 0x4b8679
mov edx, ebx
cmp dword [edx + 0x44], 0
je 0x4b865e
push 8
call fcn.0049c481
mov edx, ebx
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 + 0x10]
mov dword [edx + 0x54], eax
push ecx
mov dword [edx + 0x4c], ecx
call fcn.0049c481
mov ecx, ebx
add esp, 4
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [ecx + 0x44], eax
mov ecx, dword [esp + 0x10]
mov eax, ebx
add edx, dword [eax + 0x44]
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0xc], edx
cmp dword [esp + 0x158], 0
mov ecx, ebx
mov dword [ecx + 0x48], eax
jl 0x4b86ad
test edi, edi
jns 0x4b86a4
mov edi, dword [esp + 0x158]
jmp 0x4b86ad
add edi, dword [esp + 0x158]
sar edi, 1
mov dword [edx], edi
test esi, esi
jns 0x4b86b9
mov esi, dword [esp + 0x54]
jmp 0x4b86c6
cmp dword [esp + 0x54], 0
jl 0x4b86c6
add esi, dword [esp + 0x54]
sar esi, 1
cmp dword [esp + 0x28], 2
mov dword [edx + 4], esi
mov dword [esp + 0x10], 2
jle 0x4b87c3
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add edx, 0x30c
mov dword [esp + 0x18], edx
lea ecx, [ebx + 0x34c]
mov dword [esp + 0x2c], ecx
nop dword [eax + eax]
mov eax, dword [edx + 0xfc]
mov esi, dword [edx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edi, dword [ebx + eax*4 + 0x344]
sub ecx, edi
mov eax, dword [edx + eax*4]
mov ebx, dword [edx + esi*4]
and eax, 0x7fff
mov dword [esp + 0x34], eax
and ebx, 0x7fff
sub ebx, eax
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4 + 0x344]
sub ecx, edi
cdq
idiv ecx
mov edx, dword [esp + 0x34]
lea ecx, [eax + edx]
sub edx, eax
test ebx, ebx
cmovns edx, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + ecx*4 + 0x158]
test eax, eax
jns 0x4b876b
mov eax, dword [esp + ecx*4 + 0x50]
jmp 0x4b8777
mov esi, dword [esp + ecx*4 + 0x50]
test esi, esi
js 0x4b877b
add eax, esi
sar eax, 1
test eax, eax
js 0x4b877f
cmp edx, eax
jne 0x4b8786
mov eax, edx
or eax, 0x8000
mov edx, dword [esp + 0xc]
add dword [esp + 0x2c], 4
mov ebx, dword [esp + 0x1c]
mov dword [edx + ecx*4], eax
inc ecx
mov edx, dword [esp + 0x18]
add edx, 4
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
jl 0x4b8700
mov edx, dword [esp + 0xc]
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.0049cf1c
int3