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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x40
mov esi, edx
mov dword [esp + 0x20], 0
push 0
push ebx
mov dword [esp + 0x3c], esi
mov edi, ecx
call fcn.1012aa20
add esp, 0xc
shl esi, 2
call fcn.100cad40
test eax, eax
je 0x100e819d
mov dword [ebx], 0
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call fcn.1001e1a0
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x100e81ba
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push eax
call fcn.1012aa20
add esp, 0xc
lea eax, [esp + 0x1c]
mov edx, 0xc
mov ecx, edi
push 0
push eax
call fcn.100e0460
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
jne 0x100e8965
push dword [ebp + 0xc]
mov ebx, dword [esp + 0x20]
push dword [ebp + 8]
push 1
push ebx
call fcn.1004b1a0
add esp, 0x10
mov dword [esp + 0x1c], esi
xor edi, edi
test ebx, ebx
je 0x100e8870
cmp dword [ebx], edi
jne 0x100e8225
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021520
add esp, 8
lea eax, [edi + 1]
jmp 0x100e8227
xor eax, eax
test eax, eax
jne 0x100e887f
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8246
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, ebx
call fcn.10049950
mov esi, eax
cmp esi, 0x11
jne 0x100e8463
mov ecx, edi
inc edi
mov dword [esp + 0x18], edi
cmp ecx, 0x32
jge 0x100e8463
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x2c]
mov esi, dword [ebx]
mov edx, dword [ebx + 0xc8]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov ecx, esi
movzx eax, byte [ebx + 0x94]
push ebx
push eax
push 0xffffffffffffffff
call fcn.100931f0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x100e8399
mov esi, dword [esp + 0x2c]
lea edi, [esp + 0x40]
mov ecx, 0x3a
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
mov ecx, 0x3a
mov esi, 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 esi, dword [esp + 0x2c]
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xc8], eax
mov dword [ebx + 0xc8], ecx
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov al, byte [esi + 0x94]
mov byte [ebx + 0x94], al
movups xmm0, xmmword [esi + 0xa4]
movups xmmword [ebx + 0xa4], xmm0
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [ebx + 0xb4], xmm0
mov eax, dword [esi + 0xc4]
mov dword [ebx + 0xc4], eax
inc dword [ebx + 0xb8]
call fcn.1004ba40
mov dword [esi + 0x24], 0
cmp byte [esi + 0x95], 1
jb 0x100e8360
mov ecx, esi
call fcn.10046980
mov ecx, esi
call fcn.10046a60
push ebx
call fcn.10048bc0
add esp, 4
cmp dword [esp + 0x14], 0
jl 0x100e837e
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.10049950
mov esi, eax
cmp esi, 0x11
jne 0x100e8463
mov edi, dword [esp + 0x18]
jmp 0x100e8258
cmp edi, 7
jne 0x100e83a5
mov ecx, esi
call fcn.1001ebf0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100e83b7
xor esi, esi
jmp 0x100e83ea
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e83d4
cmp byte [ecx + 0x12], 1
jne 0x100e83d4
mov esi, dword [ecx + 8]
jmp 0x100e83e6
test dl, 1
je 0x100e83dd
xor esi, esi
jmp 0x100e83e6
mov dl, 1
call fcn.100433c0
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x100e83f8
mov ecx, eax
call fcn.1001e480
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x57], 0
jne 0x100e84bf
test esi, esi
jne 0x100e840e
xor eax, eax
jmp 0x100e8450
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e8417
sub ecx, dword [esp + 0x14]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x1c], eax
call fcn.1001e920
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x100e8450
push dword [esp + 0x14]
push esi
push eax
call fcn.1012bec0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [ebx + 0x7c], eax
call fcn.1001ecd0
mov esi, eax
mov dword [ebx + 0x24], esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x100e8478
push eax
call dword [0x10165b50]
add esp, 4
cmp esi, 0x64
jne 0x100e889d
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jge 0x100e889d
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e84a2
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
mov esi, 4
test ecx, ecx
je 0x100e84d0
cmp si, word [ebx + 0x90]
jae 0x100e84d0
add ecx, 0xa0
jmp 0x100e84e8
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
jmp 0x100e8467
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100e84fb
cmp byte [ecx + 0x12], 1
jne 0x100e84fb
mov eax, dword [ecx + 0xc]
jmp 0x100e852a
test al, 0x10
je 0x100e8515
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100e850f
mov eax, dword [ecx]
add eax, edx
jmp 0x100e852a
mov dword [esp + 0x10], edx
jmp 0x100e852e
test al, 1
je 0x100e8523
mov dword [esp + 0x10], 0
jmp 0x100e852e
mov dl, 1
call fcn.10043b00
mov dword [esp + 0x10], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e8541
test edx, edx
jne 0x100e8541
xor eax, eax
jmp 0x100e8546
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e855c
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e856f
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100e8586
cmp si, word [ebx + 0x90]
jae 0x100e8586
add eax, 0xa0
jmp 0x100e859e
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov eax, 0x10151998
push eax
call fcn.10048d20
mov ecx, dword [ebx]
add esp, 4
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x34], eax
cmp byte [ecx + 0x57], 0
jne 0x100e85be
test edx, edx
jne 0x100e85be
xor eax, eax
jmp 0x100e85c3
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e85d9
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e85ec
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e8606
mov eax, 3
cmp ax, word [ebx + 0x90]
jae 0x100e8606
add ecx, 0x78
jmp 0x100e861e
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e8631
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x28], esi
jmp 0x100e866e
test al, 8
je 0x100e8644
movsd xmm0, qword [ecx]
call fcn.100426d0
mov dword [esp + 0x28], edx
jmp 0x100e866e
test al, 0x12
je 0x100e8659
cmp dword [ecx + 8], 0
je 0x100e8659
call fcn.10042700
mov dword [esp + 0x28], edx
jmp 0x100e866e
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x57], 0
jne 0x100e8685
test edx, edx
jne 0x100e8685
xor eax, eax
jmp 0x100e868a
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e86a0
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e86b3
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e86cd
mov eax, 2
cmp ax, word [ebx + 0x90]
jae 0x100e86cd
add ecx, 0x50
jmp 0x100e86e5
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e86f8
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x14], esi
jmp 0x100e8735
test al, 8
je 0x100e870b
movsd xmm0, qword [ecx]
call fcn.100426d0
mov dword [esp + 0x14], edx
jmp 0x100e8735
test al, 0x12
je 0x100e8720
cmp dword [ecx + 8], 0
je 0x100e8720
call fcn.10042700
mov dword [esp + 0x14], edx
jmp 0x100e8735
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
cmp byte [ecx + 0x57], 0
jne 0x100e874c
test edx, edx
jne 0x100e874c
xor eax, eax
jmp 0x100e8751
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8767
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e877a
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e8794
mov eax, 1
cmp ax, word [ebx + 0x90]
jae 0x100e8794
add ecx, 0x28
jmp 0x100e87ac
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e87bb
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
jmp 0x100e87f4
test al, 8
je 0x100e87ce
movsd xmm0, qword [ecx]
call fcn.100426d0
mov esi, eax
mov edi, edx
jmp 0x100e87f4
test al, 0x12
je 0x100e87e3
cmp dword [ecx + 8], 0
je 0x100e87e3
call fcn.10042700
mov esi, eax
mov edi, edx
jmp 0x100e87f4
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e8807
test edx, edx
jne 0x100e8807
xor eax, eax
jmp 0x100e880c
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8822
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x14]
push dword [esp + 0x3c]
push dword [esp + 0x34]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x38]
push edi
push esi
mov edi, ecx
call fcn.100e29c0
mov esi, eax
inc edi
mov eax, dword [ebp + 0x10]
add esp, 0x24
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
inc dword [eax + 4]
test esi, esi
je 0x100e8203
jmp 0x100e889d
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021520
add esp, 8
push 0x10156dc4
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021520
add esp, 0x14
test ebx, ebx
jne 0x100e88b3
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
cmove eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100e88c6
push eax
call dword [0x10165b48]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100e88e3
jg 0x100e88da
cmp dword [ebx + 0x88], 0
jbe 0x100e88e3
mov edx, ebx
mov ecx, esi
call fcn.10048a20
mov ecx, ebx
call fcn.10046980
mov byte [ebx + 0x95], 1
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0
mov word [ebx + 0x92], 0xff02
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp byte [esi + 0x57], 0
jne 0x100e8940
test eax, eax
jne 0x100e8940
xor edi, edi
jmp 0x100e894b
mov edx, eax
mov ecx, esi
call fcn.1001ecd0
mov edi, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100e895c
push ecx
call dword [0x10165b50]
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
cmove eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret