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

Disassembly:
sub esp, 0x218
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0x214], eax
movdqu xmm0, xmmword [str.IndexesIndex]
mov eax, dword [esp + 0x21c]
mov edx, 1
mov ecx, dword [esp + 0x228]
movdqu xmmword [esp + 0xc4], xmm0
push ebx
movq xmm0, qword [0x1005ffe0]
mov ebx, dword [esp + 0x228]
movq qword [esp + 0xd8], xmm0
movdqu xmm0, xmmword [str.007]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x230]
push ebp
mov ebp, dword [esp + 0x228]
movdqu xmmword [esp + 0xe8], xmm0
mov dword [esp + 0x4c], eax
movdqu xmm0, xmmword [0x1005fffc]
movzx eax, word [0x1005ffe8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov word [esp + 0xec], ax
movzx eax, word [0x10060014]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], edi
mov word [esp + 0x118], ax
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
movdqu xmmword [esp + 0x100], xmm0
movq xmm0, qword [0x1006000c]
movq qword [esp + 0x110], xmm0
test ebx, ebx
je 0x10029afd
test ecx, ecx
je 0x10029aef
cmp ebx, 5
ja 0x10029aef
test ebx, ebx
je 0x10029a8a
movzx eax, word [ecx]
test ax, ax
je 0x10029a8a
cmp eax, edx
je 0x10029a8a
cmp eax, 8
jne 0x10029aef
cmp dword [ecx + 8], edi
jne 0x10029aef
cmp ebx, 1
jbe 0x10029aa7
movzx eax, word [ecx + 0x10]
test ax, ax
je 0x10029aa7
cmp eax, 1
je 0x10029aa7
cmp eax, 8
jne 0x10029aef
cmp dword [ecx + 0x18], edi
jne 0x10029aef
cmp ebx, 2
jbe 0x10029abf
movzx eax, word [ecx + 0x20]
test ax, ax
je 0x10029abf
cmp eax, 1
je 0x10029abf
cmp eax, 8
jne 0x10029aef
cmp ebx, 3
jbe 0x10029ad7
movzx eax, word [ecx + 0x30]
test ax, ax
je 0x10029ad7
cmp eax, 1
je 0x10029ad7
cmp eax, 2
jne 0x10029aef
cmp ebx, 4
jbe 0x10029afd
movzx eax, word [ecx + 0x40]
test ax, ax
je 0x10029afd
cmp eax, 1
je 0x10029afd
cmp eax, 8
je 0x10029afd
mov ebx, dword [esp + 0x20]
mov ebp, 0x80070057
jmp 0x1002a4b3
cmp ebx, 3
jb 0x10029b22
movzx eax, word [ecx + 0x20]
test ax, ax
je 0x10029b22
cmp eax, 1
je 0x10029b22
mov eax, dword [ecx + 0x28]
xor edi, edi
test eax, eax
mov dword [esp + 0x40], eax
cmove edx, edi
mov dword [esp + 0x2c], edx
cmp ebx, 4
jb 0x10029b45
movzx eax, word [ecx + 0x30]
test ax, ax
je 0x10029b45
cmp eax, 1
je 0x10029b45
movsx eax, word [ecx + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 1
cmp ebx, 5
jne 0x10029b6a
movzx eax, word [ecx + 0x40]
test ax, ax
je 0x10029b6a
cmp eax, 1
je 0x10029b6a
mov eax, dword [ecx + 0x48]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x4c], eax
cmove edx, ecx
mov dword [esp + 0x2c], edx
mov eax, dword [0x1007a1e0]
push 0x64
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
je 0x1002a48f
push 0
push edi
lea eax, [esp + 0x1c]
push eax
push ebp
push 3
call fcn.10031c40
mov ebp, eax
test ebp, ebp
jne 0x1002a494
push 0x64
push 0x15
lea eax, [esp + 0xf8]
push eax
push ebp
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_114
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jns 0x10029bd2
mov ebp, 0x80004005
mov ebx, dword [esp + 0x20]
jmp 0x1002a49c
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x18]
push esi
call sub.msjet40.dll_Ordinal_173
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jns 0x10029bfc
mov ebx, dword [esp + 0x20]
mov ebp, 0x80004005
jmp 0x1002a49c
mov eax, dword [esp + 0x30]
mov ecx, 1
cmp ebx, 3
jb 0x10029c10
cmp cx, word [eax + 0x20]
je 0x10029c26
cmp ebx, 4
jb 0x10029c1b
cmp cx, word [eax + 0x30]
je 0x10029c26
cmp ebx, 5
jb 0x10029c2e
cmp cx, word [eax + 0x40]
jne 0x10029c2e
mov dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0xa4]
push 1
push 0x30
push eax
push 0
push 0x100602b0
push 0
push dword [ebx + 0x14]
push esi
call sub.msjet40.dll_Ordinal_140
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x10029c64
mov ebp, 0x80004005
jmp 0x1002a49c
push 0
push SysReAllocStringLen
push dword [esp + 0xb0]
push esi
call sub.msjet40.dll_Ordinal_156
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp ecx, 0xfffff9bd
je 0x10029c94
test ecx, ecx
je 0x10029c94
mov ebp, 0x80004005
jmp 0x1002a49c
cmp dword [esp + 0xac], 0
mov dword [esp + 0x50], 0
jbe 0x1002a3cb
lea ebx, [ebx]
cmp dword [esp + 0x2c], 0
je 0x1002a3cb
push 0
push 0
lea eax, [esp + 0x44]
mov dword [esp + 0x50], 0
push eax
push 4
lea eax, [esp + 0x68]
push eax
push dword [esp + 0xcc]
push dword [esp + 0xc0]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1002a4a0
mov eax, dword [esp + 0x58]
dec eax
je 0x10029d1b
sub eax, 3
je 0x10029d1b
sub eax, 2
je 0x10029d1b
push ecx
push 1
push dword [esp + 0xb0]
push esi
call sub.msjet40.dll_Ordinal_156
jmp 0x1002a3b1
push 0
push 0
lea eax, [esp + 0x44]
push eax
push 0x80
lea eax, [esp + 0x12c]
push eax
push dword [esp + 0xc8]
push dword [esp + 0xc0]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10029c5a
mov eax, dword [esp + 0x3c]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1002a53f
mov word [esp + eax + 0x11c], cx
cmp dword [esp + 0x4c], ecx
je 0x10029da4
mov eax, dword [esp + 0x30]
push dword [eax + 0x48]
lea eax, [esp + 0x120]
push eax
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x10029da4
push 0
push 1
push dword [esp + 0xb0]
push esi
call sub.msjet40.dll_Ordinal_156
jmp 0x1002a3b1
cmp dword [esp + 0x44], 1
jne 0x10029dc8
cmp dword [esp + 0x38], 1
je 0x10029dc8
push 0
push 1
push dword [esp + 0xb0]
push esi
call sub.msjet40.dll_Ordinal_156
jmp 0x1002a3b1
lea eax, [esp + 0x48]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push 1
push 0x3c
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x138]
push eax
push dword [ebx + 0x14]
push esi
call fcn.10012fe0
cmp dword [esp + 0x48], 1
mov ebp, eax
jne 0x10029e19
push 0
push 1
push dword [esp + 0xb0]
mov dword [esp + 0x1c], 0
push esi
call sub.msjet40.dll_Ordinal_156
jmp 0x1002a3b1
test ebp, ebp
js 0x1002a498
xor ebx, ebx
cmp dword [esp + 0x70], ebx
jbe 0x1002a37d
lea ecx, [ecx]
push 0
push dword [esp + 0x18]
push esi
call sub.msjet40.dll_Ordinal_159
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10029bc4
lea ecx, [esp + 0x11c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029e54
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x128]
push eax
push dword [edi + 8]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 0x82
lea eax, [esp + 0x1b0]
push eax
push dword [esp + 0xb4]
push dword [esp + 0x84]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
cmp ecx, 0x3ec
je 0x10029ef9
push 0
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x1ac]
push eax
push dword [edi + 0x44]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0xa0]
push dword [esp + 0x84]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
inc dword [esp + 0x18]
cmp ecx, 0x3ec
je 0x10029f5f
push 0
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
push dword [edi + 0x40]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x90]
push dword [esp + 0x84]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
cmp ecx, 0x3ec
je 0x10029fcf
movd xmm0, dword [esp + 0x18]
lea eax, [esp + 0x60]
push 0
push 0
push 8
push eax
push dword [edi + 0x54]
cvtdq2pd xmm0, xmm0
push dword [esp + 0x28]
movsd qword [esp + 0x78], xmm0
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 0x82
lea eax, [esp + 0x1b0]
push eax
push dword [esp + 0x88]
push dword [esp + 0x84]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
cmp ecx, 0x3ec
je 0x1002a03a
push 0
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x1ac]
push eax
push dword [edi + 0x14]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 0
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x98]
push dword [esp + 0x84]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
cmp ecx, 0x3ec
je 0x1002a097
push 0
push 0
push 4
lea eax, [esp + 0x24]
push eax
push dword [edi + 0x58]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 0
push 4
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x8c]
push dword [esp + 0x84]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
mov eax, dword [esp + 0x28]
and eax, 2
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0
je 0x1002a0e4
mov byte [esp + 0x24], 0xff
push 1
jmp 0x1002a0e6
push 0
push eax
push dword [edi + 0x18]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
mov eax, dword [esp + 0x28]
and eax, 1
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0
je 0x1002a120
mov byte [esp + 0x24], 0xff
push 1
jmp 0x1002a122
push 0
push eax
push dword [edi + 0x1c]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
mov eax, dword [esp + 0x28]
and eax, 0x10
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0
je 0x1002a15c
mov byte [esp + 0x24], 0xff
push 1
jmp 0x1002a15e
push 0
push eax
push dword [edi + 0x20]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
mov byte [esp + 0x2c], 0xff
push dword [edi + 0x60]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
mov eax, dword [esp + 0x28]
test al, 4
je 0x1002a1bf
mov dword [esp + 0x18], 1
jmp 0x1002a1cc
movzx eax, al
shr eax, 2
and eax, 2
mov dword [esp + 0x18], eax
push 0
push 0
push 4
lea eax, [esp + 0x24]
push eax
push dword [edi + 0x30]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 2
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 1
push eax
push dword [edi + 0x24]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 0
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0xb0]
push dword [esp + 0x84]
push esi
call sub.msjet40.dll_Ordinal_167
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
test byte [esp + 0x18], 1
mov eax, 0
setne al
inc eax
movzx eax, ax
mov dword [esp + 0x34], eax
cmp ecx, 0x3ec
je 0x1002a292
push 0
push 0
push 2
lea eax, [esp + 0x40]
push eax
push dword [edi + 0x50]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 4
lea eax, [esp + 0x28]
mov byte [esp + 0x28], 0xff
push eax
push dword [edi + 0x38]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 4
push eax
push dword [edi + 0x3c]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x64
push eax
push dword [edi + 0x28]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x1000
push eax
push dword [edi + 0x2c]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
js 0x10029bc9
push 0
push 0
push 0
push dword [esp + 0x20]
push esi
call sub.msjet40.dll_Ordinal_179
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10029bc4
push eax
push 1
push dword [esp + 0x74]
push esi
call sub.msjet40.dll_Ordinal_156
inc ebx
cmp ebx, dword [esp + 0x70]
jb 0x10029e30
push dword [esp + 0x6c]
push esi
call sub.msjet40.dll_Ordinal_108
mov ecx, eax
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10029bc4
push eax
push 1
push dword [esp + 0xb0]
push esi
call sub.msjet40.dll_Ordinal_156
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0xac]
jb 0x10029cb0
push dword [esp + 0xa8]
push esi
call sub.msjet40.dll_Ordinal_108
mov ecx, eax
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1002a3f7
mov ebp, 0x80004005
jmp 0x1002a49c
push 0x20
call fcn.1003d386
add esp, 4
test eax, eax
je 0x1002a48f
mov ecx, eax
call fcn.10002de0
mov ebx, eax
test ebx, ebx
je 0x1002a48f
mov ecx, dword [0x100609dc]
lea eax, [esp + 0x10]
mov ebp, dword [esp + 0x20]
push 0
push 0
mov dword [ebx + 0x10], ecx
mov ecx, dword [0x100609d8]
push eax
mov dword [ebx + 0x14], ecx
mov ecx, ebx
mov dword [ebx + 0x1c], 0
push dword [esp + 0x20]
push dword [ebp + 0x14]
push esi
call fcn.10007a40
mov ebp, eax
test ebp, ebp
js 0x1002a494
push 0x10068ef8
push 0
push 0
push 1
push ebx
push 0
push 0
push 1
push dword [esp + 0x74]
mov dword [ebx + 4], 0x19
push dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
push 0
push 0
push 0
push ebx
push 0
push dword [esp + 0x98]
call fcn.1001c790
mov ebp, eax
jmp 0x1002a498
mov ebp, 0x8007000e
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1002a4af
push 0x10068de8
push ecx
push ebp
push ebx
call fcn.10010bd0
jmp 0x1002a4c6
test ebp, ebp
jns 0x1002a4c6
push 0
push 0x10068de8
push ebp
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.100105d0
test edi, edi
je 0x1002a4da
mov eax, dword [0x1007a1e0]
test eax, eax
je 0x1002a4da
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x6c]
cmp eax, 0xffffffff
je 0x1002a4f4
push eax
push dword [ebx + 0x10]
call sub.msjet40.dll_Ordinal_108
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0xa8]
cmp eax, 0xffffffff
je 0x1002a514
push eax
push dword [ebx + 0x10]
call sub.msjet40.dll_Ordinal_108
mov dword [esp + 0xa8], 0xffffffff
test ebp, ebp
jns 0x1002a522
push dword [esp + 0x14]
push esi
call sub.msjet40.dll_Ordinal_108
mov ecx, dword [esp + 0x224]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003dba2
add esp, 0x218
ret 0x14
call fcn.1003e83e
int3