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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
xor esi, esi
mov dword [esp + 0x14], edi
test ebx, ebx
jns 0x100e0c7a
cmp dword [ecx + 0x108], esi
je 0x100e0c7a
cmp dword [ecx + 0x120], edi
jne 0x100e0c7a
mov dword [esp + 0x1c], esi
cmp dword [ebp + 0x18], esi
jne 0x100e0bed
cmp dword [ebp + 0x1c], esi
jne 0x100e0bed
xor eax, eax
jmp 0x100e0bf2
mov eax, 1
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ebp + 8]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100ee180
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100e0c76
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100e0c72
mov edx, dword [ebp + 0x20]
mov esi, dword [edx + 4]
mov eax, esi
and eax, 0x8000000f
jns 0x100e0c2d
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x100e0c65
mov eax, dword [edx]
mov dword [esp + 0x20], eax
call fcn.100d6670
test eax, eax
jne 0x100e0d28
mov ecx, dword [esp + 0x20]
lea eax, [esi*4 + 0x40]
push 0
push eax
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100e0d28
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [eax + ecx*4], edi
inc dword [edx + 4]
xor esi, esi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ebx, 0xffffffff
je 0x100e148c
test esi, esi
jne 0x100e148c
mov dword [esp + 0xc], esi
lea eax, [esp + 0xc]
push esi
push eax
test ebx, ebx
jns 0x100e0d39
lea edx, [esi + 0xd]
call fcn.100ebda0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100e0d8f
mov ecx, dword [esp + 0x10]
mov eax, edi
mov edi, dword [esp + 0xc]
imul dword [ecx + 0x104]
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 8]
mov edx, 0x400
imul edx
shld ecx, esi, 0xa
shl esi, 0xa
add esi, eax
adc ecx, edx
push ecx
push esi
push 1
push edi
call fcn.10056380
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
imul dword [ecx + 0x104]
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 8]
mov edx, 0x400
shld ecx, esi, 0xa
imul edx
shl esi, 0xa
add esi, eax
adc ecx, edx
add esi, 0x3ff
adc ecx, 0
push ecx
push esi
push 2
push edi
call fcn.10056380
add esp, 0x20
mov dword [esp + 0x1c], edi
jmp 0x100e0da0
mov ecx, edi
call fcn.100ede60
mov esi, 7
jmp 0x100e0c72
mov edx, 0xc
call fcn.100ebda0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100e0d8f
mov ecx, dword [esp + 0x10]
mov eax, edi
mov edi, dword [esp + 0xc]
imul dword [ecx + 0x104]
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 8]
mov edx, 0x400
imul edx
shld ecx, esi, 0xa
shl esi, 0xa
add esi, eax
mov eax, ebx
adc ecx, edx
cdq
add esi, eax
adc ecx, edx
push ecx
push esi
push 1
push edi
call fcn.10056380
add esp, 0x10
mov dword [esp + 0x1c], edi
jmp 0x100e0da0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1c], edi
test esi, esi
jne 0x100e13c8
nop
xor ebx, ebx
test edi, edi
je 0x100e1396
cmp dword [edi], ebx
jne 0x100e0dc2
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.100296a0
add esp, 8
lea eax, [ebx + 1]
jmp 0x100e0dc4
xor eax, eax
test eax, eax
jne 0x100e13a5
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e0de3
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, edi
call fcn.10054980
mov esi, eax
cmp esi, 0x11
jne 0x100e0e31
mov eax, ebx
inc ebx
cmp eax, 0x32
jge 0x100e0e31
mov esi, dword [edi + 0x20]
mov ecx, edi
call fcn.1009d980
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100e0e97
push edi
call fcn.10053c90
add esp, 4
test esi, esi
js 0x100e0e23
mov byte [edi + 0x95], 0xfe
mov ecx, edi
call fcn.10054980
mov esi, eax
cmp esi, 0x11
je 0x100e0df1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e0e46
push eax
call dword [0x10177ba0]
add esp, 4
cmp esi, 0x64
jne 0x100e13c8
mov dword [esp + 0x18], 0
test edi, edi
je 0x100e0f75
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e0e72
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x100e0f62
mov eax, 1
cmp ax, word [edi + 0x90]
jae 0x100e0f62
add ecx, 0x28
jmp 0x100e0f7a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100e0ea9
xor esi, esi
jmp 0x100e0edc
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e0ec6
cmp byte [ecx + 0x12], 1
jne 0x100e0ec6
mov esi, dword [ecx + 8]
jmp 0x100e0ed8
test dl, 1
je 0x100e0ecf
xor esi, esi
jmp 0x100e0ed8
mov dl, 1
call fcn.1004e000
mov esi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x100e0eea
mov ecx, eax
call fcn.10026a90
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x57], 0
jne 0x100e0f4e
test esi, esi
jne 0x100e0efc
xor ebx, ebx
jmp 0x100e0f34
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e0f01
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + 0x28], eax
call fcn.10026f30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100e0f34
push dword [esp + 0x20]
push esi
push ebx
call fcn.10139d00
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x7c], ebx
call fcn.100272e0
mov esi, eax
mov dword [edi + 0x24], esi
jmp 0x100e0e31
mov esi, 7
mov dword [edi + 0x7c], 0
mov dword [edi + 0x24], esi
jmp 0x100e0e35
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
call fcn.1004d340
mov esi, eax
mov ebx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ebx
test edi, edi
je 0x100e0fbd
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e0fa2
test edx, edx
jne 0x100e0fa2
xor eax, eax
jmp 0x100e0fa7
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e0fbd
push eax
call dword [0x10177ba0]
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
test edi, edi
je 0x100e1009
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e0fdc
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x100e0ff6
mov eax, 2
cmp ax, word [edi + 0x90]
jae 0x100e0ff6
add ecx, 0x50
jmp 0x100e100e
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
call fcn.1004d340
mov esi, eax
mov ebx, edx
test edi, edi
je 0x100e1049
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e102e
test edx, edx
jne 0x100e102e
xor eax, eax
jmp 0x100e1033
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e1049
push eax
call dword [0x10177ba0]
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
test edi, edi
je 0x100e1095
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e1068
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x100e1082
mov eax, 3
cmp ax, word [edi + 0x90]
jae 0x100e1082
add ecx, 0x78
jmp 0x100e109a
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
call fcn.1004d340
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
test edi, edi
je 0x100e1120
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e10be
test edx, edx
jne 0x100e10be
xor eax, eax
jmp 0x100e10c3
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e10d9
push eax
call dword [0x10177ba0]
add esp, 4
test edi, edi
je 0x100e1120
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e10f0
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x100e110d
mov eax, 4
cmp ax, word [edi + 0x90]
jae 0x100e110d
add ecx, 0xa0
jmp 0x100e1125
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100e113c
cmp byte [ecx + 0x12], 1
jne 0x100e113c
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0xc], ebx
jmp 0x100e1175
test al, 0x10
je 0x100e115c
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100e1154
mov ebx, dword [ecx]
add ebx, edx
mov dword [esp + 0xc], ebx
jmp 0x100e1175
mov ebx, edx
mov dword [esp + 0xc], ebx
jmp 0x100e1175
test al, 1
je 0x100e1168
xor ebx, ebx
mov dword [esp + 0xc], ebx
jmp 0x100e1175
mov dl, 1
call fcn.1004e750
mov ebx, eax
mov dword [esp + 0xc], eax
test edi, edi
je 0x100e11ed
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e118c
test edx, edx
jne 0x100e118c
xor eax, eax
jmp 0x100e1191
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e11a7
push eax
call dword [0x10177ba0]
add esp, 4
test edi, edi
je 0x100e11ed
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e11be
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [edi + 0x78]
test eax, eax
je 0x100e11da
mov ecx, 4
cmp cx, word [edi + 0x90]
jae 0x100e11da
add eax, 0xa0
jmp 0x100e11f2
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov eax, 0x10161a88
push eax
call fcn.10053df0
add esp, 4
mov esi, eax
mov dword [esp + 0x20], esi
test edi, edi
je 0x100e1233
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e1218
test edx, edx
jne 0x100e1218
xor eax, eax
jmp 0x100e121d
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e1233
push eax
call dword [0x10177ba0]
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, ecx
or eax, dword [esp + 0x14]
je 0x100e1350
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100e1350
test esi, esi
je 0x100e1350
xor ecx, ecx
lea eax, [esp + 0x38]
cmp dword [ebp + 0x18], ecx
cmove eax, ecx
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push esi
push dword [ebp + 0x14]
call fcn.100df050
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100e13c8
cmp dword [ebp + 0x18], eax
jne 0x100e12ac
cmp dword [ebp + 0x1c], eax
jne 0x100e12ac
mov eax, dword [esp + 0x34]
mov edx, 1
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
jmp 0x100e12be
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
xor edx, edx
mov ebx, dword [ebp + 0x20]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
push esi
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x30]
push ecx
mov ecx, dword [ebx + 4]
inc ecx
call fcn.100edfe0
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x100e13c8
mov esi, dword [ebx + 4]
mov eax, esi
and eax, 0x8000000f
jns 0x100e1309
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x100e136e
mov eax, ebx
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.100d6670
test eax, eax
jne 0x100e1386
mov ecx, dword [esp + 0x2c]
lea eax, [esi*4 + 0x40]
push 0
push eax
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100e1386
mov edx, dword [ebx + 4]
mov ecx, ebx
lea esi, [ecx + 4]
mov dword [ecx], eax
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
inc dword [esi]
jmp 0x100e0da0
cmp dword [ebp + 0x18], 0
jne 0x100e12bc
cmp dword [ebp + 0x1c], 0
jne 0x100e12bc
mov edx, 1
jmp 0x100e12be
mov edx, dword [ebx + 4]
lea esi, [ebx + 4]
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov ecx, dword [ecx]
mov dword [ecx + edx*4], eax
inc dword [esi]
jmp 0x100e0da0
mov ecx, dword [esp + 0x18]
call fcn.100ede60
mov esi, 7
jmp 0x100e13c8
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.100296a0
add esp, 8
push 0x10166fc4
push 0x160fd
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
mov esi, 0x15
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100e148c
mov ebx, dword [edi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100e13e7
push eax
call dword [0x10177b98]
add esp, 4
cmp dword [edi + 0x8c], 0
jl 0x100e1404
jg 0x100e13fb
cmp dword [edi + 0x88], 0
jbe 0x100e1404
mov edx, edi
mov ecx, ebx
call fcn.10053af0
mov ecx, edi
call fcn.10051730
mov byte [edi + 0x97], 1
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0
mov word [edi + 0x94], 0xff02
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x1c], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
cmp byte [ebx + 0x57], 0
jne 0x100e1461
test eax, eax
jne 0x100e1461
xor edi, edi
jmp 0x100e146c
mov edx, eax
mov ecx, ebx
call fcn.100272e0
mov edi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100e148e
push eax
call dword [0x10177ba0]
add esp, 4
cmp esi, 0x65
cmovne edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp esi, 0x65
cmovne edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret