Function at 0x100e7780
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
call fcn.100e18f0
test eax, eax
jne 0x100e8146
push dword [ebp + 0xe0]
xor ebx, ebx
mov dword [esp + 0x3c], eax
push str.SELECT__s
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], eax
call fcn.10021360
mov esi, eax
add esp, 8
test esi, esi
jne 0x100e77da
mov edi, 7
mov dword [esp + 0x18], edi
jmp 0x100e800f
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, esi
call fcn.100931f0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
cmp dword [0x10165af8], ebx
je 0x100e784e
mov eax, dword [0x10168b40]
test eax, eax
je 0x100e781c
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100e7858
push eax
call dword [0x10165b50]
jmp 0x100e7855
push esi
call dword [0x10165b1c]
add esp, 4
test edi, edi
jne 0x100e800b
mov eax, dword [ebp + 0x18]
mov ecx, 0xc
imul ecx
mov esi, eax
mov edi, edx
add esi, ecx
adc edi, ebx
call fcn.100cad40
test eax, eax
je 0x100e7895
mov ebx, dword [esp + 0x14]
xor eax, eax
mov edi, 7
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov esi, eax
jmp 0x100e8011
push edi
push esi
call fcn.1001e1a0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100e78bb
mov ebx, dword [esp + 0x14]
mov edi, 7
mov dword [esp + 0x18], edi
mov esi, eax
jmp 0x100e8011
push esi
mov esi, dword [esp + 0x20]
push 0
push esi
call fcn.1012aa20
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov ebx, dword [esp + 0x14]
shl ecx, 2
lea eax, [ecx + esi]
lea edx, [eax + 4]
add eax, 8
add eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
nop dword [eax + eax]
xor edi, edi
test ebx, ebx
je 0x100e7fd8
cmp dword [ebx], edi
jne 0x100e7912
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021520
add esp, 8
lea eax, [edi + 1]
jmp 0x100e7914
xor eax, eax
test eax, eax
jne 0x100e7fe7
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7933
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, ebx
call fcn.10049950
mov esi, eax
cmp esi, 0x11
jne 0x100e7b50
mov ecx, edi
inc edi
mov dword [esp + 0x24], edi
cmp ecx, 0x32
jge 0x100e7b50
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x30]
mov esi, dword [ebx]
mov edx, dword [ebx + 0xc8]
push 0
push ecx
mov dword [esp + 0x30], 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 0x100e7a86
mov esi, dword [esp + 0x30]
lea edi, [esp + 0x40]
mov ecx, 0x3a
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
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 + 0x30]
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 0x100e7a4d
mov ecx, esi
call fcn.10046980
mov ecx, esi
call fcn.10046a60
push ebx
call fcn.10048bc0
add esp, 4
cmp dword [esp + 0x28], 0
jl 0x100e7a6b
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.10049950
mov esi, eax
cmp esi, 0x11
jne 0x100e7b50
mov edi, dword [esp + 0x24]
jmp 0x100e7945
cmp edi, 7
jne 0x100e7a92
mov ecx, esi
call fcn.1001ebf0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100e7aa4
xor esi, esi
jmp 0x100e7ad7
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e7ac1
cmp byte [ecx + 0x12], 1
jne 0x100e7ac1
mov esi, dword [ecx + 8]
jmp 0x100e7ad3
test dl, 1
je 0x100e7aca
xor esi, esi
jmp 0x100e7ad3
mov dl, 1
call fcn.100433c0
mov esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x100e7ae5
mov ecx, eax
call fcn.1001e480
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x57], 0
jne 0x100e7bda
test esi, esi
jne 0x100e7afb
xor eax, eax
jmp 0x100e7b3d
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e7b04
sub ecx, dword [esp + 0x28]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x30], eax
call fcn.1001e920
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x100e7b3d
push dword [esp + 0x28]
push esi
push eax
call fcn.1012bec0
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, edi
mov dword [ebx + 0x7c], eax
call fcn.1001ecd0
mov esi, eax
mov dword [ebx + 0x24], esi
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x100e7b65
push eax
call dword [0x10165b50]
add esp, 4
cmp esi, 0x64
jne 0x100e7fce
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0x14], 0
je 0x100e7b8e
mov eax, dword [ebp + 0x18]
inc eax
push eax
push ebx
call fcn.1004a6d0
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x100e7ba1
push ecx
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e7bb3
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x100e7bcb
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 0x100e7bee
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
jmp 0x100e7c27
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
jmp 0x100e7b54
test al, 8
je 0x100e7c01
movsd xmm0, qword [ecx]
call fcn.100426d0
mov esi, eax
mov edi, edx
jmp 0x100e7c27
test al, 0x12
je 0x100e7c16
cmp dword [ecx + 8], 0
je 0x100e7c16
call fcn.10042700
mov esi, eax
mov edi, edx
jmp 0x100e7c27
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x18], edi
cmp byte [ecx + 0x57], 0
jne 0x100e7c3e
test edx, edx
jne 0x100e7c3e
xor eax, eax
jmp 0x100e7c43
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7c59
push eax
call dword [0x10165b50]
add esp, 4
mov ecx, dword [ebp + 0x114]
mov eax, dword [ebp + 0x110]
cmp edi, ecx
jl 0x100e7c9a
jg 0x100e7c6f
cmp esi, eax
jb 0x100e7c9a
cmp esi, eax
jne 0x100e7c80
cmp edi, ecx
jne 0x100e7c80
cmp dword [ebp + 0x11c], 0
je 0x100e7c9a
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0x118], eax
jne 0x100e7c9a
mov eax, dword [ebp + 0x10c]
cmp eax, dword [ebp + 0x108]
jle 0x100e7caf
mov ecx, ebp
call fcn.100e6530
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
jne 0x100e7cd5
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x114], edi
xor edi, edi
mov dword [ebp + 0x110], esi
mov dword [ebp + 0x118], eax
mov dword [ebp + 0x11c], 0
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
lea eax, [eax*4 + 4]
push eax
push 0
push esi
call fcn.1012aa20
add esp, 0xc
test edi, edi
jne 0x100e7ede
mov eax, dword [esp + 0x1c]
mov esi, 0x28
mov ecx, dword [esp + 0x20]
mov edi, 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
nop word [eax + eax]
lea edx, [edi - 1]
cmp edx, dword [ebp + 0x18]
jge 0x100e7ed6
mov eax, dword [ebp + 0x20]
cmp byte [edx + eax], 0
jne 0x100e7ec1
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7d4c
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e7d6a
movzx eax, word [ebx + 0x90]
cmp edi, eax
jge 0x100e7d6a
test edi, edi
js 0x100e7d6a
add ecx, esi
jne 0x100e7d82
xor esi, esi
jmp 0x100e7db1
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e7d9f
cmp byte [ecx + 0x12], 1
jne 0x100e7d9f
mov esi, dword [ecx + 8]
jmp 0x100e7db1
test dl, 1
je 0x100e7da8
xor esi, esi
jmp 0x100e7db1
mov dl, 1
call fcn.100433c0
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e7dc4
test edx, edx
jne 0x100e7dc4
xor eax, eax
jmp 0x100e7dc9
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7ddf
push eax
call dword [0x10165b50]
add esp, 4
push dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea eax, [edi - 1]
push eax
push esi
mov ecx, ebp
call fcn.100e14b0
mov dword [esp + 0x2c], eax
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7e11
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e7e2d
movzx eax, word [ebx + 0x90]
cmp edi, eax
jge 0x100e7e2d
test edi, edi
js 0x100e7e2d
add ecx, dword [esp + 0x28]
jmp 0x100e7e45
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 0x100e7e58
cmp byte [ecx + 0x12], 1
jne 0x100e7e58
mov esi, dword [ecx + 0xc]
jmp 0x100e7e81
test al, 0x10
je 0x100e7e70
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100e7e6c
mov esi, dword [ecx]
add esi, edx
jmp 0x100e7e81
mov esi, edx
jmp 0x100e7e81
test al, 1
je 0x100e7e78
xor esi, esi
jmp 0x100e7e81
mov dl, 1
call fcn.10043b00
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e7e94
test edx, edx
jne 0x100e7e94
xor eax, eax
jmp 0x100e7e99
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e7eaf
push eax
call dword [0x10165b50]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
add dword [ecx + eax*4], esi
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add dword [esp + 0x24], 4
add esi, 0x28
inc edi
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x100e7d20
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp byte [ebp + 0xee], 0
je 0x100e7efe
push esi
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.100e6aa0
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
jne 0x100e7f2f
inc dword [esp + 0x34]
xor edx, edx
cmp dword [ebp + 0x18], edx
jl 0x100e78f0
mov ecx, dword [esp + 0x38]
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 0x100e7f17
mov esi, dword [esp + 0x1c]
jmp 0x100e78f0
mov esi, dword [ebx]
test esi, esi
jne 0x100e7f6a
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021520
push 0x10156dc4
push 0x1572f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021520
mov esi, dword [esp + 0x38]
add esp, 0x1c
xor ebx, ebx
jmp 0x100e8011
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100e7f7b
push eax
call dword [0x10165b48]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100e7f98
jg 0x100e7f8f
cmp dword [ebx + 0x88], 0
jbe 0x100e7f98
mov edx, ebx
mov ecx, esi
call fcn.10048a20
mov ecx, ebx
call fcn.10046980
mov ecx, ebx
mov dword [esp + 0x30], eax
call fcn.10046a60
cmp byte [esi + 0x57], 0
mov edx, dword [esp + 0x30]
jne 0x100e7fb8
test edx, edx
je 0x100e7fbf
mov ecx, esi
call fcn.1001ecd0
mov ecx, esi
call fcn.100cc040
mov esi, dword [esp + 0x1c]
xor ebx, ebx
jmp 0x100e8011
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x100e8011
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
mov edi, dword [esp + 0x34]
add esp, 0x14
jmp 0x100e8011
mov ebx, dword [esp + 0x14]
xor esi, esi
cmp byte [ebp + 0xec], 0
je 0x100e8039
push dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push dword [esp + 0x40]
push edx
mov edx, ebp
call fcn.100e6c90
mov edi, dword [esp + 0x24]
add esp, 0xc
test esi, esi
je 0x100e8095
cmp dword [0x10165af8], 0
je 0x100e808b
mov eax, dword [0x10168b40]
test eax, eax
je 0x100e8059
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100e8095
push eax
call dword [0x10165b50]
jmp 0x100e8092
push esi
call dword [0x10165b1c]
add esp, 4
test ebx, ebx
je 0x100e8144
mov esi, dword [ebx]
test esi, esi
jne 0x100e80e1
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021520
push 0x10156dc4
push 0x1572f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021520
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 0x100e80f2
push eax
call dword [0x10165b48]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100e810f
jg 0x100e8106
cmp dword [ebx + 0x88], 0
jbe 0x100e810f
mov edx, ebx
mov ecx, esi
call fcn.10048a20
mov ecx, ebx
call fcn.10046980
mov ecx, ebx
mov ebp, eax
call fcn.10046a60
cmp byte [esi + 0x57], 0
jne 0x100e812d
test ebp, ebp
jne 0x100e812d
xor ebx, ebx
jmp 0x100e8138
mov edx, ebp
mov ecx, esi
call fcn.1001ecd0
mov ebx, eax
mov ecx, esi
call fcn.100cc040
test edi, edi
cmove edi, ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret