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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edx, edx
mov dword [esp + 0x2c], ebp
call fcn.100e1c80
test eax, eax
jne 0x100e8245
push dword [ebp + 0xe0]
xor ebx, ebx
mov dword [esp + 0x38], eax
push str.SELECT__s
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], eax
call fcn.10021540
mov esi, eax
add esp, 8
test esi, esi
jne 0x100e795e
mov edi, 7
mov dword [esp + 0x1c], edi
jmp 0x100e810f
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, esi
call fcn.10092a20
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp dword [0x10165b38], ebx
je 0x100e79d2
mov eax, dword [0x10168b88]
test eax, eax
je 0x100e79a0
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x100e79dc
push eax
call dword [0x10165b90]
jmp 0x100e79d9
push esi
call dword [0x10165b5c]
add esp, 4
test edi, edi
jne 0x100e810b
mov eax, dword [ebp + 0x18]
mov ecx, 0xc
imul ecx
mov esi, eax
mov edi, edx
add esi, ecx
adc edi, ebx
call fcn.100cb1b0
test eax, eax
je 0x100e7a19
mov ebx, dword [esp + 0x10]
xor eax, eax
mov edi, 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov esi, eax
jmp 0x100e8111
push edi
push esi
call fcn.1001e4e0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100e7a3f
mov ebx, dword [esp + 0x10]
mov edi, 7
mov dword [esp + 0x1c], edi
mov esi, eax
jmp 0x100e8111
push esi
mov esi, dword [esp + 0x18]
push 0
push esi
call fcn.101298f0
mov eax, dword [ebp + 0x18]
lea ecx, [esi + 4]
mov ebx, dword [esp + 0x1c]
add esp, 0xc
shl eax, 2
add ecx, eax
add eax, 4
add eax, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
nop dword [eax + eax]
xor edi, edi
test ebx, ebx
je 0x100e80d8
cmp dword [ebx], edi
jne 0x100e7a92
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021700
add esp, 8
lea eax, [edi + 1]
jmp 0x100e7a94
xor eax, eax
test eax, eax
jne 0x100e80e7
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7ab3
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, ebx
call fcn.10049af0
mov esi, eax
cmp esi, 0x11
jne 0x100e7ccf
mov eax, edi
inc edi
mov dword [esp + 0x28], edi
cmp eax, 0x32
jge 0x100e7ccb
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x3c]
mov esi, dword [ebx]
mov edx, dword [ebx + 0xc8]
push 0
push ecx
mov dword [esp + 0x28], eax
mov ecx, esi
movzx eax, byte [ebx + 0x94]
push ebx
push eax
push 0xffffffffffffffff
call fcn.10092a20
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x100e7c02
mov ebp, dword [esp + 0x3c]
lea edi, [esp + 0x40]
mov ecx, 0x3a
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3a
mov esi, ebx
mov edi, ebp
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3a
lea esi, [esp + 0x40]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 0xc8]
mov dword [ebp + 0xc8], eax
mov dword [ebx + 0xc8], ecx
mov ecx, ebp
mov eax, dword [ebp + 0xdc]
mov dword [ebx + 0xdc], eax
mov al, byte [ebp + 0x94]
mov byte [ebx + 0x94], al
movups xmm0, xmmword [ebp + 0xa4]
movups xmmword [ebx + 0xa4], xmm0
movups xmm0, xmmword [ebp + 0xb4]
movups xmmword [ebx + 0xb4], xmm0
mov eax, dword [ebp + 0xc4]
mov dword [ebx + 0xc4], eax
inc dword [ebx + 0xb8]
call fcn.1004bbe0
mov dword [ebp + 0x24], 0
cmp byte [ebp + 0x95], 1
jb 0x100e7bc9
mov ecx, ebp
call fcn.10046b40
mov ecx, ebp
call fcn.10046c20
push ebx
call fcn.10048d60
add esp, 4
cmp dword [esp + 0x20], 0
jl 0x100e7be7
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.10049af0
mov esi, eax
cmp esi, 0x11
jne 0x100e7ccb
mov edi, dword [esp + 0x28]
jmp 0x100e7ac5
cmp edi, 7
jne 0x100e7c0e
mov ecx, esi
call fcn.1001ef20
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x124]
test ecx, ecx
jne 0x100e7c20
xor esi, esi
jmp 0x100e7c4f
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e7c3d
cmp byte [ecx + 0x12], 1
jne 0x100e7c3d
mov esi, dword [ecx + 8]
jmp 0x100e7c4f
test dl, 1
je 0x100e7c46
xor esi, esi
jmp 0x100e7c4f
mov dl, 1
call fcn.10043510
mov esi, eax
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x100e7c5d
mov ecx, ebp
call fcn.1001e7b0
cmp byte [ebp + 0x57], 0
jne 0x100e7cbc
test esi, esi
jne 0x100e7c6b
xor ebp, ebp
jmp 0x100e7ca1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e7c70
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, ebp
push eax
mov dword [esp + 0x28], eax
call fcn.1001ec50
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x100e7ca1
push dword [esp + 0x20]
push esi
push ebp
call fcn.1012ad80
add esp, 0xc
mov edx, edi
mov dword [ebx + 0x7c], ebp
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.1001f000
mov ebp, dword [esp + 0x2c]
mov esi, eax
mov dword [ebx + 0x24], esi
jmp 0x100e7cd3
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100e7ce4
push eax
call dword [0x10165b90]
add esp, 4
cmp esi, 0x64
jne 0x100e80ce
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0x10], 0
je 0x100e7d0d
mov eax, dword [ebp + 0x18]
inc eax
push eax
push ebx
call fcn.1004a870
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7d20
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e7d32
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x100e7d4a
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e7d59
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
jmp 0x100e7d92
test al, 8
je 0x100e7d6c
movsd xmm0, qword [ecx]
call fcn.10042840
mov esi, eax
mov edi, edx
jmp 0x100e7d92
test al, 0x12
je 0x100e7d81
cmp dword [ecx + 8], 0
je 0x100e7d81
call fcn.10042870
mov esi, eax
mov edi, edx
jmp 0x100e7d92
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e7da5
test edx, edx
jne 0x100e7da5
xor eax, eax
jmp 0x100e7daa
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7dc0
push eax
call dword [0x10165b90]
add esp, 4
push edi
push esi
push dword [esp + 0x18]
xor edx, edx
mov ecx, ebp
call fcn.100e1920
mov esi, dword [esp + 0x20]
mov edi, eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [eax*4 + 4]
push eax
push 0
push esi
call fcn.101298f0
add esp, 0xc
test edi, edi
jne 0x100e7fde
mov eax, dword [esp + 0x14]
mov esi, 0x28
mov edx, dword [esp + 0x18]
mov edi, 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
nop dword [eax + eax]
lea ecx, [edi - 1]
cmp ecx, dword [ebp + 0x18]
jge 0x100e7fd6
mov eax, dword [ebp + 0x20]
cmp byte [ecx + eax], 0
jne 0x100e7fc1
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7e4c
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e7e6a
movzx eax, word [ebx + 0x90]
cmp edi, eax
jge 0x100e7e6a
test edi, edi
js 0x100e7e6a
add ecx, esi
jne 0x100e7e82
xor esi, esi
jmp 0x100e7eb1
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov ecx, 0x10150a48
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e7e9f
cmp byte [ecx + 0x12], 1
jne 0x100e7e9f
mov esi, dword [ecx + 8]
jmp 0x100e7eb1
test dl, 1
je 0x100e7ea8
xor esi, esi
jmp 0x100e7eb1
mov dl, 1
call fcn.10043510
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e7ec4
test edx, edx
jne 0x100e7ec4
xor eax, eax
jmp 0x100e7ec9
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7edf
push eax
call dword [0x10165b90]
add esp, 4
push dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
push eax
push esi
mov ecx, ebp
call fcn.100e17b0
mov dword [esp + 0x24], eax
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7f11
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e7f2d
movzx eax, word [ebx + 0x90]
cmp edi, eax
jge 0x100e7f2d
test edi, edi
js 0x100e7f2d
add ecx, dword [esp + 0x20]
jmp 0x100e7f45
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100e7f58
cmp byte [ecx + 0x12], 1
jne 0x100e7f58
mov esi, dword [ecx + 0xc]
jmp 0x100e7f81
test al, 0x10
je 0x100e7f70
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100e7f6c
mov esi, dword [ecx]
add esi, edx
jmp 0x100e7f81
mov esi, edx
jmp 0x100e7f81
test al, 1
je 0x100e7f78
xor esi, esi
jmp 0x100e7f81
mov dl, 1
call fcn.10043c50
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e7f94
test edx, edx
jne 0x100e7f94
xor eax, eax
jmp 0x100e7f99
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7faf
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add dword [ecx + eax*4], esi
mov esi, dword [esp + 0x20]
add dword [esp + 0x28], 4
add esi, 0x28
inc edi
mov dword [esp + 0x20], esi
test edx, edx
je 0x100e7e20
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp byte [ebp + 0xee], 0
je 0x100e7ffe
push esi
mov edx, ebp
lea ecx, [esp + 0x20]
call fcn.100e6c20
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne 0x100e802f
inc dword [esp + 0x30]
xor edx, edx
cmp dword [ebp + 0x18], edx
jl 0x100e7a70
mov ecx, dword [esp + 0x34]
sub esi, ecx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
add dword [ecx - 4], eax
inc edx
cmp edx, dword [ebp + 0x18]
jle 0x100e8017
mov esi, dword [esp + 0x14]
jmp 0x100e7a70
mov esi, dword [ebx]
test esi, esi
jne 0x100e806a
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021700
push 0x10155e9c
push 0x1572f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
mov esi, dword [esp + 0x30]
add esp, 0x1c
xor ebx, ebx
jmp 0x100e8111
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100e807b
push eax
call dword [0x10165b88]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100e8098
jg 0x100e808f
cmp dword [ebx + 0x88], 0
jbe 0x100e8098
mov edx, ebx
mov ecx, esi
call fcn.10048bc0
mov ecx, ebx
call fcn.10046b40
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.10046c20
cmp byte [esi + 0x57], 0
mov edx, dword [esp + 0x20]
jne 0x100e80b8
test edx, edx
je 0x100e80bf
mov ecx, esi
call fcn.1001f000
mov ecx, esi
call fcn.100cc4b0
mov esi, dword [esp + 0x14]
xor ebx, ebx
jmp 0x100e8111
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x100e8111
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021700
add esp, 8
push 0x10155e9c
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
mov edi, dword [esp + 0x2c]
add esp, 0x14
jmp 0x100e8111
mov ebx, dword [esp + 0x10]
xor esi, esi
cmp byte [ebp + 0xec], 0
je 0x100e8138
push dword [esp + 0x30]
mov edx, ebp
lea ecx, [esp + 0x20]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.100e6e10
mov edi, dword [esp + 0x28]
add esp, 0xc
test esi, esi
je 0x100e8194
cmp dword [0x10165b38], 0
je 0x100e818a
mov eax, dword [0x10168b88]
test eax, eax
je 0x100e8158
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x100e8194
push eax
call dword [0x10165b90]
jmp 0x100e8191
push esi
call dword [0x10165b5c]
add esp, 4
test ebx, ebx
je 0x100e8243
mov esi, dword [ebx]
test esi, esi
jne 0x100e81e0
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021700
push 0x10155e9c
push 0x1572f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
add esp, 0x1c
mov ebx, 0x15
test edi, edi
cmove edi, ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100e81f1
push eax
call dword [0x10165b88]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100e820e
jg 0x100e8205
cmp dword [ebx + 0x88], 0
jbe 0x100e820e
mov edx, ebx
mov ecx, esi
call fcn.10048bc0
mov ecx, ebx
call fcn.10046b40
mov ecx, ebx
mov ebp, eax
call fcn.10046c20
cmp byte [esi + 0x57], 0
jne 0x100e822c
test ebp, ebp
jne 0x100e822c
xor ebx, ebx
jmp 0x100e8237
mov edx, ebp
mov ecx, esi
call fcn.1001f000
mov ebx, eax
mov ecx, esi
call fcn.100cc4b0
test edi, edi
cmove edi, ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret