Function at 0x4b43e5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
mov ebx, dword [edi + 0xc]
push esi
push 0x1a
pop eax
mov ecx, ebx
mov dword [ebp - 0x18], ebx
call fcn.004a331a
push esi
push 1
mov dword [ebp - 0x1c], eax
push 7
pop eax
mov ecx, ebx
call fcn.004a332b
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x1c]
imul ebx, ebx, 0x28
add ebx, edx
xor ecx, ecx
mov esi, edx
add esp, 0xc
mov dword [ebp - 0x20], ecx
cmp esi, ebx
jae 0x4b44a0
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
call fcn.004a672d
pop ecx
pop ecx
test eax, eax
je 0x4b4493
mov ecx, dword [esi + 0xc]
cmp ecx, 0x40
jl 0x4b446b
and dword [ebp - 0x34], 0
mov edx, 0x80000000
jmp 0x4b4478
xor eax, eax
inc eax
xor edx, edx
call fcn.004ddd00
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x24]
mov eax, edx
and eax, dword [ebp - 0x20]
or ecx, eax
jne 0x4b4493
mov eax, dword [ebp - 0x34]
inc dword [ebp - 4]
or dword [ebp - 0x24], eax
or dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
add esi, 0x28
cmp esi, ebx
jb 0x4b4445
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0x1c]
mov dword [esi + 4], edx
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
not eax
and eax, edx
mov edx, dword [ebp - 0x28]
not ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
or ecx, 0x80000000
and ecx, edx
cmp eax, 0x3f
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x3f
jge 0x4b44e4
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
jle 0x4b4519
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
xor edx, edx
call fcn.004ddd00
and eax, dword [ebp - 0x34]
and edx, dword [ebp - 0x30]
or eax, edx
je 0x4b4508
inc dword [ebp - 4]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jl 0x4b44ee
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
and edx, 0x80000000
xor ecx, ecx
or ecx, edx
je 0x4b452f
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x3f]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
or dword [esi], 0x810002
imul eax, eax, 9
add eax, 0x34
push eax
mov eax, dword [edi]
call fcn.004a71aa
mov edi, eax
pop ecx
test edi, edi
je 0x4b475b
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], edi
lea eax, [edi + 0x34]
mov dword [edi + 0x2c], eax
lea eax, [eax + ecx*4]
mov dword [edi + 8], eax
lea eax, [eax + ecx*4]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], str.auto_index
mov dword [edi + 4], ecx
mov eax, dword [eax + 0x1c]
mov dword [ebp + 0xc], eax
cmp eax, ebx
jae 0x4b463e
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.004a672d
pop ecx
pop ecx
test eax, eax
je 0x4b4631
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp ecx, 0x40
mov dword [ebp - 0x14], ecx
jl 0x4b45ca
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x80000000
jmp 0x4b45dd
xor eax, eax
inc eax
xor edx, edx
call fcn.004ddd00
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
and eax, dword [ebp - 0x24]
and edx, dword [ebp - 0x20]
or eax, edx
jne 0x4b4631
mov edx, dword [ebp - 0x2c]
or dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x28]
or dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [edi + 8]
mov esi, dword [ebp - 8]
mov dword [edx + esi*4], ecx
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
call fcn.004af2f9
test eax, eax
je 0x4b461d
mov eax, dword [eax]
jmp 0x4b4622
mov eax, 0x5021c8
mov edx, dword [ebp - 8]
mov ecx, dword [edi + 0x2c]
inc dword [ebp - 8]
mov esi, dword [ebp + 0x1c]
mov dword [ecx + edx*4], eax
add dword [ebp + 0xc], 0x28
cmp dword [ebp + 0xc], ebx
jb 0x4b4594
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
jle 0x4b467a
xor eax, eax
inc eax
xor edx, edx
mov ecx, ebx
call fcn.004ddd00
and eax, dword [ebp - 0x34]
and edx, dword [ebp - 0x30]
or eax, edx
je 0x4b4674
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 8]
shl eax, 2
inc dword [ebp - 8]
mov dword [eax + ecx], ebx
mov ecx, dword [edi + 0x2c]
mov dword [eax + ecx], 0x5021c8
inc ebx
cmp ebx, dword [ebp - 0xc]
jl 0x4b4645
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2c]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x4b46b6
mov edx, dword [ebp - 0x10]
push 0x3f
pop ecx
cmp dword [edx + 8], ecx
jle 0x4b46b6
mov eax, dword [ebp - 8]
shl eax, 2
mov ebx, dword [edi + 8]
mov dword [eax + ebx], ecx
mov ebx, dword [edi + 0x2c]
mov dword [eax + ebx], 0x5021c8
add eax, 4
inc ecx
cmp ecx, dword [edx + 8]
jl 0x4b469d
push edi
push dword [ebp + 8]
call fcn.004aff9a
mov ebx, dword [ebp - 0x18]
push 0xfffffffffffffff0
push eax
mov eax, dword [ebp - 4]
push 0
inc eax
push eax
push dword [esi + 0x20]
push ebx
push 0x28
pop eax
call fcn.004a7b0b
push dword [esi + 0x1c]
mov ecx, ebx
push 0x41
pop eax
call fcn.004a331a
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
call fcn.0049daa9
push 1
push eax
push dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
push edi
push dword [ebp + 8]
call fcn.004b3997
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esi + 0x20]
push 0x46
pop eax
call fcn.004a332b
add esp, 0x40
mov dl, 0x10
mov ecx, ebx
call fcn.0049cac8
mov edi, dword [ebp + 0xc]
lea eax, [edi + 1]
push eax
push dword [esi + 0x1c]
mov ecx, ebx
push 0x43
pop eax
call fcn.004a332b
pop ecx
pop ecx
mov dl, 3
mov ecx, ebx
call fcn.0049cac8
mov eax, edi
mov ecx, ebx
call fcn.0049cada
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
call fcn.0049dac4
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0049cada
pop edi
pop esi
pop ebx
leave
ret