Function at 0x467307
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.0045623c
push esi
push 1
mov dword [ebp - 0x1c], eax
push 7
pop eax
mov ecx, ebx
call fcn.0045624d
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 0x4673c2
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
call fcn.0045964f
pop ecx
pop ecx
test eax, eax
je 0x4673b5
mov ecx, dword [esi + 0xc]
cmp ecx, 0x40
jl 0x46738d
and dword [ebp - 0x34], 0
mov edx, 0x80000000
jmp 0x46739a
xor eax, eax
inc eax
xor edx, edx
call fcn.00490120
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 0x4673b5
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 0x467367
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 0x467406
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
jle 0x46743b
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
xor edx, edx
call fcn.00490120
and eax, dword [ebp - 0x34]
and edx, dword [ebp - 0x30]
or eax, edx
je 0x46742a
inc dword [ebp - 4]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jl 0x467410
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
and edx, 0x80000000
xor ecx, ecx
or ecx, edx
je 0x467451
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.0045a0cc
mov edi, eax
pop ecx
test edi, edi
je 0x46767d
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 0x467560
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.0045964f
pop ecx
pop ecx
test eax, eax
je 0x467553
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp ecx, 0x40
mov dword [ebp - 0x14], ecx
jl 0x4674ec
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x80000000
jmp 0x4674ff
xor eax, eax
inc eax
xor edx, edx
call fcn.00490120
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 0x467553
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.0046221b
test eax, eax
je 0x46753f
mov eax, dword [eax]
jmp 0x467544
mov eax, 0x4b20b0
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 0x4674b6
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
jle 0x46759c
xor eax, eax
inc eax
xor edx, edx
mov ecx, ebx
call fcn.00490120
and eax, dword [ebp - 0x34]
and edx, dword [ebp - 0x30]
or eax, edx
je 0x467596
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], 0x4b20b0
inc ebx
cmp ebx, dword [ebp - 0xc]
jl 0x467567
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2c]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x4675d8
mov edx, dword [ebp - 0x10]
push 0x3f
pop ecx
cmp dword [edx + 8], ecx
jle 0x4675d8
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], 0x4b20b0
add eax, 4
inc ecx
cmp ecx, dword [edx + 8]
jl 0x4675bf
push edi
push dword [ebp + 8]
call fcn.00462ebc
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.0045aa2d
push dword [esi + 0x1c]
mov ecx, ebx
push 0x41
pop eax
call fcn.0045623c
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
call fcn.004509cb
push 1
push eax
push dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
push edi
push dword [ebp + 8]
call fcn.004668b9
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esi + 0x20]
push 0x46
pop eax
call fcn.0045624d
add esp, 0x40
mov dl, 0x10
mov ecx, ebx
call fcn.0044f9e9
mov edi, dword [ebp + 0xc]
lea eax, [edi + 1]
push eax
push dword [esi + 0x1c]
mov ecx, ebx
push 0x43
pop eax
call fcn.0045624d
pop ecx
pop ecx
mov dl, 3
mov ecx, ebx
call fcn.0044f9e9
mov eax, edi
mov ecx, ebx
call fcn.0044f9fb
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
call fcn.004509e6
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0044f9fb
pop edi
pop esi
pop ebx
leave
ret