Function at 0x10070a04
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor ecx, ecx
mov dword [esp + 0x48], ebx
push ecx
push ecx
mov esi, dword [edi + 8]
push ecx
mov byte [esp + 0x1f], cl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov ecx, esi
push 0x11
pop edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], esi
call fcn.1003b08d
mov ecx, dword [ebp + 8]
add esp, 0xc
mov ebx, dword [ebx + 0x14]
and dword [esp + 0x18], 0
and dword [esp + 0x24], 0
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
imul eax, dword [eax + 0xc], 0x30
add eax, ebx
and dword [esp + 0x28], 0
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x2c], edx
jmp 0x10070c6f
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x10070b88
test byte [ebx + 0xa], 2
jne 0x10070b88
mov eax, dword [ebx]
mov dword [esp + 0x50], eax
test byte [eax + 4], 1
jne 0x10070b88
push dword [ecx + 0x2c]
mov ecx, eax
push 3
pop edx
call fcn.1004aaaa
pop ecx
test eax, eax
je 0x10070b88
mov edx, dword [esp + 0x50]
mov ecx, dword [edi]
push 0
push 0
call fcn.10049edc
mov edx, dword [esp + 0x28]
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
test edx, edx
jne 0x10070aeb
mov dword [esp + 0x20], ecx
jmp 0x10070b88
test ecx, ecx
je 0x10070b88
mov eax, dword [edx + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x10070b1f
mov eax, dword [ecx + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x10070b1f
push ecx
push edx
push 0x2c
pop edx
mov ecx, edi
call fcn.10049a5a
jmp 0x10070b82
cmp byte [edi + 0xc0], 2
jb 0x10070b5b
xor eax, eax
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], 0x1004ed3a
mov dword [esp + 0x6c], 0x1004ed4f
call fcn.10047242
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
call fcn.10049d39
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.10049deb
mov ecx, dword [esp + 0x4c]
mov edx, 0x93
push 0
push 0x1008ea90
call fcn.10049898
pop ecx
mov dword [esp + 0x24], eax
pop ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.100709a6
pop ecx
pop ecx
test eax, eax
je 0x10070c65
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x44], eax
cmp eax, 0x40
jl 0x10070bbd
and dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x80000000
jmp 0x10070bd7
mov ecx, dword [esp + 0x44]
xor eax, eax
inc eax
xor edx, edx
call fcn.10086cf0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], edx
cmp byte [esp + 0x13], 0
jne 0x10070c03
mov edx, dword [esp + 0x30]
add eax, eax
mov ecx, dword [edx + 4]
push dword [ecx + eax*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.10025979
add esp, 0x10
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x28]
or ecx, eax
mov edx, dword [esp + 0x2c]
jne 0x10070c69
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
inc eax
push eax
mov dword [esp + 0x54], eax
call fcn.10071486
pop ecx
test eax, eax
jne 0x100710dd
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x30]
mov dword [eax + ecx*4], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
or eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
jmp 0x10070c69
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
add ebx, 0x30
cmp ebx, dword [esp + 0x38]
jb 0x10070a82
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov ecx, dword [esp + 0x28]
movzx eax, ax
not ecx
mov word [edx + 0x28], ax
or ecx, 0x80000000
mov word [edx + 0x18], ax
mov eax, dword [ebp + 8]
mov dword [edx + 0x24], 0x4241
mov edx, dword [esp + 0x24]
not edx
and edx, dword [eax + 0x38]
and ecx, dword [eax + 0x3c]
mov eax, dword [esp + 0x30]
push 0x3f
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
movzx edx, word [eax + 0x2a]
pop ecx
mov dword [esp + 0x50], edx
movzx eax, dx
cmp cx, dx
jge 0x10070cd1
mov dword [esp + 0x3c], ecx
jmp 0x10070cdf
movsx ecx, dx
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp cx, ax
jge 0x10070d15
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
xor eax, eax
xor edx, edx
inc eax
mov ecx, ebx
call fcn.10086cf0
and eax, dword [esp + 0x24]
and edx, dword [esp + 0x28]
or eax, edx
je 0x10070d00
inc edi
inc ebx
cmp ebx, esi
jl 0x10070ce7
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x54]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x3c], ebx
jg 0x10070d36
jl 0x10070d26
cmp dword [eax + 0x38], ebx
jae 0x10070d36
mov ecx, dword [esp + 0x18]
movsx eax, dx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x50]
mov ecx, dword [edi]
push eax
push ebx
lea edx, [edx + 1]
call fcn.10054853
mov dword [esp + 0x24], eax
pop ecx
pop ecx
test eax, eax
je 0x100710dd
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
and dword [esp + 0x40], ebx
and dword [esp + 0x44], ebx
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x30]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x38]
jae 0x10070e48
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.100709a6
pop ecx
pop ecx
test eax, eax
je 0x10070e2f
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x40
jl 0x10070dbe
xor ecx, ecx
mov edx, 0x80000000
mov dword [esp + 0x4c], ecx
jmp 0x10070dd2
xor eax, eax
xor edx, edx
inc eax
call fcn.10086cf0
mov ecx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov esi, ecx
mov dword [esp + 0x50], edx
and esi, dword [esp + 0x40]
and edx, dword [esp + 0x44]
or esi, edx
jne 0x10070e2f
mov ecx, dword [esp + 0x40]
or ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
mov edx, dword [eax]
mov ax, word [eax + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 4]
mov word [ecx + ebx*2], ax
mov ecx, edi
push dword [edx + 0x10]
mov edx, dword [edx + 0xc]
call fcn.10049503
pop ecx
test eax, eax
je 0x10070e23
mov ecx, dword [eax]
jmp 0x10070e28
mov ecx, 0x1008ca98
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov eax, dword [esp + 0x34]
add eax, 0x30
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x38]
jb 0x10070d8b
mov esi, dword [esp + 0x14]
and dword [esp + 0x50], 0
cmp dword [esp + 0x3c], 0
jle 0x10070e95
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
xor eax, eax
xor edx, edx
inc eax
mov ecx, edi
call fcn.10086cf0
and eax, dword [esp + 0x24]
and edx, dword [esp + 0x28]
or eax, edx
je 0x10070e86
mov eax, dword [esi + 4]
mov word [eax + ebx*2], di
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], 0x1008ca98
inc ebx
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x10070e5c
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x10070eda
jl 0x10070ea6
cmp dword [eax + 0x38], 0
jae 0x10070eda
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push 0x3f
pop edx
cmp dx, word [eax + 0x2a]
jge 0x10070ede
mov esi, eax
mov eax, dword [ecx + 4]
mov word [eax + ebx*2], dx
mov eax, dword [ecx + 0x20]
mov dword [eax + ebx*4], 0x1008ca98
inc ebx
movsx eax, word [esi + 0x2a]
inc edx
cmp edx, eax
jl 0x10070eb9
mov esi, dword [esp + 0x14]
jmp 0x10070ede
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
or edx, 0xffffffff
push 0
mov word [eax + ebx*2], dx
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp + 0x14]
mov dword [eax + ebx*4], 0x1008ca98
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
inc dword [edi + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
push eax
push dword [ecx + 8]
mov ecx, esi
push 0x70
pop edx
call fcn.1003b08d
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, edi
call fcn.1003b7c6
mov ecx, dword [ebp + 0x14]
movzx eax, byte [ecx + 0x24]
imul esi, eax, 0x48
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x4c], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
test byte [esi + eax + 0x30], 0x10
je 0x10070f88
mov eax, dword [esi + eax + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
xor eax, eax
push eax
push eax
push eax
push 0x46
pop edx
call fcn.1003b08d
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x5c], eax
push dword [esi + ecx + 0x20]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x5c]
push 0xd
pop edx
call fcn.1003b08d
mov eax, dword [esp + 0x60]
add esp, 0xc
push 0xe
jmp 0x10070f8d
mov eax, dword [ecx + 4]
push 0x24
mov ecx, dword [esp + 0x18]
pop edx
push 0
push 0
push eax
call fcn.1003b08d
mov dword [esp + 0x48], eax
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10070fcd
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
push 0x10
push ecx
push eax
push edi
mov dword [esp + 0x68], ecx
call fcn.1004d68c
mov eax, dword [esp + 0x3c]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, edi
call fcn.1004e35a
mov edx, dword [esp + 0x1c]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
mov dword [esp + 0x68], eax
mov ecx, edi
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.1005778b
mov ecx, dword [esp + 0x2c]
mov edx, 0x84
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x14]
push 0
push dword [esp + 0x70]
push dword [eax + 8]
call fcn.1003b08d
mov ecx, dword [esp + 0x38]
add esp, 0x24
push 0x10
pop edx
call fcn.1003b54c
cmp dword [esp + 0x20], 0
je 0x10071031
mov edx, dword [esp + 0x58]
call fcn.1003b38b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
test byte [esi + eax + 0x30], 0x10
je 0x10071089
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
add esi, ebx
call fcn.1003b7e1
mov ebx, dword [esp + 0x48]
mov ecx, edi
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], esi
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x4c]
push dword [eax + 8]
push dword [esi + ebx + 0x28]
push dword [eax + 4]
call fcn.10070932
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x14]
call fcn.1003b10a
and dword [esi + ebx + 0x30], 0xffffffef
mov ebx, dword [esp + 0x14]
jmp 0x100710a8
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
inc eax
push 0
push eax
mov eax, dword [ebp + 0x14]
mov ecx, ebx
push dword [eax + 4]
push 5
pop edx
call fcn.1003b08d
add esp, 0xc
push 3
pop edx
mov ecx, ebx
call fcn.1003b54c
mov edx, dword [esp + 0x3c]
call fcn.1003b7e1
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.1004e379
mov edx, dword [esp + 0x60]
mov ecx, ebx
call fcn.1003b7e1
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100710ee
mov ecx, dword [edi]
mov edx, eax
call fcn.10049d39
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret