Function at 0x44b766
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd3c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x510]
push ebx
push esi
mov esi, dword [edx + 0x504]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x508]
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
jle 0x44b7a8
mov ecx, esi
mov eax, 0xffffff38
lea edi, [ebp - 0x230]
rep stosd dword es:[edi], eax
test esi, esi
jle 0x44b7e9
mov eax, 0xffffff38
mov ecx, esi
lea edi, [ebp - 0x12c]
rep stosd dword es:[edi], eax
xor eax, eax
test esi, esi
mov ecx, esi
lea edi, [ebp - 0x438]
rep stosd dword es:[edi], eax
jle 0x44b7e9
inc eax
test esi, esi
mov ecx, esi
lea edi, [ebp - 0x334]
rep stosd dword es:[edi], eax
jle 0x44b7e9
or eax, 0xffffffff
mov ecx, esi
lea edi, [ebp - 0x53c]
rep stosd dword es:[edi], eax
test esi, esi
jne 0x44b80f
push dword [ebp - 0x18]
lea esi, [ebp - 0xd3c]
push dword [ebp - 8]
xor eax, eax
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.0044b2e2
add esp, 0x14
mov dword [ebp - 4], eax
jmp 0x44b84f
xor edi, edi
dec esi
test esi, esi
mov dword [ebp - 0x1c], esi
jle 0x44bb49
lea esi, [ebp - 0xd3c]
jmp 0x44b828
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov eax, dword [edx + edi*4]
push dword [ebp - 8]
push dword [edx + edi*4 + 4]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.0044b2e2
add dword [ebp - 4], eax
add esp, 0x14
inc edi
add esi, 0x20
cmp edi, dword [ebp - 0x1c]
jl 0x44b825
cmp dword [ebp - 4], 0
je 0x44bb49
mov edi, dword [ebp - 0x10]
mov eax, 0xffffff38
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [edi - 1]
lea esi, [ebp - 0xc]
lea eax, [ebp - 0xd3c]
call fcn.0044b420
mov eax, dword [ebp - 0xc]
pop ecx
push 2
pop esi
cmp edi, esi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], esi
jle 0x44ba4e
mov eax, dword [ebp + 0xc]
add eax, 0x210
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 8], eax
shl eax, 2
mov ebx, dword [ebp + eax - 0x438]
mov edi, dword [ebp + eax - 0x334]
lea eax, [ebp + ebx*4 - 0x53c]
cmp dword [eax], edi
je 0x44ba35
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + ebx*4 + 0x208]
mov ecx, dword [ecx + edi*4 + 0x208]
mov dword [ebp - 0x20], ecx
mov dword [eax], edi
mov ecx, ebx
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x230]
call fcn.0044b74c
mov dword [ebp - 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x230]
call fcn.0044b74c
cmp dword [ebp - 0x14], 0xffffffff
je 0x44ba72
cmp eax, 0xffffffff
je 0x44ba72
mov ecx, dword [ebp - 0x18]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ecx + edi*4 + 0x344]
push dword [ecx + ebx*4 + 0x344]
call fcn.0044b579
add esp, 0x18
test eax, eax
je 0x44ba1c
mov ecx, dword [ebp - 8]
mov eax, 0xffffff38
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
sub ecx, esi
lea eax, [ebp - 0x28]
shl esi, 5
push eax
lea eax, [ebp + esi - 0xd3c]
lea esi, [ebp - 0x14]
call fcn.0044b420
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
shl eax, 5
lea eax, [ebp + eax - 0xd3c]
lea esi, [ebp - 0x24]
call fcn.0044b420
test ebx, ebx
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [ebp + ebx*4 - 0x12c], eax
jne 0x44b9b4
mov dword [ebp - 0x230], eax
cmp edi, 1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + edx*4 - 0x230], ecx
mov dword [ebp + edx*4 - 0x12c], esi
mov dword [ebp + edi*4 - 0x230], eax
jne 0x44b9e0
mov dword [ebp - 0x128], eax
test ecx, ecx
jge 0x44b9e8
test esi, esi
jl 0x44ba35
mov esi, dword [ebp - 8]
lea ecx, [esi - 1]
test ecx, ecx
jl 0x44ba02
lea eax, [ebp + ecx*4 - 0x334]
cmp dword [eax], edi
jne 0x44ba02
dec ecx
mov dword [eax], edx
jns 0x44b9f2
lea ecx, [esi + 1]
jmp 0x44ba15
lea eax, [ebp + ecx*4 - 0x438]
cmp dword [eax], ebx
jne 0x44ba35
mov dword [eax], edx
inc ecx
cmp ecx, dword [ebp - 0x10]
jl 0x44ba07
jmp 0x44ba35
mov eax, dword [ebp - 4]
shl eax, 2
mov ecx, 0xffffff38
mov dword [ebp + eax - 0x230], ecx
mov dword [ebp + eax - 0x12c], ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 4
cmp eax, dword [ebp - 0x10]
jl 0x44b8b4
mov edi, dword [ebp - 0x10]
push 2
pop esi
mov eax, edi
shl eax, 2
push eax
push dword [ebp + 8]
call fcn.004424ad
mov ebx, eax
mov eax, dword [ebp - 0x230]
test eax, eax
pop ecx
pop ecx
jge 0x44ba79
mov eax, dword [ebp - 0x12c]
jmp 0x44ba87
push 1
call fcn.00437681
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
jl 0x44ba87
add eax, ecx
sar eax, 1
mov dword [ebx], eax
mov eax, dword [ebp - 0x22c]
test eax, eax
jge 0x44ba9b
mov eax, dword [ebp - 0x128]
jmp 0x44baa9
mov ecx, dword [ebp - 0x128]
test ecx, ecx
jl 0x44baa9
add eax, ecx
sar eax, 1
cmp edi, esi
mov dword [ebx + 4], eax
mov dword [ebp - 4], esi
jle 0x44bb49
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
lea eax, [edi + 0x34c]
mov dword [ebp - 0xc], eax
add esi, 0x30c
mov eax, dword [esi + 0xfc]
mov edx, dword [edi + eax*4 + 0x344]
mov ecx, dword [esi]
mov eax, dword [ebx + eax*4]
mov dword [ebp + 0xc], edx
mov edx, dword [edi + ecx*4 + 0x344]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + ecx*4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
push edx
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0044b14a
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x230]
call fcn.0044b74c
test eax, eax
mov ecx, dword [ebp + 0xc]
jl 0x44bb2b
cmp ecx, eax
je 0x44bb2b
mov ecx, dword [ebp - 4]
mov dword [ebx + ecx*4], eax
jmp 0x44bb37
mov eax, dword [ebp - 4]
or ecx, 0x8000
mov dword [ebx + eax*4], ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 4
add esi, 4
cmp eax, dword [ebp - 0x10]
jl 0x44bacc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret