Function at 0x46a58d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
mov ebx, ecx
xor eax, eax
push edi
mov esi, edx
mov dword [ebp - 0x18], ebx
push 0x14
mov edi, dword [ebx + 8]
mov ecx, edi
pop edx
mov dword [ebp - 0x40], esi
mov byte [ebp - 1], al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], edi
call fcn.00439d70
mov esi, dword [esi + 0x14]
xorps xmm0, xmm0
and dword [ebp - 8], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
imul edx, dword [eax + 0xc], 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x40]
add edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x14], ecx
cmp esi, edx
jae 0x46a72d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], ecx
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x46a648
test byte [esi + 0xa], 2
jne 0x46a648
test byte [ecx + 4], 1
jne 0x46a648
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call fcn.00448c01
test eax, eax
je 0x46a648
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebx]
push 0
call fcn.00448437
mov edx, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebx]
push eax
call fcn.00447e48
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0046a52b
pop ecx
pop ecx
test eax, eax
je 0x46a716
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x4c], ecx
cmp ecx, 0x40
jl 0x46a67a
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x80000000
jmp 0x46a69a
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [ebp - 0x2c], ecx
cmovae edx, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
cmp byte [ebp - 1], 0
jne 0x46a6c3
mov edx, dword [ebp - 0x28]
add ecx, ecx
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00424723
add esp, 0x10
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
and eax, edx
and ecx, dword [ebp - 0xc]
or ecx, eax
jne 0x46a719
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
inc eax
mov ecx, dword [ebx]
push eax
mov dword [ebp - 0x4c], eax
call fcn.0046aec9
pop ecx
test eax, eax
jne 0x46ab27
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x2c]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
jmp 0x46a71f
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add esi, 0x30
cmp esi, dword [ebp - 0x38]
jb 0x46a602
jmp 0x46a733
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 8]
not eax
mov word [ecx + 0x28], si
not edx
mov word [ecx + 0x18], si
or edx, 0x80000000
mov esi, dword [ebp + 8]
mov dword [ecx + 0x24], 0x4241
push 0x3f
and eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
and edx, ecx
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x4c], ecx
movzx edx, word [eax + 0x2a]
pop eax
mov dword [ebp - 0x44], edx
cmp ax, dx
jge 0x46a77c
mov dword [ebp - 0x24], eax
jmp 0x46a786
movsx eax, dx
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x46a7c0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0xc]
and ecx, ebx
or edx, ecx
je 0x46a7af
inc dword [ebp - 8]
inc esi
cmp esi, edi
jl 0x46a78c
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
mov ecx, dword [ebp - 8]
je 0x46a7da
movsx eax, dx
add ecx, 0xffffffc1
add ecx, eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x4c]
push eax
lea edx, [ecx + 1]
mov ecx, dword [ebx]
push 0
call fcn.00450f83
mov esi, eax
mov dword [ebp - 0x2c], esi
pop ecx
pop ecx
test esi, esi
je 0x46ab27
mov eax, dword [ebp - 0x14]
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [eax + 0x20], esi
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esi], str.auto_index
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jae 0x46a8e6
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x30], ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.0046a52b
pop ecx
pop ecx
test eax, eax
je 0x46a8ce
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
xor eax, eax
cmp ecx, 0x40
jl 0x46a863
mov edx, 0x80000000
jmp 0x46a876
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
mov ecx, eax
mov dword [ebp - 0x44], eax
and ecx, dword [ebp - 0x30]
mov eax, edx
and eax, dword [ebp - 0x34]
or ecx, eax
mov dword [ebp - 0x4c], edx
jne 0x46a8ce
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ax, word [eax + 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 4]
mov word [ecx + ebx*2], ax
mov ecx, esi
push dword [edx + 0x10]
mov edx, dword [edx + 0xc]
call fcn.00447794
pop ecx
test eax, eax
je 0x46a8c2
mov ecx, dword [eax]
jmp 0x46a8c7
mov ecx, 0x4a7c84
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov eax, dword [ebp - 0x20]
add eax, 0x30
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jb 0x46a839
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x24], 0
jle 0x46a92f
mov edi, dword [ebp - 0x4c]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x10]
or edx, ecx
je 0x46a926
mov eax, dword [esi + 4]
mov word [eax + ebx*2], di
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], 0x4a7c84
inc ebx
inc edi
cmp edi, dword [ebp - 0x24]
jl 0x46a8f3
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
xor eax, eax
and ecx, 0x80000000
or eax, ecx
je 0x46a968
mov edx, dword [ebp - 0x28]
push 0x3f
pop ecx
cmp cx, word [edx + 0x2a]
jge 0x46a968
mov eax, dword [esi + 4]
mov word [eax + ebx*2], cx
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], 0x4a7c84
inc ebx
movsx eax, word [edx + 0x2a]
inc ecx
cmp ecx, eax
jl 0x46a94d
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov word [eax + ebx*2], cx
mov eax, dword [esi + 0x20]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [eax + ebx*4], 0x4a7c84
mov eax, dword [esi + 0x28]
mov dword [ecx + 8], eax
inc dword [esi + 0x28]
mov eax, dword [ebp - 8]
inc eax
push eax
push dword [ecx + 8]
mov ecx, edi
push 0x6b
pop edx
call fcn.00439d92
mov edx, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, esi
call fcn.0043a4f7
mov ecx, esi
call fcn.0044a09e
mov ecx, dword [ebp + 0x14]
movzx eax, byte [ecx + 0x2c]
imul esi, eax, 0x50
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
test byte [esi + eax + 0x30], 0x10
je 0x46aa0e
mov esi, dword [esi + eax + 0x24]
mov ecx, edi
push 0
push 0
push 0x38
pop edx
call fcn.00439d92
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
push dword [eax + ecx + 0x20]
mov ecx, edi
push 0
push esi
push 0xf
pop edx
call fcn.00439d0e
add esp, 0x14
mov ecx, edi
push esi
push 0x10
pop edx
call fcn.00439d7e
mov esi, dword [ebp - 0x4c]
jmp 0x46aa1b
push dword [ecx + 4]
mov ecx, edi
push 0x25
pop edx
call fcn.00439d7e
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 8], eax
pop ecx
je 0x46aa4a
mov ecx, edi
call fcn.00439f5e
push 0x10
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x18]
call fcn.0044b5f2
mov eax, dword [ebp - 0x14]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [ebp - 0x18]
call fcn.0044bffb
xor edx, edx
mov dword [ebp - 0x4c], eax
push edx
push edx
push edx
push edx
mov edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.00453b52
push dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov ecx, edi
mov eax, dword [ebp + 0x14]
push dword [eax + 8]
push 0x7e
pop edx
call fcn.00439d92
add esp, 0x20
mov ecx, edi
push 0x10
pop edx
call fcn.0043a22b
cmp dword [ebp - 0x1c], 0
je 0x46aa9b
mov edx, dword [ebp - 0x54]
call fcn.00439fa0
mov eax, dword [ebp - 0x40]
mov ecx, edi
test byte [esi + eax + 0x30], 0x10
je 0x46aae4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
add eax, ebx
push eax
call fcn.0043a20b
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x18]
push 1
push dword [esi + ebx + 0x28]
push dword [eax + 4]
call fcn.0046a4ac
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, edi
call fcn.00439da7
and dword [esi + ebx + 0x30], 0xffffffef
jmp 0x46aaf9
mov eax, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
push 7
pop edx
call fcn.00439d92
pop ecx
pop ecx
push 3
pop edx
mov ecx, edi
call fcn.0043a22b
mov edx, dword [ebp + 8]
call fcn.0043a243
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
mov edx, dword [ebp - 0x4c]
call fcn.0044c01a
call fcn.0044a0a2
mov edx, dword [ebp - 0x5c]
mov ecx, edi
call fcn.0043a243
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
call fcn.004480e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret