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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov eax, ecx
mov dword [esp + 0x14], 0
xor esi, esi
mov dword [esp + 0x1c], eax
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
push esi
push ecx
lea edx, [esi + 0x23]
mov dword [esp + 0x34], 0
mov ecx, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], esi
call fcn.100ee4e0
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
jne 0x100f8db6
push dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
push dword [ebp + 8]
push 1
push edi
call fcn.10057670
add esp, 0x10
nop
mov dword [esp + 0x28], esi
test edi, edi
je 0x100f8c9d
cmp dword [edi], esi
jne 0x100f8a56
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
mov eax, 1
jmp 0x100f8a58
xor eax, eax
test eax, eax
jne 0x100f8cac
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100f8a77
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, edi
call fcn.10055c90
mov ebx, eax
cmp ebx, 0x11
jne 0x100f8acd
mov eax, dword [esp + 0x28]
mov ecx, eax
inc eax
mov dword [esp + 0x28], eax
cmp ecx, 0x32
jge 0x100f8acd
mov ebx, dword [edi + 0x20]
mov ecx, edi
call fcn.1009fff0
mov dword [esp + 0x34], eax
test eax, eax
jne 0x100f8b8d
push edi
call fcn.10054fa0
add esp, 4
test ebx, ebx
js 0x100f8abf
mov byte [edi + 0x95], 0xfe
mov ecx, edi
call fcn.10055c90
mov ebx, eax
cmp ebx, 0x11
je 0x100f8a85
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x100f8ae2
push eax
call dword [0x10178a90]
add esp, 4
cmp ebx, 0x64
jne 0x100f8cca
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ebx
jl 0x100f8b2b
add ebx, 0x10
mov dword [esp + 0x2c], ebx
call fcn.100d8ee0
test eax, eax
jne 0x100f8c93
mov ecx, dword [esp + 0x18]
lea eax, [ebx*4]
push 0
push eax
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100f8c93
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100f8b3e
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x100f8b50
xor eax, eax
cmp ax, word [edi + 0x90]
jb 0x100f8b68
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ecx, dword [edi]
mov ebx, eax
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100f8c63
test edx, edx
jne 0x100f8c63
xor eax, eax
jmp 0x100f8c68
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100f8b9f
xor ebx, ebx
jmp 0x100f8bd2
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100f8bbc
cmp byte [ecx + 0x12], 1
jne 0x100f8bbc
mov ebx, dword [ecx + 8]
jmp 0x100f8bce
test dl, 1
je 0x100f8bc5
xor ebx, ebx
jmp 0x100f8bce
mov dl, 1
call fcn.1004f390
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x100f8be0
mov ecx, eax
call fcn.10027de0
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x57], 0
jne 0x100f8c53
test ebx, ebx
jne 0x100f8bf2
xor eax, eax
jmp 0x100f8c39
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f8c00
sub ecx, dword [esp + 0x28]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x30], eax
call fcn.10028280
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x100f8c39
push dword [esp + 0x28]
push ebx
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x7c], eax
call fcn.10028630
mov ebx, eax
mov dword [edi + 0x24], ebx
jmp 0x100f8acd
mov ebx, 7
mov dword [edi + 0x7c], esi
mov dword [edi + 0x24], ebx
jmp 0x100f8ad1
call fcn.10028630
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100f8c7e
push eax
call dword [0x10178a90]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [eax + ecx*4], ebx
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x100f8a30
mov dword [esp + 0x14], 7
jmp 0x100f8cca
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
push 0x10167d54
push 0x160fd
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
test edi, edi
je 0x100f8d61
mov ebx, dword [edi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100f8ce5
push eax
call dword [0x10178a88]
add esp, 4
cmp dword [edi + 0x8c], esi
jl 0x100f8d00
jg 0x100f8cf7
cmp dword [edi + 0x88], esi
jbe 0x100f8d00
mov edx, edi
mov ecx, ebx
call fcn.10054e00
mov ecx, edi
call fcn.10052a30
mov byte [edi + 0x97], 1
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], esi
mov word [edi + 0x94], 0xff02
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x1c], 1
mov dword [edi + 0x30], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
cmp byte [ebx + 0x57], 0
jne 0x100f8d45
test eax, eax
jne 0x100f8d45
xor edi, edi
jmp 0x100f8d50
mov edx, eax
mov ecx, ebx
call fcn.10028630
mov edi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100f8d61
push eax
call dword [0x10178a90]
add esp, 4
cmp dword [esp + 0x14], esi
jne 0x100f8db2
mov dword [esp + 0x14], edi
test edi, edi
jne 0x100f8db2
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push edi
push eax
lea edx, [edi + 0x1f]
call fcn.100ee4e0
mov esi, dword [esp + 0x2c]
mov edi, eax
add esp, 8
test edi, edi
jne 0x100f8db6
push dword [ebp + 0xc]
push dword [ebp + 8]
push 2
push esi
call fcn.10057670
mov eax, dword [esp + 0x30]
add esp, 0x10
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov byte [eax + 0xf0], 1
jmp 0x100f8dd0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov byte [eax + 0xf0], 1
test edi, edi
jne 0x100f9068
nop
cmp ebx, dword [esp + 0x1c]
jge 0x100f9064
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ebx*4]
cmp eax, ebx
je 0x100f9057
cdq
push edx
push eax
push 3
push esi
call fcn.10057670
mov eax, ebx
cdq
push edx
push eax
push 1
push esi
call fcn.10057670
add esp, 0x20
xor edi, edi
test esi, esi
jne 0x100f8e1b
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
jmp 0x100f8e3b
cmp dword [esi], edi
jne 0x100f8e35
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
mov eax, 1
jmp 0x100f8e37
xor eax, eax
test eax, eax
je 0x100f8e5b
push 0x10167d54
push 0x160fd
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
jmp 0x100f8ed3
mov ebx, dword [esi]
mov dword [esp + 0x24], ebx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100f8e72
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, esi
call fcn.10055c90
cmp eax, 0x11
jne 0x100f8ebe
nop
mov eax, edi
inc edi
cmp eax, 0x32
jge 0x100f8eba
mov ebx, dword [esi + 0x20]
mov ecx, esi
call fcn.1009fff0
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x100f8ee4
push esi
call fcn.10054fa0
add esp, 4
test ebx, ebx
js 0x100f8eae
mov byte [esi + 0x95], 0xfe
mov ecx, esi
call fcn.10055c90
cmp eax, 0x11
je 0x100f8e80
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100f8ecf
push eax
call dword [0x10178a90]
add esp, 4
mov ebx, dword [esp + 0x14]
test esi, esi
jne 0x100f8fa6
mov dword [esp + 0x14], esi
jmp 0x100f9053
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x124]
test ecx, ecx
jne 0x100f8ef6
xor edi, edi
jmp 0x100f8f25
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100f8f13
cmp byte [ecx + 0x12], 1
jne 0x100f8f13
mov edi, dword [ecx + 8]
jmp 0x100f8f25
test dl, 1
je 0x100f8f1c
xor edi, edi
jmp 0x100f8f25
mov dl, 1
call fcn.1004f390
mov edi, eax
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x100f8f33
mov ecx, ebx
call fcn.10027de0
cmp byte [ebx + 0x57], 0
jne 0x100f8f93
test edi, edi
jne 0x100f8f41
xor eax, eax
jmp 0x100f8f7d
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f8f46
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, ebx
push eax
mov dword [esp + 0x3c], eax
call fcn.10028280
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x100f8f7d
push dword [esp + 0x34]
push edi
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esi + 0x7c], eax
call fcn.10028630
mov dword [esi + 0x24], eax
jmp 0x100f8ebe
mov dword [esi + 0x7c], 0
mov dword [esi + 0x24], 7
jmp 0x100f8ebe
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100f8fb9
push eax
call dword [0x10178a88]
add esp, 4
cmp dword [esi + 0x8c], 0
jl 0x100f8fd6
jg 0x100f8fcd
cmp dword [esi + 0x88], 0
jbe 0x100f8fd6
mov edx, esi
mov ecx, edi
call fcn.10054e00
mov ecx, esi
call fcn.10052a30
mov byte [esi + 0x97], 1
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov word [esi + 0x94], 0xff02
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x1c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
cmp byte [edi + 0x57], 0
jne 0x100f9035
test eax, eax
jne 0x100f9035
mov dword [esp + 0x14], eax
jmp 0x100f9042
mov edx, eax
mov ecx, edi
call fcn.10028630
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100f9053
push eax
call dword [0x10178a90]
add esp, 4
mov edi, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x14], ebx
test edi, edi
je 0x100f8dd0
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov byte [eax + 0xf0], 0
test ebx, ebx
je 0x100f90d9
cmp dword [0x10178a38], 0
je 0x100f90cf
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x100f9093
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100f90d9
push eax
call dword [0x10178a90]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x10178a5c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret