Function at 0x100e7420
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.10129b70
add esp, 0xc
shl esi, 2
call fcn.100ca320
test eax, eax
je 0x100e746d
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.1001e500
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x100e748a
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push eax
call fcn.10129b70
add esp, 0xc
lea eax, [esp + 0x1c]
mov edx, 0xc
mov ecx, edi
push 0
push eax
call fcn.100df930
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
jne 0x100e7c35
push dword [ebp + 0xc]
mov ebx, dword [esp + 0x20]
push dword [ebp + 8]
push 1
push ebx
call fcn.1004b390
add esp, 0x10
mov dword [esp + 0x1c], esi
xor edi, edi
test ebx, ebx
je 0x100e7b40
cmp dword [ebx], edi
jne 0x100e74f5
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021710
add esp, 8
lea eax, [edi + 1]
jmp 0x100e74f7
xor eax, eax
test eax, eax
jne 0x100e7b4f
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7516
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, ebx
call fcn.10049b40
mov esi, eax
cmp esi, 0x11
jne 0x100e7733
mov ecx, edi
inc edi
mov dword [esp + 0x18], edi
cmp ecx, 0x32
jge 0x100e7733
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.10092ad0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x100e7669
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.1004bc30
mov dword [esi + 0x24], 0
cmp byte [esi + 0x95], 1
jb 0x100e7630
mov ecx, esi
call fcn.10046b70
mov ecx, esi
call fcn.10046c50
push ebx
call fcn.10048db0
add esp, 4
cmp dword [esp + 0x14], 0
jl 0x100e764e
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.10049b40
mov esi, eax
cmp esi, 0x11
jne 0x100e7733
mov edi, dword [esp + 0x18]
jmp 0x100e7528
cmp edi, 7
jne 0x100e7675
mov ecx, esi
call fcn.1001ef40
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100e7687
xor esi, esi
jmp 0x100e76ba
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e76a4
cmp byte [ecx + 0x12], 1
jne 0x100e76a4
mov esi, dword [ecx + 8]
jmp 0x100e76b6
test dl, 1
je 0x100e76ad
xor esi, esi
jmp 0x100e76b6
mov dl, 1
call fcn.10043540
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x100e76c8
mov ecx, eax
call fcn.1001e7d0
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x57], 0
jne 0x100e778f
test esi, esi
jne 0x100e76de
xor eax, eax
jmp 0x100e7720
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e76e7
sub ecx, dword [esp + 0x14]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x1c], eax
call fcn.1001ec70
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x100e7720
push dword [esp + 0x14]
push esi
push eax
call fcn.1012b000
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [ebx + 0x7c], eax
call fcn.1001f020
mov esi, eax
mov dword [ebx + 0x24], esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x100e7748
push eax
call dword [0x10165b90]
add esp, 4
cmp esi, 0x64
jne 0x100e7b6d
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jge 0x100e7b6d
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7772
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
mov esi, 4
test ecx, ecx
je 0x100e77a0
cmp si, word [ebx + 0x90]
jae 0x100e77a0
add ecx, 0xa0
jmp 0x100e77b8
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
jmp 0x100e7737
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100e77cb
cmp byte [ecx + 0x12], 1
jne 0x100e77cb
mov eax, dword [ecx + 0xc]
jmp 0x100e77fa
test al, 0x10
je 0x100e77e5
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100e77df
mov eax, dword [ecx]
add eax, edx
jmp 0x100e77fa
mov dword [esp + 0x10], edx
jmp 0x100e77fe
test al, 1
je 0x100e77f3
mov dword [esp + 0x10], 0
jmp 0x100e77fe
mov dl, 1
call fcn.10043c80
mov dword [esp + 0x10], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e7811
test edx, edx
jne 0x100e7811
xor eax, eax
jmp 0x100e7816
call fcn.1001f020
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e782c
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e783f
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100e7856
cmp si, word [ebx + 0x90]
jae 0x100e7856
add eax, 0xa0
jmp 0x100e786e
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov eax, 0x10150a48
push eax
call fcn.10048f10
mov ecx, dword [ebx]
add esp, 4
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x34], eax
cmp byte [ecx + 0x57], 0
jne 0x100e788e
test edx, edx
jne 0x100e788e
xor eax, eax
jmp 0x100e7893
call fcn.1001f020
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e78a9
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e78bc
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e78d6
mov eax, 3
cmp ax, word [ebx + 0x90]
jae 0x100e78d6
add ecx, 0x78
jmp 0x100e78ee
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e7901
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x28], esi
jmp 0x100e793e
test al, 8
je 0x100e7914
movsd xmm0, qword [ecx]
call fcn.10042880
mov dword [esp + 0x28], edx
jmp 0x100e793e
test al, 0x12
je 0x100e7929
cmp dword [ecx + 8], 0
je 0x100e7929
call fcn.100428b0
mov dword [esp + 0x28], edx
jmp 0x100e793e
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 0x100e7955
test edx, edx
jne 0x100e7955
xor eax, eax
jmp 0x100e795a
call fcn.1001f020
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7970
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7983
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e799d
mov eax, 2
cmp ax, word [ebx + 0x90]
jae 0x100e799d
add ecx, 0x50
jmp 0x100e79b5
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e79c8
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x14], esi
jmp 0x100e7a05
test al, 8
je 0x100e79db
movsd xmm0, qword [ecx]
call fcn.10042880
mov dword [esp + 0x14], edx
jmp 0x100e7a05
test al, 0x12
je 0x100e79f0
cmp dword [ecx + 8], 0
je 0x100e79f0
call fcn.100428b0
mov dword [esp + 0x14], edx
jmp 0x100e7a05
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 0x100e7a1c
test edx, edx
jne 0x100e7a1c
xor eax, eax
jmp 0x100e7a21
call fcn.1001f020
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7a37
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7a4a
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e7a64
mov eax, 1
cmp ax, word [ebx + 0x90]
jae 0x100e7a64
add ecx, 0x28
jmp 0x100e7a7c
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e7a8b
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
jmp 0x100e7ac4
test al, 8
je 0x100e7a9e
movsd xmm0, qword [ecx]
call fcn.10042880
mov esi, eax
mov edi, edx
jmp 0x100e7ac4
test al, 0x12
je 0x100e7ab3
cmp dword [ecx + 8], 0
je 0x100e7ab3
call fcn.100428b0
mov esi, eax
mov edi, edx
jmp 0x100e7ac4
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 0x100e7ad7
test edx, edx
jne 0x100e7ad7
xor eax, eax
jmp 0x100e7adc
call fcn.1001f020
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7af2
push eax
call dword [0x10165b90]
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.100e1d40
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 0x100e74d3
jmp 0x100e7b6d
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021710
add esp, 8
push 0x10155e9c
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
test ebx, ebx
jne 0x100e7b83
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 0x100e7b96
push eax
call dword [0x10165b88]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100e7bb3
jg 0x100e7baa
cmp dword [ebx + 0x88], 0
jbe 0x100e7bb3
mov edx, ebx
mov ecx, esi
call fcn.10048c10
mov ecx, ebx
call fcn.10046b70
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 0x100e7c10
test eax, eax
jne 0x100e7c10
xor edi, edi
jmp 0x100e7c1b
mov edx, eax
mov ecx, esi
call fcn.1001f020
mov edi, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100e7c2c
push ecx
call dword [0x10165b90]
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