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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov edx, dword [ebp]
xorps xmm0, xmm0
mov dword [esp + 0x18], ebp
xor esi, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], edx
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x3c], ebp
call fcn.10130b30
mov ebx, eax
test ebx, ebx
jne 0x10131268
lea edx, [esi + 1]
mov ecx, ebp
call fcn.10130650
mov ebx, eax
test ebx, ebx
jne 0x10131268
lea edi, [ebp + 0x44]
mov dword [esp + 0x14], ebx
cmp dword [edi], ebx
jne 0x10130cc6
mov ebx, dword [ebp]
push dword [ebx + 0x28]
push dword [ebx + 0x38]
push str.SELECT__s_FROM__s_AS_T
call fcn.100294e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10130c44
mov esi, dword [edi]
push esi
call fcn.10053c90
add esp, 4
mov ebx, 7
jmp 0x10131268
mov eax, dword [ebp]
mov edx, esi
push 0
push edi
push 0
inc dword [eax + 0x44]
mov ecx, dword [ebx]
push 0x85
push 0xffffffffffffffff
call fcn.1009d7f0
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp]
mov dword [esp + 0x14], ebx
dec dword [eax + 0x44]
cmp dword [0x10177b48], 0
je 0x10130cbc
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10130c8a
push eax
call dword [0x10177b98]
add esp, 4
push esi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push esi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10130cc6
push eax
call dword [0x10177ba0]
jmp 0x10130cc3
push esi
call dword [0x10177b6c]
add esp, 4
mov esi, dword [edi]
push esi
call fcn.10053c90
add esp, 4
test ebx, ebx
jne 0x10131268
nop dword [eax]
xor ebx, ebx
test esi, esi
je 0x10131237
cmp dword [esi], ebx
jne 0x10130d02
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.100296a0
add esp, 8
lea eax, [ebx + 1]
jmp 0x10130d04
xor eax, eax
test eax, eax
jne 0x10131246
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10130d23
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, esi
call fcn.10054980
mov edi, eax
cmp edi, 0x11
jne 0x10130d6f
mov ecx, ebx
inc ebx
cmp ecx, 0x32
jge 0x10130d6f
mov edi, dword [esi + 0x20]
mov ecx, esi
call fcn.1009d980
mov ebp, eax
test ebp, ebp
jne 0x10130df9
push esi
call fcn.10053c90
add esp, 4
test edi, edi
js 0x10130d61
mov byte [esi + 0x95], 0xfe
mov ecx, esi
call fcn.10054980
mov edi, eax
cmp edi, 0x11
je 0x10130d31
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10130d84
push eax
call dword [0x10177ba0]
add esp, 4
cmp edi, 0x64
jne 0x10131264
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10130da0
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10130db2
xor eax, eax
cmp ax, word [esi + 0x90]
jb 0x10130dca
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
call fcn.1004d340
mov ecx, dword [esi]
mov edi, edx
mov edx, dword [esi + 0x24]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
cmp byte [ecx + 0x57], 0
jne 0x10130ec2
test edx, edx
jne 0x10130ec2
xor eax, eax
jmp 0x10130ec7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x10130e0b
xor edi, edi
jmp 0x10130e3e
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10130e28
cmp byte [ecx + 0x12], 1
jne 0x10130e28
mov edi, dword [ecx + 8]
jmp 0x10130e3a
test dl, 1
je 0x10130e31
xor edi, edi
jmp 0x10130e3a
mov dl, 1
call fcn.1004e000
mov edi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x10130e4c
mov ecx, eax
call fcn.10026a90
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x57], 0
jne 0x10130eae
test edi, edi
jne 0x10130e5e
xor ebx, ebx
jmp 0x10130e96
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10130e63
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x28], eax
call fcn.10026f30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10130e96
push dword [esp + 0x20]
push edi
push ebx
call fcn.10139d00
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, ebp
mov dword [esi + 0x7c], ebx
call fcn.100272e0
mov edi, eax
mov dword [esi + 0x24], edi
jmp 0x10130d6f
mov edi, 7
mov dword [esi + 0x7c], 0
mov dword [esi + 0x24], edi
jmp 0x10130d73
call fcn.100272e0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10130edd
push eax
call dword [0x10177ba0]
add esp, 4
mov ecx, dword [esp + 0x18]
xor ebp, ebp
push edi
push ebx
xor edx, edx
mov dword [esp + 0x3c], ebp
mov ecx, dword [ecx + 4]
call fcn.101268f0
mov edi, eax
xor ecx, ecx
add esp, 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ecx
test edi, edi
jne 0x10131204
nop word [eax + eax]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [eax + 0xc]
jge 0x10131200
mov dword [esp + 0x44], 0
mov eax, dword [eax + 0x14]
cmp byte [ecx + eax], 0
jne 0x101310cf
mov eax, dword [esi]
lea edi, [ecx + 1]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10130f48
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10130f6c
movzx eax, word [esi + 0x90]
cmp edi, eax
jge 0x10130f6c
test edi, edi
js 0x10130f6c
lea eax, [edi + edi*4]
lea ecx, [ecx + eax*8]
test ecx, ecx
jne 0x10130f84
xor ebx, ebx
jmp 0x10130fb3
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10130fa1
cmp byte [ecx + 0x12], 1
jne 0x10130fa1
mov ebx, dword [ecx + 8]
jmp 0x10130fb3
test dl, 1
je 0x10130faa
xor ebx, ebx
jmp 0x10130fb3
mov dl, 1
call fcn.1004e000
mov ebx, eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x10130fc6
test edx, edx
jne 0x10130fc6
xor eax, eax
jmp 0x10130fcb
call fcn.100272e0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10130fe1
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, dword [esi]
mov edi, dword [esp + 0x40]
inc edi
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10130ff9
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10131017
movzx eax, word [esi + 0x90]
cmp edi, eax
jge 0x10131017
test edi, edi
js 0x10131017
lea eax, [edi + edi*4]
lea ecx, [ecx + eax*8]
jmp 0x1013102f
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
movzx eax, word [ecx + 0x10]
test al, 2
je 0x10131042
cmp byte [ecx + 0x12], 1
jne 0x10131042
mov edi, dword [ecx + 0xc]
jmp 0x1013106b
test al, 0x10
je 0x1013105a
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x10131056
mov edi, dword [ecx]
add edi, edx
jmp 0x1013106b
mov edi, edx
jmp 0x1013106b
test al, 1
je 0x10131062
xor edi, edi
jmp 0x1013106b
mov dl, 1
call fcn.1004e750
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1013107e
test edx, edx
jne 0x1013107e
xor eax, eax
jmp 0x10131083
call fcn.100272e0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10131099
push eax
call dword [0x10177ba0]
add esp, 4
test ebx, ebx
jne 0x101310a5
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x101310cb
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push 0x1012f960
push edi
push ebx
mov eax, dword [edx + 0x40]
push 4
push ecx
push dword [edx + 0x3c]
mov eax, dword [eax + 8]
call eax
add esp, 0x18
mov dword [esp + 0x14], eax
mov edi, eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add ebp, 9
cdq
mov ebx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ebx
cmp ebp, dword [esp + 0x38]
jbe 0x10131159
mov edx, dword [esp + 0x38]
cmp edx, ebp
jae 0x1013113f
test edx, edx
mov eax, 0x40
cmovne eax, edx
cdq
mov ebx, edx
mov edi, eax
test ebx, ebx
ja 0x10131118
jb 0x10131108
cmp edi, ebp
jae 0x10131118
shld ebx, edi, 1
add edi, edi
test ebx, ebx
jb 0x10131108
ja 0x10131118
cmp edi, ebp
jb 0x10131108
call fcn.100d6670
test eax, eax
jne 0x10131184
mov ecx, dword [esp + 0x30]
push ebx
push edi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x10131184
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x14], edi
test eax, eax
jne 0x101311d7
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
add ecx, ebp
test edx, edx
ja 0x101311c1
jb 0x1013116e
cmp ebx, 0x7f
ja 0x10131192
and bl, 0x7f
mov eax, 1
add ebp, eax
mov byte [ecx], bl
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], ebp
jmp 0x101311db
mov ecx, dword [esp + 0x40]
mov edi, 7
lea eax, [edi - 6]
jmp 0x10131145
test edx, edx
ja 0x101311c1
jb 0x101311a0
cmp ebx, 0x3fff
ja 0x101311c1
mov eax, ebx
and bl, 0x7f
shrd eax, edx, 7
mov byte [ecx + 1], bl
or al, 0x80
mov byte [ecx], al
mov eax, 2
mov ecx, dword [esp + 0x40]
add ebp, eax
mov dword [esp + 0x34], ebp
jmp 0x101311db
push edx
push ebx
call fcn.1002c880
mov ecx, dword [esp + 0x48]
add esp, 8
add ebp, eax
mov dword [esp + 0x34], ebp
jmp 0x101311db
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x44]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
test edi, edi
je 0x10130f10
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
add dword [ebp + 0x10], 1
adc dword [ebp + 0x14], 0
test edi, edi
jne 0x10131264
push dword [esp + 0x28]
lea edx, [esp + 0x34]
mov ecx, ebp
push ebx
call fcn.101303f0
mov ebx, eax
add esp, 8
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x10130ce0
jmp 0x10131268
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 ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x101312c8
cmp dword [0x10177b48], 0
je 0x101312be
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1013128c
push eax
call dword [0x10177b98]
add esp, 4
push ebp
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebp
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101312c8
push eax
call dword [0x10177ba0]
jmp 0x101312c5
push ebp
call dword [0x10177b6c]
add esp, 4
test esi, esi
je 0x10131379
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x101312e3
push eax
call dword [0x10177b98]
add esp, 4
cmp dword [esi + 0x8c], 0
jl 0x10131300
jg 0x101312f7
cmp dword [esi + 0x88], 0
jbe 0x10131300
mov edx, esi
mov ecx, edi
call fcn.10053af0
mov ecx, esi
call fcn.10051730
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 0x1013135d
test eax, eax
jne 0x1013135d
xor esi, esi
jmp 0x10131368
mov edx, eax
mov ecx, edi
call fcn.100272e0
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10131379
push eax
call dword [0x10177ba0]
add esp, 4
test ebx, ebx
jne 0x1013139c
test esi, esi
jne 0x10131392
mov ecx, dword [esp + 0x18]
call fcn.10130790
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret