Function at 0x10128390
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 + 0x24], edx
mov ebp, ecx
mov esi, dword [ebp]
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x14], 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 + 0x1c], ecx
test eax, eax
je 0x101297da
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.100294e0
add esp, 0x10
mov esi, eax
cmp dword [ebp + 0x2c], ebx
jne 0x10128423
test esi, esi
je 0x1012841a
mov ecx, dword [ebp]
lea eax, [esp + 0x14]
push ebx
push eax
push ebx
mov ecx, dword [ecx]
mov edx, esi
push 0x85
push 0xffffffffffffffff
call fcn.1009d7f0
mov ebx, dword [esp + 0x28]
add esp, 0x14
mov dword [ebp + 0x2c], eax
jmp 0x10128427
mov dword [ebp + 0x2c], 7
jmp 0x1012847f
test esi, esi
je 0x1012847f
cmp dword [0x10177b48], 0
je 0x10128475
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10128443
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 0x1012847f
push eax
call dword [0x10177ba0]
jmp 0x1012847c
push esi
call dword [0x10177b6c]
add esp, 4
cmp dword [ebp + 0x2c], 0
jne 0x10129733
nop dword [eax]
xor edi, edi
test ebx, ebx
je 0x10129700
cmp dword [ebx], edi
jne 0x101284b2
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.100296a0
add esp, 8
lea eax, [edi + 1]
jmp 0x101284b4
xor eax, eax
test eax, eax
jne 0x1012970f
mov ebp, dword [ebx]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101284cf
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, ebx
call fcn.10054980
mov esi, eax
cmp esi, 0x11
jne 0x101285ec
mov ecx, edi
inc edi
cmp ecx, 0x32
jge 0x101285ec
mov esi, dword [ebx + 0x20]
mov ecx, ebx
call fcn.1009d980
mov ebx, eax
test ebx, ebx
jne 0x10128528
mov ebx, dword [esp + 0x14]
push ebx
call fcn.10053c90
add esp, 4
test esi, esi
js 0x10128515
mov byte [ebx + 0x95], 0xfe
mov ecx, ebx
call fcn.10054980
mov esi, eax
cmp esi, 0x11
je 0x101284e1
jmp 0x101285ec
mov ecx, dword [ebp + 0x124]
test ecx, ecx
jne 0x10128536
xor esi, esi
jmp 0x10128565
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10128553
cmp byte [ecx + 0x12], 1
jne 0x10128553
mov esi, dword [ecx + 8]
jmp 0x10128565
test dl, 1
je 0x1012855c
xor esi, esi
jmp 0x10128565
mov dl, 1
call fcn.1004e000
mov esi, eax
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x10128577
mov ecx, ebp
call fcn.10026a90
cmp byte [ebp + 0x57], 0
jne 0x101285d9
test esi, esi
jne 0x10128585
xor edi, edi
jmp 0x101285c1
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10128590
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, ebp
push eax
mov dword [esp + 0x50], eax
call fcn.10026f30
mov edi, eax
add esp, 8
test edi, edi
je 0x101285c1
push dword [esp + 0x48]
push esi
push edi
call fcn.10139d00
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, ebx
mov ecx, ebp
mov dword [eax + 0x7c], edi
call fcn.100272e0
mov ebx, dword [esp + 0x14]
mov esi, eax
jmp 0x101285e9
mov ebx, dword [esp + 0x14]
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101285fd
push eax
call dword [0x10177ba0]
add esp, 4
cmp esi, 0x64
jne 0x1012972f
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10128619
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [ebx + 0x78]
mov ebp, 1
test eax, eax
je 0x10128633
cmp bp, word [ebx + 0x90]
jae 0x10128633
add eax, 0x28
jmp 0x1012864b
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov eax, 0x10161a88
push eax
call fcn.10053df0
mov ecx, dword [ebx]
add esp, 4
mov edx, dword [ebx + 0x24]
mov edi, eax
cmp byte [ecx + 0x57], 0
jne 0x10128669
test edx, edx
jne 0x10128669
xor eax, eax
jmp 0x1012866e
call fcn.100272e0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10128684
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10128697
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x101286ac
cmp bp, word [ebx + 0x90]
jae 0x101286ac
add ecx, 0x28
jmp 0x101286c4
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
movzx eax, word [ecx + 0x10]
test al, 2
je 0x101286db
cmp byte [ecx + 0x12], 1
jne 0x101286db
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x18], ebx
jmp 0x10128714
test al, 0x10
je 0x101286fb
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x101286f3
mov ebx, dword [ecx]
add ebx, edx
mov dword [esp + 0x18], ebx
jmp 0x10128714
mov ebx, edx
mov dword [esp + 0x18], ebx
jmp 0x10128714
test al, 1
je 0x10128707
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x10128714
mov dl, 1
call fcn.1004e750
mov ebx, eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1012872b
test edx, edx
jne 0x1012872b
xor eax, eax
jmp 0x10128730
call fcn.100272e0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10128746
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10128759
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x10128773
mov ecx, 2
cmp cx, word [esi + 0x90]
jae 0x10128773
lea ecx, [eax + 0x50]
jmp 0x1012878b
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 ebp, eax
mov edx, dword [esi + 0x24]
mov dword [esp + 0x30], ebp
cmp byte [ecx + 0x57], 0
jne 0x101287a9
test edx, edx
jne 0x101287a9
xor eax, eax
jmp 0x101287ae
call fcn.100272e0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101287c4
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101287d7
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x101287f1
mov ecx, 3
cmp cx, word [esi + 0x90]
jae 0x101287f1
lea ecx, [eax + 0x78]
jmp 0x10128809
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 edx, dword [esi + 0x24]
mov dword [esp + 0x48], eax
cmp byte [ecx + 0x57], 0
jne 0x10128825
test edx, edx
jne 0x10128825
xor eax, eax
jmp 0x1012882a
call fcn.100272e0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10128840
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, dword [esp + 0x24]
cmp ebp, dword [eax + 4]
jl 0x101296ed
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 + 0x14]
push esi
call fcn.1011a8e0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1012972f
mov ecx, dword [ebp + 4]
mov esi, dword [ebp + 8]
cmp ecx, esi
jg 0x101288ab
test ebx, ebx
jne 0x1012889b
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x4c], 5
jne 0x1012889b
cmp ecx, esi
jne 0x1012889b
cmp ecx, 4
je 0x1012897b
mov eax, dword [esp + 0x10]
mov dword [eax + 0x2c], 0x10b
jmp 0x1012897b
mov ebx, dword [ebp]
lea edx, [esp + 0x34]
lea ecx, [ebx + esi]
call fcn.10135610
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
add ecx, eax
mov eax, dword [esp + 0x34]
cmp ecx, eax
jge 0x10128961
cmp eax, esi
jge 0x10128961
lea ecx, [eax + ebx]
lea edx, [esp + 0x38]
call fcn.10135610
add eax, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x38]
cmp ecx, esi
cmovl edx, ecx
test edx, edx
jle 0x10128959
lea ecx, [ebx + eax]
sub edx, 4
jb 0x10128916
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1012891b
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10128905
cmp edx, 0xfffffffc
je 0x1012894f
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10128948
cmp edx, 0xfffffffd
je 0x1012894f
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10128948
cmp edx, 0xfffffffe
je 0x1012894f
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10128948
cmp edx, 0xffffffff
je 0x1012894f
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x1012894f
sbb eax, eax
or eax, 1
jmp 0x10128951
xor eax, eax
test eax, eax
jne 0x1012895f
mov ecx, dword [esp + 0x38]
mov eax, ecx
sub eax, esi
test eax, eax
jns 0x1012896e
mov eax, dword [esp + 0x10]
mov dword [eax + 0x2c], 0x10b
jmp 0x10128972
mov eax, dword [esp + 0x10]
mov edx, ebp
mov ecx, eax
call fcn.10128050
cmp dword [0x10177b48], 0
je 0x101289c9
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10128997
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 0x101289d3
push eax
call dword [0x10177ba0]
jmp 0x101289d0
push ebp
call dword [0x10177b6c]
add esp, 4
mov ebp, dword [esp + 0x10]
cmp dword [ebp + 0x2c], 0
jne 0x10129733
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
inc edi
dec ebx
nop dword [eax + eax]
cmp edi, ebx
jg 0x10128ac5
mov eax, dword [esp + 0x24]
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.1011a560
mov esi, eax
add esp, 8
test esi, esi
je 0x10128ab5
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jge 0x10128a32
mov dword [ebp + 0x2c], 0x10b
mov eax, dword [esp + 0x1c]
inc eax
cmp edi, eax
jl 0x10128a5d
mov edx, dword [esi]
mov eax, 0x100
movzx ecx, byte [edx]
imul ecx, eax
movzx eax, byte [edx + 1]
add cx, ax
xor eax, eax
cmp ax, cx
je 0x10128a5d
mov dword [ebp + 0x2c], 0x10b
cmp dword [0x10177b48], 0
je 0x10128aab
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10128a79
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 0x10128ab5
push eax
call dword [0x10177ba0]
jmp 0x10128ab2
push esi
call dword [0x10177b6c]
add esp, 4
inc edi
cmp dword [ebp + 0x2c], 0
je 0x101289f0
jmp 0x10129733
cmp dword [esp + 0x48], 0
je 0x101296d8
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x2c], eax
xor esi, esi
cdq
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
test edi, edi
jne 0x10128ed8
call fcn.100d6670
test eax, eax
jne 0x10128ebc
mov eax, esi
mov ecx, ebx
shl eax, 5
add eax, 0x28
push edi
push eax
call fcn.10026c10
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x10128ebc
mov eax, dword [esp + 0x20]
mov ecx, 0x40
imul ecx
xorps xmm0, xmm0
mov ecx, eax
mov ebx, edx
mov eax, esi
cdq
add ecx, eax
mov eax, esi
adc ebx, edx
mov edx, dword [esp + 0x10]
add ecx, 0x20
adc ebx, edi
shld ebx, ecx, 0x1f
shl ecx, 0x1f
add ecx, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
adc ebx, dword [esp + 0x5c]
xor ebp, ebp
shl eax, 5
add eax, 8
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
add eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
cmp dword [edx + 0x2c], ebp
jne 0x10128e95
mov ebx, dword [edx + 0x30]
lea edi, [edx + 0x30]
xor esi, esi
test ebx, ebx
je 0x10128c1a
push dword [esp + 0x3c]
mov dword [edi], esi
push ecx
push ebx
call fcn.1005f2e0
mov esi, eax
mov dword [edi], ebx
add esp, 0xc
test esi, esi
je 0x10128c0b
mov dword [edi], ebp
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10128bdc
push eax
call dword [0x10177b98]
add esp, 4
mov edx, ebx
mov ecx, edi
call fcn.10026a90
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10128bf6
push eax
call dword [0x10177ba0]
add esp, 4
push dword [esp + 0x40]
call fcn.10053bd0
mov edx, dword [esp + 0x14]
add esp, 4
lea edi, [edx + 0x30]
jmp 0x10128c0f
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
cmp esi, 4
jne 0x10128c1a
xor esi, esi
cmp dword [edi], ebp
jne 0x10128c42
test esi, esi
jne 0x10128c42
mov eax, dword [edx]
push edi
push esi
push dword [esp + 0x44]
push ecx
push str.block
push dword [edx + 4]
push dword [eax + 4]
push dword [eax]
call fcn.1005ea20
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x10128c51
mov esi, 0x10b
jmp 0x10128e7b
test esi, esi
jne 0x10128e7b
mov eax, dword [edi]
test eax, eax
je 0x10128c68
cmp dword [eax + 0x10], ebp
je 0x10128c68
mov esi, dword [eax]
jmp 0x10128c6a
xor esi, esi
mov dword [esp + 0x40], esi
call fcn.100d6670
test eax, eax
jne 0x10128e74
lea eax, [esi + 0x20]
push 0
push eax
call fcn.100267c0
mov edi, eax
add esp, 8
mov dword [esp + 0x3c], edi
test edi, edi
je 0x10128e74
mov eax, dword [esp + 0x10]
lea ebp, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], ebp
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x10128cd0
push 0x10166fc4
push 0x18d34
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
lea esi, [ebx + 0x15]
jmp 0x10128deb
mov edi, dword [ebx + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10128ce4
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
test esi, esi
js 0x10128dac
cmp esi, dword [ebx]
jg 0x10128dac
test eax, eax
jne 0x10128d07
lea esi, [eax + 4]
jmp 0x10128db1
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x10128d21
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x10128d21
call fcn.1003e950
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
cmp byte [ecx], 0
jne 0x10128d3a
push 0
push ebp
push esi
call fcn.10043720
add esp, 0xc
jmp 0x10128d44
push ebp
push esi
call fcn.10043b10
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 0x10128d5f
add dword [ecx + 0xc], 0xffffffff
jne 0x10128d5f
call fcn.1003e930
mov eax, dword [esp + 0x28]
cmp esi, 4
jne 0x10128d8f
cmp byte [eax + 0x97], 1
jb 0x10128d7c
mov ecx, eax
call fcn.10051730
mov eax, dword [esp + 0x28]
mov ecx, eax
call fcn.10051810
mov dword [ebx + 0x10], 0
mov dword [edi + 0x40], ebp
jmp 0x10128db4
mov dword [eax + 0x24], esi
mov esi, ebp
mov dword [edi + 0x40], ebp
test ebp, ebp
jne 0x10128db4
cmp dword [edi + 0x124], ebp
jne 0x10128db4
mov dword [edi + 0x44], 0xffffffff
jmp 0x10128dbd
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.1002a360
cmp byte [edi + 0x57], 0
jne 0x10128dc7
test esi, esi
je 0x10128dd2
mov edx, esi
mov ecx, edi
call fcn.100272e0
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10128de3
push eax
call dword [0x10177ba0]
add esp, 4
test esi, esi
je 0x10128e48
mov edi, dword [esp + 0x3c]
cmp dword [0x10177b48], 0
je 0x10128e3c
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10128e07
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10128e79
push eax
call dword [0x10177ba0]
add esp, 4
jmp 0x10128e79
push edi
call dword [0x10177b6c]
add esp, 4
jmp 0x10128e79
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
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 + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add ecx, eax
mov dword [ebp + 8], ecx
jmp 0x10128e7b
mov esi, 7
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
inc dword [eax + 0x48]
mov dword [eax + 0x2c], esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
mov dword [eax], ebp
test ebp, ebp
je 0x10128ead
mov eax, dword [ebp]
test byte [eax], 1
mov eax, 1
cmove edi, eax
mov dword [esp + 0x48], edi
mov ebp, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [ebx], eax
mov ebx, dword [esp + 0x18]
jmp 0x10128ec3
mov dword [ebp + 0x2c], 7
inc esi
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0x4c], esi
je 0x10128b05
mov dword [esp + 0x18], ebx
jmp 0x10128eff
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [ebx + 4], eax
cmp dword [ebx], edi
jle 0x10128eff
lea esi, [ebx + 8]
mov dword [esp + 0x18], ebx
nop dword [eax]
mov ecx, esi
call fcn.1011bfb0
inc edi
add esi, 0x20
cmp edi, dword [ebx]
jl 0x10128ef0
cmp dword [ebp + 0x2c], 0
je 0x10128f1c
mov ecx, ebx
call fcn.1011c330
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [ebp + 0x2c], 0
jne 0x101296c7
cmp dword [ebx + 0x10], 0
jne 0x101296c7
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x18]
inc ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], esi
cmp ecx, esi
jge 0x101292e9
mov eax, dword [esp + 0x20]
cdq
mov ebx, eax
shl ebx, 5
mov dword [esp + 0x5c], ebx
nop dword [eax]
mov eax, ecx
cdq
mov ecx, eax
add ecx, 0
mov dword [esp + 0x4c], ecx
adc edx, ebx
xor ebx, ebx
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x2c], ebx
jne 0x101292c9
lea edi, [ebp + 0x30]
xor esi, esi
mov ebp, dword [edi]
test ebp, ebp
je 0x10128fe6
push edx
push ecx
push ebp
mov dword [edi], ebx
call fcn.1005f2e0
mov esi, eax
mov dword [edi], ebp
add esp, 0xc
test esi, esi
je 0x10128fd7
mov dword [edi], ebx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10128faa
push eax
call dword [0x10177b98]
add esp, 4
mov edx, ebp
mov ecx, edi
call fcn.10026a90
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10128fc4
push eax
call dword [0x10177ba0]
add esp, 4
push dword [esp + 0x60]
call fcn.10053bd0
mov edi, dword [esp + 0x14]
add esp, 4
add edi, 0x30
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp esi, 4
jne 0x10128fe6
xor esi, esi
mov ebp, dword [esp + 0x10]
cmp dword [edi], ebx
jne 0x10129010
test esi, esi
jne 0x10129010
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.1005ea20
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1012901f
mov esi, 0x10b
jmp 0x10129246
test esi, esi
jne 0x10129246
mov eax, dword [edi]
test eax, eax
je 0x10129036
cmp dword [eax + 0x10], ebx
je 0x10129036
mov esi, dword [eax]
jmp 0x10129038
xor esi, esi
mov dword [esp + 0x48], esi
call fcn.100d6670
test eax, eax
jne 0x1012923f
lea eax, [esi + 0x20]
push 0
push eax
call fcn.100267c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1012923f
lea eax, [ebx + 0xc]
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov ebp, dword [ebp + 0x30]
test ebp, ebp
jne 0x10129096
push 0x10166fc4
push 0x18d34
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x101291bd
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x101290aa
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
test esi, esi
js 0x10129182
cmp esi, dword [ebp]
jg 0x10129182
test eax, eax
jne 0x101290ce
lea esi, [eax + 4]
jmp 0x10129187
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x101290e8
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x101290e8
call fcn.1003e950
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x10129104
push 0
push eax
push esi
call fcn.10043720
add esp, 0xc
jmp 0x1012910e
push eax
push esi
call fcn.10043b10
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 8]
cmp byte [edx + 9], 0
je 0x10129131
add dword [edx + 0xc], 0xffffffff
jne 0x10129131
mov ecx, edx
call fcn.1003e930
mov ecx, esi
mov eax, dword [esp + 0x28]
cmp esi, 4
jne 0x10129165
cmp byte [eax + 0x97], 1
jb 0x1012914e
mov ecx, eax
call fcn.10051730
mov eax, dword [esp + 0x28]
mov ecx, eax
call fcn.10051810
mov eax, dword [esp + 0x4c]
mov dword [ebp + 0x10], 0
mov dword [edi + 0x40], eax
jmp 0x1012918a
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [edi + 0x40], ecx
test ecx, ecx
jne 0x1012918a
cmp dword [edi + 0x124], ecx
jne 0x1012918a
mov dword [edi + 0x44], 0xffffffff
jmp 0x10129193
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.1002a360
cmp byte [edi + 0x57], 0
jne 0x1012919d
test esi, esi
je 0x101291a8
mov edx, esi
mov ecx, edi
call fcn.100272e0
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x101291b9
push eax
call dword [0x10177ba0]
add esp, 4
test esi, esi
je 0x1012921a
cmp dword [0x10177b48], 0
je 0x1012920e
mov eax, dword [0x1017ad00]
test eax, eax
je 0x101291d9
push eax
call dword [0x10177b98]
add esp, 4
push ebx
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebx
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10129244
push eax
call dword [0x10177ba0]
add esp, 4
jmp 0x10129244
push ebx
call dword [0x10177b6c]
add esp, 4
jmp 0x10129244
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 + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add ecx, eax
mov dword [ebx + 8], ecx
jmp 0x10129246
mov esi, 7
xor ebx, ebx
mov ebp, dword [esp + 0x10]
inc dword [ebp + 0x48]
mov dword [ebp + 0x2c], esi
test ebx, ebx
je 0x101292c9
mov edx, dword [ebx]
mov eax, 0x100
movzx ecx, byte [edx]
imul ecx, eax
movzx eax, byte [edx + 1]
add cx, ax
je 0x10129271
mov dword [ebp + 0x2c], 0x10b
cmp dword [0x10177b48], 0
je 0x101292bf
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1012928d
push eax
call dword [0x10177b98]
add esp, 4
push ebx
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebx
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101292c9
push eax
call dword [0x10177ba0]
jmp 0x101292c6
push ebx
call dword [0x10177b6c]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
inc ecx
mov dword [esp + 0x1c], ecx
mov esi, dword [eax + 0x18]
mov dword [esp + 0x2c], esi
cmp ecx, esi
jl 0x10128f50
mov eax, dword [esp + 0x20]
xor ebx, ebx
cdq
mov ecx, eax
mov eax, esi
shl ecx, 5
cdq
add ebx, eax
mov dword [esp + 0x48], ebx
adc ecx, edx
xor ebx, ebx
mov dword [esp + 0x4c], ecx
cmp dword [ebp + 0x2c], ebx
jne 0x101296b0
lea edi, [ebp + 0x30]
xor esi, esi
mov ebp, dword [edi]
test ebp, ebp
je 0x10129387
push ecx
push dword [esp + 0x4c]
mov dword [edi], ebx
push ebp
call fcn.1005f2e0
mov esi, eax
mov dword [edi], ebp
add esp, 0xc
test esi, esi
je 0x1012937c
mov dword [edi], ebx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012934f
push eax
call dword [0x10177b98]
add esp, 4
mov edx, ebp
mov ecx, edi
call fcn.10026a90
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10129369
push eax
call dword [0x10177ba0]
add esp, 4
push dword [esp + 0x60]
call fcn.10053bd0
mov edi, dword [esp + 0x14]
add esp, 4
add edi, 0x30
mov ecx, dword [esp + 0x4c]
cmp esi, 4
jne 0x10129387
xor esi, esi
mov ebp, dword [esp + 0x10]
cmp dword [edi], ebx
jne 0x101293b4
test esi, esi
jne 0x101293b4
mov eax, dword [ebp]
push edi
push esi
push ecx
push dword [esp + 0x54]
push str.block
push dword [ebp + 4]
push dword [eax + 4]
push dword [eax]
call fcn.1005ea20
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x101293c3
mov esi, 0x10b
jmp 0x101295ea
test esi, esi
jne 0x101295ea
mov esi, dword [edi]
test esi, esi
je 0x101293da
cmp dword [esi + 0x10], ebx
je 0x101293da
mov esi, dword [esi]
jmp 0x101293dc
xor esi, esi
mov dword [esp + 0x48], esi
call fcn.100d6670
test eax, eax
jne 0x101295e3
lea eax, [esi + 0x20]
push 0
push eax
call fcn.100267c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x101295e3
lea eax, [ebx + 0xc]
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov ebp, dword [ebp + 0x30]
test ebp, ebp
jne 0x1012943a
push 0x10166fc4
push 0x18d34
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x10129561
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012944e
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
test esi, esi
js 0x10129526
cmp esi, dword [ebp]
jg 0x10129526
test eax, eax
jne 0x10129472
lea esi, [eax + 4]
jmp 0x1012952b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1012948c
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1012948c
call fcn.1003e950
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x101294a8
push 0
push eax
push esi
call fcn.10043720
add esp, 0xc
jmp 0x101294b2
push eax
push esi
call fcn.10043b10
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 8]
cmp byte [edx + 9], 0
je 0x101294d5
add dword [edx + 0xc], 0xffffffff
jne 0x101294d5
mov ecx, edx
call fcn.1003e930
mov ecx, esi
mov eax, dword [esp + 0x28]
cmp esi, 4
jne 0x10129509
cmp byte [eax + 0x97], 1
jb 0x101294f2
mov ecx, eax
call fcn.10051730
mov eax, dword [esp + 0x28]
mov ecx, eax
call fcn.10051810
mov eax, dword [esp + 0x4c]
mov dword [ebp + 0x10], 0
mov dword [edi + 0x40], eax
jmp 0x1012952e
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [edi + 0x40], ecx
test ecx, ecx
jne 0x1012952e
cmp dword [edi + 0x124], ecx
jne 0x1012952e
mov dword [edi + 0x44], 0xffffffff
jmp 0x10129537
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.1002a360
cmp byte [edi + 0x57], 0
jne 0x10129541
test esi, esi
je 0x1012954c
mov edx, esi
mov ecx, edi
call fcn.100272e0
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1012955d
push eax
call dword [0x10177ba0]
add esp, 4
test esi, esi
je 0x101295be
cmp dword [0x10177b48], 0
je 0x101295b2
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1012957d
push eax
call dword [0x10177b98]
add esp, 4
push ebx
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebx
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101295e8
push eax
call dword [0x10177ba0]
add esp, 4
jmp 0x101295e8
push ebx
call dword [0x10177b6c]
add esp, 4
jmp 0x101295e8
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 0x101295ea
mov esi, 7
xor ebx, ebx
mov ebp, dword [esp + 0x10]
inc dword [ebp + 0x48]
mov dword [ebp + 0x2c], esi
test ebx, ebx
je 0x101296b0
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 0x10129651
cmp dword [esp + 0x50], 5
jne 0x1012961a
test eax, eax
je 0x10129658
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.101356a0
mov ecx, dword [esp + 0x6c]
cmp ecx, edi
jl 0x10129651
mov eax, dword [esp + 0x68]
jg 0x10129642
cmp eax, esi
jb 0x10129651
cmp dword [esp + 0x50], 5
je 0x10129658
cmp eax, esi
jne 0x10129651
cmp ecx, edi
je 0x10129658
mov dword [ebp + 0x2c], 0x10b
cmp dword [0x10177b48], 0
je 0x101296a6
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10129674
push eax
call dword [0x10177b98]
add esp, 4
push ebx
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebx
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101296b0
push eax
call dword [0x10177ba0]
jmp 0x101296ad
push ebx
call dword [0x10177b6c]
add esp, 4
mov ebx, dword [esp + 0x18]
mov ecx, ebp
push 0
mov edx, ebx
call fcn.1011c060
add esp, 4
jmp 0x10128f12
mov ecx, ebx
call fcn.1011c330
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
jmp 0x101296f1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
jmp 0x101296f1
mov ebp, dword [esp + 0x10]
cmp dword [ebp + 0x2c], 0
jne 0x10129733
mov ebx, dword [esp + 0x14]
jmp 0x10128490
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
jmp 0x10129733
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x10129742
xor edi, edi
jmp 0x101297d1
mov esi, dword [ebx]
test esi, esi
jne 0x10129777
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.100296a0
push 0x10166fc4
push 0x15deb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x1c
lea edi, [esi + 0x15]
jmp 0x101297d1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10129788
push eax
call dword [0x10177b98]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x101297a5
jg 0x1012979c
cmp dword [ebx + 0x88], 0
jbe 0x101297a5
mov edx, ebx
mov ecx, esi
call fcn.10053af0
mov ecx, ebx
call fcn.10051730
mov ecx, ebx
mov edi, eax
call fcn.10051810
cmp byte [esi + 0x57], 0
jne 0x101297bf
test edi, edi
je 0x101297ca
mov edx, edi
mov ecx, esi
call fcn.100272e0
mov edi, eax
mov ecx, esi
call fcn.100d7a10
cmp dword [ebp + 0x2c], 0
jne 0x101297da
mov dword [ebp + 0x2c], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret