Function at 0x1012aa20
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], edx
mov ebp, ecx
mov esi, dword [ebp]
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
lea ecx, [eax - 1]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x1012be6d
push dword [edx]
push dword [esi + 8]
push dword [esi + 4]
push str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d_ORDER_BY_1__2
call fcn.1002a830
add esp, 0x10
mov esi, eax
cmp dword [ebp + 0x2c], ebx
jne 0x1012aab3
test esi, esi
je 0x1012aaaa
mov ecx, dword [ebp]
lea eax, [esp + 0x1c]
push ebx
push eax
push ebx
mov ecx, dword [ecx]
mov edx, esi
push 0x85
push 0xffffffffffffffff
call fcn.1009fe60
mov ebx, dword [esp + 0x30]
add esp, 0x14
mov dword [ebp + 0x2c], eax
jmp 0x1012aab7
mov dword [ebp + 0x2c], 7
jmp 0x1012ab0f
test esi, esi
je 0x1012ab0f
cmp dword [0x10178a38], 0
je 0x1012ab05
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012aad3
push eax
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1012ab0f
push eax
call dword [0x10178a90]
jmp 0x1012ab0c
push esi
call dword [0x10178a5c]
add esp, 4
cmp dword [ebp + 0x2c], 0
jne 0x1012bdc6
nop dword [eax]
xor edi, edi
test ebx, ebx
je 0x1012bd93
cmp dword [ebx], edi
jne 0x1012ab42
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
lea eax, [edi + 1]
jmp 0x1012ab44
xor eax, eax
test eax, eax
jne 0x1012bda2
mov ebp, dword [ebx]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1012ab5f
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, ebx
call fcn.10055c90
mov esi, eax
cmp esi, 0x11
jne 0x1012ac7c
mov ecx, edi
inc edi
cmp ecx, 0x32
jge 0x1012ac7c
mov esi, dword [ebx + 0x20]
mov ecx, ebx
call fcn.1009fff0
mov ebx, eax
test ebx, ebx
jne 0x1012abb8
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.10054fa0
add esp, 4
test esi, esi
js 0x1012aba5
mov byte [ebx + 0x95], 0xfe
mov ecx, ebx
call fcn.10055c90
mov esi, eax
cmp esi, 0x11
je 0x1012ab71
jmp 0x1012ac7c
mov ecx, dword [ebp + 0x124]
test ecx, ecx
jne 0x1012abc6
xor esi, esi
jmp 0x1012abf5
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1012abe3
cmp byte [ecx + 0x12], 1
jne 0x1012abe3
mov esi, dword [ecx + 8]
jmp 0x1012abf5
test dl, 1
je 0x1012abec
xor esi, esi
jmp 0x1012abf5
mov dl, 1
call fcn.1004f390
mov esi, eax
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x1012ac07
mov ecx, ebp
call fcn.10027de0
cmp byte [ebp + 0x57], 0
jne 0x1012ac69
test esi, esi
jne 0x1012ac15
xor edi, edi
jmp 0x1012ac51
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1012ac20
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, ebp
push eax
mov dword [esp + 0x50], eax
call fcn.10028280
mov edi, eax
add esp, 8
test edi, edi
je 0x1012ac51
push dword [esp + 0x48]
push esi
push edi
call fcn.1013c1a0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov ecx, ebp
mov dword [eax + 0x7c], edi
call fcn.10028630
mov ebx, dword [esp + 0x1c]
mov esi, eax
jmp 0x1012ac79
mov ebx, dword [esp + 0x1c]
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1012ac8d
push eax
call dword [0x10178a90]
add esp, 4
cmp esi, 0x64
jne 0x1012bdc2
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012aca9
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [ebx + 0x78]
mov ebp, 1
test eax, eax
je 0x1012acc3
cmp bp, word [ebx + 0x90]
jae 0x1012acc3
add eax, 0x28
jmp 0x1012acdb
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov eax, 0x10162818
push eax
call fcn.10055100
mov ecx, dword [ebx]
add esp, 4
mov edx, dword [ebx + 0x24]
mov edi, eax
cmp byte [ecx + 0x57], 0
jne 0x1012acf9
test edx, edx
jne 0x1012acf9
xor eax, eax
jmp 0x1012acfe
call fcn.10028630
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012ad14
push eax
call dword [0x10178a90]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012ad27
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x1012ad3c
cmp bp, word [ebx + 0x90]
jae 0x1012ad3c
add ecx, 0x28
jmp 0x1012ad54
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1012ad6b
cmp byte [ecx + 0x12], 1
jne 0x1012ad6b
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x20], ebx
jmp 0x1012ada4
test al, 0x10
je 0x1012ad8b
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1012ad83
mov ebx, dword [ecx]
add ebx, edx
mov dword [esp + 0x20], ebx
jmp 0x1012ada4
mov ebx, edx
mov dword [esp + 0x20], ebx
jmp 0x1012ada4
test al, 1
je 0x1012ad97
xor ebx, ebx
mov dword [esp + 0x20], ebx
jmp 0x1012ada4
mov dl, 1
call fcn.1004fae0
mov ebx, eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1012adbb
test edx, edx
jne 0x1012adbb
xor eax, eax
jmp 0x1012adc0
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012add6
push eax
call dword [0x10178a90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012ade9
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1012ae03
mov ecx, 2
cmp cx, word [esi + 0x90]
jae 0x1012ae03
lea ecx, [eax + 0x50]
jmp 0x1012ae1b
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ecx, dword [esi]
mov ebp, eax
mov edx, dword [esi + 0x24]
mov dword [esp + 0x38], ebp
cmp byte [ecx + 0x57], 0
jne 0x1012ae39
test edx, edx
jne 0x1012ae39
xor eax, eax
jmp 0x1012ae3e
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012ae54
push eax
call dword [0x10178a90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012ae67
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1012ae81
mov ecx, 3
cmp cx, word [esi + 0x90]
jae 0x1012ae81
lea ecx, [eax + 0x78]
jmp 0x1012ae99
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x48], eax
cmp byte [ecx + 0x57], 0
jne 0x1012aeb5
test edx, edx
jne 0x1012aeb5
xor eax, eax
jmp 0x1012aeba
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1012aed0
push eax
call dword [0x10178a90]
add esp, 4
mov eax, dword [esp + 0x28]
cmp ebp, dword [eax + 4]
jl 0x1012bd80
mov eax, dword [eax]
xor esi, esi
cdq
mov ecx, eax
mov eax, ebp
shl ecx, 5
cdq
add esi, eax
adc ecx, edx
push ecx
mov ecx, dword [esp + 0x18]
push esi
call fcn.1011cda0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1012bdc2
mov ecx, dword [ebp + 4]
mov esi, dword [ebp + 8]
cmp ecx, esi
jg 0x1012af3b
test ebx, ebx
jne 0x1012af2b
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x4c], 5
jne 0x1012af2b
cmp ecx, esi
jne 0x1012af2b
cmp ecx, 4
je 0x1012b00b
mov eax, dword [esp + 0x14]
mov dword [eax + 0x2c], 0x10b
jmp 0x1012b00b
mov ebx, dword [ebp]
lea edx, [esp + 0x3c]
lea ecx, [ebx + esi]
call fcn.10137c20
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
add ecx, eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jge 0x1012aff1
cmp eax, esi
jge 0x1012aff1
lea ecx, [eax + ebx]
lea edx, [esp + 0x40]
call fcn.10137c20
add eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov edx, esi
mov ecx, dword [esp + 0x40]
cmp ecx, esi
cmovl edx, ecx
test edx, edx
jle 0x1012afe9
lea ecx, [ebx + eax]
sub edx, 4
jb 0x1012afa6
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1012afab
add ecx, 4
add edi, 4
sub edx, 4
jae 0x1012af95
cmp edx, 0xfffffffc
je 0x1012afdf
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x1012afd8
cmp edx, 0xfffffffd
je 0x1012afdf
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x1012afd8
cmp edx, 0xfffffffe
je 0x1012afdf
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x1012afd8
cmp edx, 0xffffffff
je 0x1012afdf
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x1012afdf
sbb eax, eax
or eax, 1
jmp 0x1012afe1
xor eax, eax
test eax, eax
jne 0x1012afef
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, esi
test eax, eax
jns 0x1012affe
mov eax, dword [esp + 0x14]
mov dword [eax + 0x2c], 0x10b
jmp 0x1012b002
mov eax, dword [esp + 0x14]
mov edx, ebp
mov ecx, eax
call fcn.1012a6e0
cmp dword [0x10178a38], 0
je 0x1012b059
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012b027
push eax
call dword [0x10178a88]
add esp, 4
push ebp
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebp
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1012b063
push eax
call dword [0x10178a90]
jmp 0x1012b060
push ebp
call dword [0x10178a5c]
add esp, 4
mov ebp, dword [esp + 0x14]
cmp dword [ebp + 0x2c], 0
jne 0x1012bdc6
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
inc edi
dec ebx
nop dword [eax + eax]
cmp edi, ebx
jg 0x1012b155
mov eax, dword [esp + 0x28]
xor esi, esi
mov eax, dword [eax]
cdq
mov ecx, eax
mov eax, edi
shl ecx, 5
cdq
add esi, eax
adc ecx, edx
push ecx
push esi
mov ecx, ebp
call fcn.1011ca20
mov esi, eax
add esp, 8
test esi, esi
je 0x1012b145
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jge 0x1012b0c2
mov dword [ebp + 0x2c], 0x10b
mov eax, dword [esp + 0x24]
inc eax
cmp edi, eax
jl 0x1012b0ed
mov eax, dword [esi]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
mov eax, 0x100
imul ecx, eax
xor eax, eax
add dx, cx
cmp ax, dx
je 0x1012b0ed
mov dword [ebp + 0x2c], 0x10b
cmp dword [0x10178a38], 0
je 0x1012b13b
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012b109
push eax
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1012b145
push eax
call dword [0x10178a90]
jmp 0x1012b142
push esi
call dword [0x10178a5c]
add esp, 4
inc edi
cmp dword [ebp + 0x2c], 0
je 0x1012b080
jmp 0x1012bdc6
cmp dword [esp + 0x48], 0
je 0x1012bd6b
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov eax, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x34], eax
cdq
mov esi, dword [esi]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
test ebx, ebx
jne 0x1012b56c
call fcn.100d8ee0
test eax, eax
jne 0x1012b54c
mov ecx, dword [esp + 0x18]
mov esi, edi
shl esi, 5
push ebx
lea eax, [esi + 0x28]
push eax
call fcn.10027f60
mov ebp, eax
add esp, 8
mov dword [esp + 0x64], ebp
test ebp, ebp
je 0x1012b548
mov eax, dword [esp + 0x20]
mov ecx, 0x40
imul ecx
xorps xmm0, xmm0
mov dword [esp + 0x18], ebp
mov ecx, eax
mov ebx, edx
mov eax, edi
cdq
add ecx, eax
lea eax, [ebp + 8]
adc ebx, edx
add ecx, 0x20
mov edx, dword [esp + 0x14]
adc ebx, 0
shld ebx, ecx, 0x1f
movups xmmword [eax + esi], xmm0
shl ecx, 0x1f
add ecx, dword [esp + 0x58]
movups xmmword [eax + esi + 0x10], xmm0
adc ebx, dword [esp + 0x5c]
add eax, esi
xor ebp, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], eax
cmp dword [edx + 0x2c], ebp
jne 0x1012b51d
mov ebx, dword [edx + 0x30]
lea edi, [edx + 0x30]
xor esi, esi
test ebx, ebx
je 0x1012b2aa
push dword [esp + 0x44]
mov dword [edi], esi
push ecx
push ebx
call fcn.10060ff0
mov esi, eax
mov dword [edi], ebx
add esp, 0xc
test esi, esi
je 0x1012b29b
mov dword [edi], ebp
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b26c
push eax
call dword [0x10178a88]
add esp, 4
mov edx, ebx
mov ecx, edi
call fcn.10027de0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b286
push eax
call dword [0x10178a90]
add esp, 4
push dword [esp + 0x48]
call fcn.10054ee0
mov edx, dword [esp + 0x18]
add esp, 4
lea edi, [edx + 0x30]
jmp 0x1012b29f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
cmp esi, 4
jne 0x1012b2aa
xor esi, esi
cmp dword [edi], ebp
jne 0x1012b2d2
test esi, esi
jne 0x1012b2d2
mov eax, dword [edx]
push edi
push esi
push dword [esp + 0x4c]
push ecx
push str.block
push dword [edx + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10060740
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1012b2e1
mov esi, 0x10b
jmp 0x1012b50b
test esi, esi
jne 0x1012b50b
mov eax, dword [edi]
test eax, eax
je 0x1012b2f8
cmp dword [eax + 0x10], ebp
je 0x1012b2f8
mov esi, dword [eax]
jmp 0x1012b2fa
xor esi, esi
mov dword [esp + 0x48], esi
call fcn.100d8ee0
test eax, eax
jne 0x1012b504
lea eax, [esi + 0x20]
push 0
push eax
call fcn.10027b10
mov edi, eax
add esp, 8
mov dword [esp + 0x44], edi
test edi, edi
je 0x1012b504
mov eax, dword [esp + 0x14]
lea ebp, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], ebp
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x1012b360
push 0x10167d54
push 0x18d34
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
lea esi, [ebx + 0x15]
jmp 0x1012b47b
mov edi, dword [ebx + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b374
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
test esi, esi
js 0x1012b43c
cmp esi, dword [ebx]
jg 0x1012b43c
test eax, eax
jne 0x1012b397
lea esi, [eax + 4]
jmp 0x1012b441
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1012b3b1
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1012b3b1
call fcn.1003fd90
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
cmp byte [ecx], 0
jne 0x1012b3ca
push 0
push ebp
push esi
call fcn.10044b10
add esp, 0xc
jmp 0x1012b3d4
push ebp
push esi
call fcn.10044f00
add esp, 8
mov esi, eax
mov eax, dword [ebx + 0xc]
mov ebp, esi
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1012b3ef
add dword [ecx + 0xc], 0xffffffff
jne 0x1012b3ef
call fcn.1003fd70
mov eax, dword [esp + 0x2c]
cmp esi, 4
jne 0x1012b41f
cmp byte [eax + 0x97], 1
jb 0x1012b40c
mov ecx, eax
call fcn.10052a30
mov eax, dword [esp + 0x2c]
mov ecx, eax
call fcn.10052b10
mov dword [ebx + 0x10], 0
mov dword [edi + 0x40], ebp
jmp 0x1012b444
mov dword [eax + 0x24], esi
mov esi, ebp
mov dword [edi + 0x40], ebp
test ebp, ebp
jne 0x1012b444
cmp dword [edi + 0x124], ebp
jne 0x1012b444
mov dword [edi + 0x44], 0xffffffff
jmp 0x1012b44d
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.1002b6b0
cmp byte [edi + 0x57], 0
jne 0x1012b457
test esi, esi
je 0x1012b462
mov edx, esi
mov ecx, edi
call fcn.10028630
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b473
push eax
call dword [0x10178a90]
add esp, 4
test esi, esi
je 0x1012b4d8
mov edi, dword [esp + 0x44]
cmp dword [0x10178a38], 0
je 0x1012b4cc
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012b497
push eax
call dword [0x10178a88]
add esp, 4
push edi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push edi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1012b509
push eax
call dword [0x10178a90]
add esp, 4
jmp 0x1012b509
push edi
call dword [0x10178a5c]
add esp, 4
jmp 0x1012b509
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp]
mov byte [ecx + eax], 0
mov eax, dword [ebp]
mov byte [ecx + eax + 1], 0
mov eax, dword [ebp]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
shl eax, 8
add ecx, eax
mov dword [ebp + 8], ecx
jmp 0x1012b50b
mov esi, 7
xor ebp, ebp
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
inc dword [eax + 0x48]
mov dword [eax + 0x2c], esi
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x30]
mov dword [eax], ebp
test ebp, ebp
je 0x1012b539
mov eax, dword [ebp]
test byte [eax], 1
mov eax, 1
cmove ebx, eax
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x64]
lea eax, [edi + 1]
mov ebp, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x1012b553
mov ebp, dword [esp + 0x14]
mov dword [ebp + 0x2c], 7
inc edi
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0x4c], edi
je 0x1012b197
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x18], ebx
jmp 0x1012b593
mov ebx, dword [esp + 0x18]
xor edi, edi
mov esi, dword [esp + 0x20]
mov dword [ebx + 4], esi
cmp dword [ebx], edi
jle 0x1012b597
lea esi, [ebx + 8]
mov dword [esp + 0x18], ebx
mov ecx, esi
call fcn.1011e4a0
inc edi
add esi, 0x20
cmp edi, dword [ebx]
jl 0x1012b584
mov esi, dword [esp + 0x20]
cmp dword [ebp + 0x2c], 0
je 0x1012b5aa
mov ecx, ebx
call fcn.1011e840
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edx, ebx
mov ecx, ebp
call fcn.1011e660
test eax, eax
jne 0x1012bd5a
mov eax, esi
cdq
mov esi, eax
shl esi, 5
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x18]
inc ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
cmp ecx, eax
jge 0x1012b979
nop
mov eax, ecx
cdq
mov ecx, eax
add ecx, 0
mov dword [esp + 0x4c], ecx
adc edx, esi
xor ebx, ebx
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x2c], ebx
jne 0x1012b95d
lea edi, [ebp + 0x30]
xor esi, esi
mov ebp, dword [edi]
test ebp, ebp
je 0x1012b676
push edx
push ecx
push ebp
mov dword [edi], ebx
call fcn.10060ff0
mov esi, eax
mov dword [edi], ebp
add esp, 0xc
test esi, esi
je 0x1012b667
mov dword [edi], ebx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b63a
push eax
call dword [0x10178a88]
add esp, 4
mov edx, ebp
mov ecx, edi
call fcn.10027de0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b654
push eax
call dword [0x10178a90]
add esp, 4
push dword [esp + 0x64]
call fcn.10054ee0
mov edi, dword [esp + 0x18]
add esp, 4
add edi, 0x30
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp esi, 4
jne 0x1012b676
xor esi, esi
mov ebp, dword [esp + 0x14]
cmp dword [edi], ebx
jne 0x1012b6a0
test esi, esi
jne 0x1012b6a0
mov eax, dword [ebp]
push edi
push esi
push edx
push ecx
push str.block
push dword [ebp + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10060740
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1012b6af
mov esi, 0x10b
jmp 0x1012b8d6
test esi, esi
jne 0x1012b8d6
mov eax, dword [edi]
test eax, eax
je 0x1012b6c6
cmp dword [eax + 0x10], ebx
je 0x1012b6c6
mov esi, dword [eax]
jmp 0x1012b6c8
xor esi, esi
mov dword [esp + 0x48], esi
call fcn.100d8ee0
test eax, eax
jne 0x1012b8cf
lea eax, [esi + 0x20]
push 0
push eax
call fcn.10027b10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1012b8cf
lea eax, [ebx + 0xc]
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov ebp, dword [ebp + 0x30]
test ebp, ebp
jne 0x1012b726
push 0x10167d54
push 0x18d34
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x1012b84d
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b73a
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
test esi, esi
js 0x1012b812
cmp esi, dword [ebp]
jg 0x1012b812
test eax, eax
jne 0x1012b75e
lea esi, [eax + 4]
jmp 0x1012b817
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1012b778
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1012b778
call fcn.1003fd90
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x1012b794
push 0
push eax
push esi
call fcn.10044b10
add esp, 0xc
jmp 0x1012b79e
push eax
push esi
call fcn.10044f00
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1012b7c1
add dword [eax + 0xc], 0xffffffff
jne 0x1012b7c1
mov ecx, eax
call fcn.1003fd70
mov ecx, esi
mov eax, dword [esp + 0x30]
cmp esi, 4
jne 0x1012b7f5
cmp byte [eax + 0x97], 1
jb 0x1012b7de
mov ecx, eax
call fcn.10052a30
mov eax, dword [esp + 0x30]
mov ecx, eax
call fcn.10052b10
mov eax, dword [esp + 0x4c]
mov dword [ebp + 0x10], 0
mov dword [edi + 0x40], eax
jmp 0x1012b81a
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [edi + 0x40], ecx
test ecx, ecx
jne 0x1012b81a
cmp dword [edi + 0x124], ecx
jne 0x1012b81a
mov dword [edi + 0x44], 0xffffffff
jmp 0x1012b823
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.1002b6b0
cmp byte [edi + 0x57], 0
jne 0x1012b82d
test esi, esi
je 0x1012b838
mov edx, esi
mov ecx, edi
call fcn.10028630
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b849
push eax
call dword [0x10178a90]
add esp, 4
test esi, esi
je 0x1012b8aa
cmp dword [0x10178a38], 0
je 0x1012b89e
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012b869
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 0x1012b8d4
push eax
call dword [0x10178a90]
add esp, 4
jmp 0x1012b8d4
push ebx
call dword [0x10178a5c]
add esp, 4
jmp 0x1012b8d4
mov eax, dword [ebx]
mov ecx, dword [esp + 0x48]
mov byte [ecx + eax], 0
mov eax, dword [ebx]
mov byte [ecx + eax + 1], 0
mov eax, dword [ebx]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
shl eax, 8
add ecx, eax
mov dword [ebx + 8], ecx
jmp 0x1012b8d6
mov esi, 7
xor ebx, ebx
mov ebp, dword [esp + 0x14]
inc dword [ebp + 0x48]
mov dword [ebp + 0x2c], esi
test ebx, ebx
je 0x1012b959
mov edx, dword [ebx]
mov eax, 0x100
movzx ecx, byte [edx]
imul ecx, eax
movzx eax, byte [edx + 1]
add cx, ax
je 0x1012b901
mov dword [ebp + 0x2c], 0x10b
cmp dword [0x10178a38], 0
je 0x1012b94f
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012b91d
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 0x1012b959
push eax
call dword [0x10178a90]
jmp 0x1012b956
push ebx
call dword [0x10178a5c]
add esp, 4
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x34], eax
cmp ecx, eax
jl 0x1012b5e0
cdq
mov ecx, eax
add ecx, 0
mov dword [esp + 0x4c], ecx
adc edx, esi
xor ebx, ebx
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x2c], ebx
jne 0x1012bd37
lea edi, [ebp + 0x30]
xor esi, esi
mov ebp, dword [edi]
test ebp, ebp
je 0x1012ba0d
push edx
push ecx
push ebp
mov dword [edi], ebx
call fcn.10060ff0
mov esi, eax
mov dword [edi], ebp
add esp, 0xc
test esi, esi
je 0x1012b9fe
mov dword [edi], ebx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b9d1
push eax
call dword [0x10178a88]
add esp, 4
mov edx, ebp
mov ecx, edi
call fcn.10027de0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012b9eb
push eax
call dword [0x10178a90]
add esp, 4
push dword [esp + 0x64]
call fcn.10054ee0
mov edi, dword [esp + 0x18]
add esp, 4
add edi, 0x30
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp esi, 4
jne 0x1012ba0d
xor esi, esi
mov ebp, dword [esp + 0x14]
cmp dword [edi], ebx
jne 0x1012ba37
test esi, esi
jne 0x1012ba37
mov eax, dword [ebp]
push edi
push esi
push edx
push ecx
push str.block
push dword [ebp + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10060740
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1012ba46
mov esi, 0x10b
jmp 0x1012bc6d
test esi, esi
jne 0x1012bc6d
mov eax, dword [edi]
test eax, eax
je 0x1012ba5d
cmp dword [eax + 0x10], ebx
je 0x1012ba5d
mov esi, dword [eax]
jmp 0x1012ba5f
xor esi, esi
mov dword [esp + 0x48], esi
call fcn.100d8ee0
test eax, eax
jne 0x1012bc66
lea eax, [esi + 0x20]
push 0
push eax
call fcn.10027b10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1012bc66
lea eax, [ebx + 0xc]
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov ebp, dword [ebp + 0x30]
test ebp, ebp
jne 0x1012babd
push 0x10167d54
push 0x18d34
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x1012bbe4
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012bad1
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
test esi, esi
js 0x1012bba9
cmp esi, dword [ebp]
jg 0x1012bba9
test eax, eax
jne 0x1012baf5
lea esi, [eax + 4]
jmp 0x1012bbae
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1012bb0f
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1012bb0f
call fcn.1003fd90
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x1012bb2b
push 0
push eax
push esi
call fcn.10044b10
add esp, 0xc
jmp 0x1012bb35
push eax
push esi
call fcn.10044f00
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1012bb58
add dword [eax + 0xc], 0xffffffff
jne 0x1012bb58
mov ecx, eax
call fcn.1003fd70
mov ecx, esi
mov eax, dword [esp + 0x30]
cmp esi, 4
jne 0x1012bb8c
cmp byte [eax + 0x97], 1
jb 0x1012bb75
mov ecx, eax
call fcn.10052a30
mov eax, dword [esp + 0x30]
mov ecx, eax
call fcn.10052b10
mov eax, dword [esp + 0x4c]
mov dword [ebp + 0x10], 0
mov dword [edi + 0x40], eax
jmp 0x1012bbb1
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [edi + 0x40], ecx
test ecx, ecx
jne 0x1012bbb1
cmp dword [edi + 0x124], ecx
jne 0x1012bbb1
mov dword [edi + 0x44], 0xffffffff
jmp 0x1012bbba
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.1002b6b0
cmp byte [edi + 0x57], 0
jne 0x1012bbc4
test esi, esi
je 0x1012bbcf
mov edx, esi
mov ecx, edi
call fcn.10028630
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012bbe0
push eax
call dword [0x10178a90]
add esp, 4
test esi, esi
je 0x1012bc41
cmp dword [0x10178a38], 0
je 0x1012bc35
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012bc00
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 0x1012bc6b
push eax
call dword [0x10178a90]
add esp, 4
jmp 0x1012bc6b
push ebx
call dword [0x10178a5c]
add esp, 4
jmp 0x1012bc6b
mov eax, dword [ebx]
mov ecx, dword [esp + 0x48]
mov byte [ecx + eax], 0
mov eax, dword [ebx]
mov byte [eax + ecx + 1], 0
mov eax, dword [ebx]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
shl eax, 8
add ecx, eax
mov dword [ebx + 8], ecx
jmp 0x1012bc6d
mov esi, 7
xor ebx, ebx
mov ebp, dword [esp + 0x14]
inc dword [ebp + 0x48]
mov dword [ebp + 0x2c], esi
test ebx, ebx
je 0x1012bd33
mov edx, dword [ebx]
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
add eax, ecx
cmp eax, dword [ebx + 8]
jge 0x1012bcd4
cmp dword [esp + 0x50], 5
jne 0x1012bc9d
test eax, eax
je 0x1012bcdb
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x20]
mov edi, dword [ecx + 0x24]
lea ecx, [edx + eax]
lea edx, [esp + 0x68]
call fcn.10137cb0
mov ecx, dword [esp + 0x6c]
cmp ecx, edi
jl 0x1012bcd4
mov eax, dword [esp + 0x68]
jg 0x1012bcc5
cmp eax, esi
jb 0x1012bcd4
cmp dword [esp + 0x50], 5
je 0x1012bcdb
cmp eax, esi
jne 0x1012bcd4
cmp ecx, edi
je 0x1012bcdb
mov dword [ebp + 0x2c], 0x10b
cmp dword [0x10178a38], 0
je 0x1012bd29
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012bcf7
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 0x1012bd33
push eax
call dword [0x10178a90]
jmp 0x1012bd30
push ebx
call dword [0x10178a5c]
add esp, 4
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, ebp
push 0
mov edx, ebx
call fcn.1011e550
add esp, 4
mov edx, ebx
mov ecx, ebp
call fcn.1011e660
test eax, eax
je 0x1012b5c7
mov ecx, ebx
call fcn.1011e840
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jmp 0x1012bd84
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jmp 0x1012bd84
mov ebp, dword [esp + 0x14]
cmp dword [ebp + 0x2c], 0
jne 0x1012bdc6
mov ebx, dword [esp + 0x1c]
jmp 0x1012ab20
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
jmp 0x1012bdc6
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x1012bdd5
xor edi, edi
jmp 0x1012be64
mov esi, dword [ebx]
test esi, esi
jne 0x1012be0a
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
push 0x10167d54
push 0x15deb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x1c
lea edi, [esi + 0x15]
jmp 0x1012be64
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1012be1b
push eax
call dword [0x10178a88]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x1012be38
jg 0x1012be2f
cmp dword [ebx + 0x88], 0
jbe 0x1012be38
mov edx, ebx
mov ecx, esi
call fcn.10054e00
mov ecx, ebx
call fcn.10052a30
mov ecx, ebx
mov edi, eax
call fcn.10052b10
cmp byte [esi + 0x57], 0
jne 0x1012be52
test edi, edi
je 0x1012be5d
mov edx, edi
mov ecx, esi
call fcn.10028630
mov edi, eax
mov ecx, esi
call fcn.100da2a0
cmp dword [ebp + 0x2c], 0
jne 0x1012be6d
mov dword [ebp + 0x2c], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret