Function at 0x100e8880
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.1012ab60
add esp, 0xc
shl esi, 2
call fcn.100cb480
test eax, eax
je 0x100e88cd
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.1001e4e0
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x100e88ea
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push eax
call fcn.1012ab60
add esp, 0xc
lea eax, [esp + 0x1c]
mov edx, 0xc
mov ecx, edi
push 0
push eax
call fcn.100e0b90
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
jne 0x100e9095
push dword [ebp + 0xc]
mov ebx, dword [esp + 0x20]
push dword [ebp + 8]
push 1
push ebx
call fcn.1004b480
add esp, 0x10
mov dword [esp + 0x1c], esi
xor edi, edi
test ebx, ebx
je 0x100e8fa0
cmp dword [ebx], edi
jne 0x100e8955
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021740
add esp, 8
lea eax, [edi + 1]
jmp 0x100e8957
xor eax, eax
test eax, eax
jne 0x100e8faf
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8976
push eax
call dword [0x10166b48]
add esp, 4
mov ecx, ebx
call fcn.10049c30
mov esi, eax
cmp esi, 0x11
jne 0x100e8b93
mov ecx, edi
inc edi
mov dword [esp + 0x18], edi
cmp ecx, 0x32
jge 0x100e8b93
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.100937b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x100e8ac9
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.1004bd20
mov dword [esi + 0x24], 0
cmp byte [esi + 0x95], 1
jb 0x100e8a90
mov ecx, esi
call fcn.10046c60
mov ecx, esi
call fcn.10046d40
push ebx
call fcn.10048ea0
add esp, 4
cmp dword [esp + 0x14], 0
jl 0x100e8aae
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.10049c30
mov esi, eax
cmp esi, 0x11
jne 0x100e8b93
mov edi, dword [esp + 0x18]
jmp 0x100e8988
cmp edi, 7
jne 0x100e8ad5
mov ecx, esi
call fcn.1001ef20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100e8ae7
xor esi, esi
jmp 0x100e8b1a
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100e8b04
cmp byte [ecx + 0x12], 1
jne 0x100e8b04
mov esi, dword [ecx + 8]
jmp 0x100e8b16
test dl, 1
je 0x100e8b0d
xor esi, esi
jmp 0x100e8b16
mov dl, 1
call fcn.100436a0
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x100e8b28
mov ecx, eax
call fcn.1001e7b0
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x57], 0
jne 0x100e8bef
test esi, esi
jne 0x100e8b3e
xor eax, eax
jmp 0x100e8b80
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e8b47
sub ecx, dword [esp + 0x14]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x1c], eax
call fcn.1001ec50
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x100e8b80
push dword [esp + 0x14]
push esi
push eax
call fcn.1012bff0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [ebx + 0x7c], eax
call fcn.1001f000
mov esi, eax
mov dword [ebx + 0x24], esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x100e8ba8
push eax
call dword [0x10166b50]
add esp, 4
cmp esi, 0x64
jne 0x100e8fcd
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jge 0x100e8fcd
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8bd2
push eax
call dword [0x10166b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
mov esi, 4
test ecx, ecx
je 0x100e8c00
cmp si, word [ebx + 0x90]
jae 0x100e8c00
add ecx, 0xa0
jmp 0x100e8c18
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
jmp 0x100e8b97
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100e8c2b
cmp byte [ecx + 0x12], 1
jne 0x100e8c2b
mov eax, dword [ecx + 0xc]
jmp 0x100e8c5a
test al, 0x10
je 0x100e8c45
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100e8c3f
mov eax, dword [ecx]
add eax, edx
jmp 0x100e8c5a
mov dword [esp + 0x10], edx
jmp 0x100e8c5e
test al, 1
je 0x100e8c53
mov dword [esp + 0x10], 0
jmp 0x100e8c5e
mov dl, 1
call fcn.10043de0
mov dword [esp + 0x10], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100e8c71
test edx, edx
jne 0x100e8c71
xor eax, eax
jmp 0x100e8c76
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8c8c
push eax
call dword [0x10166b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8c9f
push eax
call dword [0x10166b48]
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100e8cb6
cmp si, word [ebx + 0x90]
jae 0x100e8cb6
add eax, 0xa0
jmp 0x100e8cce
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov eax, 0x10151a48
push eax
call fcn.10049000
mov ecx, dword [ebx]
add esp, 4
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x34], eax
cmp byte [ecx + 0x57], 0
jne 0x100e8cee
test edx, edx
jne 0x100e8cee
xor eax, eax
jmp 0x100e8cf3
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8d09
push eax
call dword [0x10166b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8d1c
push eax
call dword [0x10166b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e8d36
mov eax, 3
cmp ax, word [ebx + 0x90]
jae 0x100e8d36
add ecx, 0x78
jmp 0x100e8d4e
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e8d61
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x28], esi
jmp 0x100e8d9e
test al, 8
je 0x100e8d74
movsd xmm0, qword [ecx]
call fcn.100429b0
mov dword [esp + 0x28], edx
jmp 0x100e8d9e
test al, 0x12
je 0x100e8d89
cmp dword [ecx + 8], 0
je 0x100e8d89
call fcn.100429e0
mov dword [esp + 0x28], edx
jmp 0x100e8d9e
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 0x100e8db5
test edx, edx
jne 0x100e8db5
xor eax, eax
jmp 0x100e8dba
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8dd0
push eax
call dword [0x10166b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8de3
push eax
call dword [0x10166b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e8dfd
mov eax, 2
cmp ax, word [ebx + 0x90]
jae 0x100e8dfd
add ecx, 0x50
jmp 0x100e8e15
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e8e28
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x14], esi
jmp 0x100e8e65
test al, 8
je 0x100e8e3b
movsd xmm0, qword [ecx]
call fcn.100429b0
mov dword [esp + 0x14], edx
jmp 0x100e8e65
test al, 0x12
je 0x100e8e50
cmp dword [ecx + 8], 0
je 0x100e8e50
call fcn.100429e0
mov dword [esp + 0x14], edx
jmp 0x100e8e65
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 0x100e8e7c
test edx, edx
jne 0x100e8e7c
xor eax, eax
jmp 0x100e8e81
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8e97
push eax
call dword [0x10166b50]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8eaa
push eax
call dword [0x10166b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100e8ec4
mov eax, 1
cmp ax, word [ebx + 0x90]
jae 0x100e8ec4
add ecx, 0x28
jmp 0x100e8edc
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100e8eeb
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
jmp 0x100e8f24
test al, 8
je 0x100e8efe
movsd xmm0, qword [ecx]
call fcn.100429b0
mov esi, eax
mov edi, edx
jmp 0x100e8f24
test al, 0x12
je 0x100e8f13
cmp dword [ecx + 8], 0
je 0x100e8f13
call fcn.100429e0
mov esi, eax
mov edi, edx
jmp 0x100e8f24
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 0x100e8f37
test edx, edx
jne 0x100e8f37
xor eax, eax
jmp 0x100e8f3c
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100e8f52
push eax
call dword [0x10166b50]
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.100e30f0
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 0x100e8933
jmp 0x100e8fcd
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021740
add esp, 8
push 0x10156e9c
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021740
add esp, 0x14
test ebx, ebx
jne 0x100e8fe3
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 0x100e8ff6
push eax
call dword [0x10166b48]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100e9013
jg 0x100e900a
cmp dword [ebx + 0x88], 0
jbe 0x100e9013
mov edx, ebx
mov ecx, esi
call fcn.10048d00
mov ecx, ebx
call fcn.10046c60
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 0x100e9070
test eax, eax
jne 0x100e9070
xor edi, edi
jmp 0x100e907b
mov edx, eax
mov ecx, esi
call fcn.1001f000
mov edi, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100e908c
push ecx
call dword [0x10166b50]
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