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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
push ebx
push ebp
push esi
mov esi, edx
mov ebx, ecx
push edi
xor edi, edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], ebx
mov eax, dword [esi + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x28], edi
lea edx, [eax - 1]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x40], edx
test eax, eax
je 0x1011b76d
push dword [esi]
push dword [ecx + 8]
push dword [ecx + 4]
push str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d_ORDER_BY_1__2
call fcn.10021580
add esp, 0x10
mov esi, eax
cmp dword [ebx + 0x24], edi
jne 0x1011a24b
test esi, esi
je 0x1011a242
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
push edi
push eax
push edi
mov ecx, dword [ecx]
mov edx, esi
push 0x85
push 0xffffffffffffffff
call fcn.100937b0
mov edi, dword [esp + 0x3c]
add esp, 0x14
mov dword [ebx + 0x24], eax
jmp 0x1011a24f
mov dword [ebx + 0x24], 7
jmp 0x1011a2a7
test esi, esi
je 0x1011a2a7
cmp dword [0x10165af8], 0
je 0x1011a29d
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011a26b
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011a2a7
push eax
call dword [0x10165b50]
jmp 0x1011a2a4
push esi
call dword [0x10165b1c]
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x1011b6c5
xor ebp, ebp
test edi, edi
je 0x1011b698
cmp dword [edi], ebp
jne 0x1011a2d3
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021740
add esp, 8
lea eax, [ebp + 1]
jmp 0x1011a2d5
xor eax, eax
test eax, eax
jne 0x1011b6a7
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a2f4
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, edi
call fcn.10049c30
mov esi, eax
cmp esi, 0x11
jne 0x1011a51e
mov ecx, ebp
inc ebp
mov dword [esp + 0x20], ebp
cmp ecx, 0x32
jge 0x1011a51e
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x68]
mov esi, dword [edi]
mov edx, dword [edi + 0xc8]
push 0
push ecx
mov dword [esp + 0x20], eax
mov ecx, esi
movzx eax, byte [edi + 0x94]
push edi
push eax
push 0xffffffffffffffff
call fcn.100937b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1011a44b
mov ebp, dword [esp + 0x68]
lea edi, [esp + 0x78]
mov ecx, 0x3a
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov ecx, 0x3a
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x78]
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
mov edx, edi
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [ebp + 8], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 4]
mov dword [ebp + 4], eax
mov eax, dword [edi + 0xc8]
mov dword [edi + 4], ecx
mov ecx, dword [ebp + 0xc8]
mov dword [ebp + 0xc8], eax
mov dword [edi + 0xc8], ecx
mov ecx, ebp
mov eax, dword [ebp + 0xdc]
mov dword [edi + 0xdc], eax
mov al, byte [ebp + 0x94]
mov byte [edi + 0x94], al
movups xmm0, xmmword [ebp + 0xa4]
movups xmmword [edi + 0xa4], xmm0
movups xmm0, xmmword [ebp + 0xb4]
movups xmmword [edi + 0xb4], xmm0
mov eax, dword [ebp + 0xc4]
mov dword [edi + 0xc4], eax
inc dword [edi + 0xb8]
call fcn.1004bd20
mov dword [ebp + 0x24], 0
cmp byte [ebp + 0x95], 1
jb 0x1011a412
mov ecx, ebp
call fcn.10046c60
mov ecx, ebp
call fcn.10046d40
push edi
call fcn.10048ea0
add esp, 4
cmp dword [esp + 0x18], 0
jl 0x1011a430
mov byte [edi + 0x93], 0xfe
mov ecx, edi
call fcn.10049c30
mov esi, eax
cmp esi, 0x11
jne 0x1011a51e
mov ebp, dword [esp + 0x20]
jmp 0x1011a306
cmp edi, 7
jne 0x1011a457
mov ecx, esi
call fcn.1001ef20
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x1011a469
xor esi, esi
jmp 0x1011a49c
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1011a486
cmp byte [ecx + 0x12], 1
jne 0x1011a486
mov esi, dword [ecx + 8]
jmp 0x1011a498
test dl, 1
je 0x1011a48f
xor esi, esi
jmp 0x1011a498
mov dl, 1
call fcn.100436a0
mov esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x1011a4ae
mov ecx, eax
call fcn.1001e7b0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x1011a569
test esi, esi
jne 0x1011a4c4
xor ebp, ebp
jmp 0x1011a503
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1011a4d0
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x20], eax
call fcn.1001ec50
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1011a503
push dword [esp + 0x18]
push esi
push ebp
call fcn.1012bff0
add esp, 0xc
mov eax, dword [esp + 0x28]
mov edx, edi
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x7c], ebp
call fcn.1001f000
mov edi, dword [esp + 0x28]
mov esi, eax
mov dword [edi + 0x24], esi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a533
push eax
call dword [0x10165b50]
add esp, 4
cmp esi, 0x64
jne 0x1011b6c5
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a54f
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [edi + 0x78]
mov ebp, 1
test eax, eax
je 0x1011a57e
cmp bp, word [edi + 0x90]
jae 0x1011a57e
add eax, 0x28
jmp 0x1011a596
mov edi, dword [esp + 0x28]
mov esi, 7
mov dword [edi + 0x7c], 0
mov dword [edi + 0x24], esi
jmp 0x1011a522
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov eax, 0x10151a48
push eax
call fcn.10049000
mov ecx, dword [edi]
add esp, 4
mov edx, dword [edi + 0x24]
mov esi, eax
cmp byte [ecx + 0x57], 0
jne 0x1011a5b4
test edx, edx
jne 0x1011a5b4
xor eax, eax
jmp 0x1011a5b9
call fcn.1001f000
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a5cf
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a5e2
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1011a5f7
cmp bp, word [edi + 0x90]
jae 0x1011a5f7
add ecx, 0x28
jmp 0x1011a60f
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1011a622
cmp byte [ecx + 0x12], 1
jne 0x1011a622
mov eax, dword [ecx + 0xc]
jmp 0x1011a651
test al, 0x10
je 0x1011a63c
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1011a636
mov eax, dword [ecx]
add eax, edx
jmp 0x1011a651
mov dword [esp + 0x14], edx
jmp 0x1011a655
test al, 1
je 0x1011a64a
mov dword [esp + 0x14], 0
jmp 0x1011a655
mov dl, 1
call fcn.10043de0
mov dword [esp + 0x14], eax
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011a668
test edx, edx
jne 0x1011a668
xor eax, eax
jmp 0x1011a66d
call fcn.1001f000
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a683
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a696
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1011a6b0
mov eax, 2
cmp ax, word [edi + 0x90]
jae 0x1011a6b0
add ecx, 0x50
jmp 0x1011a6c8
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x1011a6d8
mov ebp, dword [ecx]
mov dword [esp + 0x38], ebp
jmp 0x1011a709
test al, 8
je 0x1011a6e7
movsd xmm0, qword [ecx]
call fcn.100429b0
jmp 0x1011a705
test al, 0x12
je 0x1011a6f8
cmp dword [ecx + 8], 0
je 0x1011a6f8
call fcn.100429e0
jmp 0x1011a705
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011a71c
test edx, edx
jne 0x1011a71c
xor eax, eax
jmp 0x1011a721
call fcn.1001f000
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a737
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a74a
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1011a764
mov eax, 3
cmp ax, word [edi + 0x90]
jae 0x1011a764
add ecx, 0x78
jmp 0x1011a77c
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x1011a78c
mov ebp, dword [ecx]
mov dword [esp + 0x2c], ebp
jmp 0x1011a7bd
test al, 8
je 0x1011a79b
movsd xmm0, qword [ecx]
call fcn.100429b0
jmp 0x1011a7b9
test al, 0x12
je 0x1011a7ac
cmp dword [ecx + 8], 0
je 0x1011a7ac
call fcn.100429e0
jmp 0x1011a7b9
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011a7d0
test edx, edx
jne 0x1011a7d0
xor eax, eax
jmp 0x1011a7d5
call fcn.1001f000
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a7eb
push eax
call dword [0x10165b50]
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
cmp eax, dword [ecx + 4]
jl 0x1011b68c
cdq
mov ebp, eax
mov edi, edx
mov eax, dword [ecx]
xor ecx, ecx
cdq
shl eax, 5
add ecx, ebp
mov dword [esp + 0x6c], ebp
adc eax, edi
mov dword [esp + 0x58], edi
push eax
push ecx
mov ecx, ebx
call fcn.1010ff30
mov edi, eax
add esp, 8
test edi, edi
je 0x1011b6c5
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
jg 0x1011a83f
mov dword [ebx + 0x24], 0x10b
jmp 0x1011a90c
mov ebp, dword [edi]
lea edx, [esp + 0x60]
lea ecx, [eax + ebp]
call fcn.10127a50
movzx eax, byte [ebp]
movzx ecx, byte [ebp + 1]
shl eax, 8
add ecx, eax
mov eax, dword [esp + 0x60]
cmp ecx, eax
jge 0x1011a8fc
cmp eax, dword [edi + 8]
jge 0x1011a8fc
lea ecx, [eax + ebp]
lea edx, [esp + 0x4c]
call fcn.10127a50
mov ecx, eax
mov eax, dword [esp + 0x14]
add ecx, dword [esp + 0x60]
mov edx, eax
cmp dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
cmovl edx, eax
test edx, edx
jle 0x1011a8f4
add ecx, ebp
sub edx, 4
jb 0x1011a8b1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1011a8b6
add ecx, 4
add esi, 4
sub edx, 4
jae 0x1011a8a0
cmp edx, 0xfffffffc
je 0x1011a8ea
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x1011a8e3
cmp edx, 0xfffffffd
je 0x1011a8ea
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x1011a8e3
cmp edx, 0xfffffffe
je 0x1011a8ea
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x1011a8e3
cmp edx, 0xffffffff
je 0x1011a8ea
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x1011a8ea
sbb eax, eax
or eax, 1
jmp 0x1011a8ec
xor eax, eax
test eax, eax
jne 0x1011a8fa
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x14]
test eax, eax
jns 0x1011a903
mov dword [ebx + 0x24], 0x10b
mov edx, edi
mov ecx, ebx
call fcn.10119e80
cmp dword [0x10165af8], 0
je 0x1011a95a
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011a928
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011a964
push eax
call dword [0x10165b50]
jmp 0x1011a961
push edi
call dword [0x10165b1c]
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x1011b6c5
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
inc edi
dec ebp
cmp edi, ebp
jg 0x1011aa4d
mov eax, dword [esp + 0x48]
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, ebx
call fcn.1010fbb0
mov esi, eax
add esp, 8
test esi, esi
je 0x1011aa3d
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jge 0x1011a9ba
mov dword [ebx + 0x24], 0x10b
mov eax, dword [esp + 0x40]
inc eax
cmp edi, eax
jl 0x1011a9e5
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 0x1011a9e5
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165af8], 0
je 0x1011aa33
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011aa01
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011aa3d
push eax
call dword [0x10165b50]
jmp 0x1011aa3a
push esi
call dword [0x10165b1c]
add esp, 4
inc edi
cmp dword [ebx + 0x24], 0
je 0x1011a978
jmp 0x1011b6c5
cmp dword [esp + 0x2c], 0
je 0x1011b675
mov eax, dword [esp + 0x38]
xor ebp, ebp
mov dword [esp + 0x54], eax
xor esi, esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x50], ebp
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
test ebp, ebp
jne 0x1011ae5c
call fcn.100cb480
test eax, eax
jne 0x1011ae3c
mov ecx, dword [esp + 0x14]
mov edi, esi
shl edi, 5
push ebp
mov dword [esp + 0x34], edi
lea eax, [edi + 0x28]
push eax
call fcn.1001e930
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1011ae3c
mov eax, dword [esp + 0x2c]
mov ecx, 0x40
imul ecx
xorps xmm0, xmm0
mov ecx, eax
mov ebp, edx
mov eax, esi
cdq
add ecx, eax
adc ebp, edx
mov edx, dword [esp + 0x1c]
add ecx, 0x20
mov dword [esp + 0x14], edx
adc ebp, 0
shld ebp, ecx, 0x1f
movups xmmword [edi + edx + 8], xmm0
shl ecx, 0x1f
add ecx, dword [esp + 0x6c]
movups xmmword [edi + edx + 0x18], xmm0
adc ebp, dword [esp + 0x58]
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebp
cmp dword [ebx + 0x24], edi
jne 0x1011ae16
mov eax, dword [ebx + 0x28]
lea ebp, [ebx + 0x28]
xor esi, esi
mov dword [esp + 0x44], eax
test eax, eax
je 0x1011aba4
push dword [esp + 0x18]
mov dword [ebp], esi
push ecx
push eax
call fcn.10054a50
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [ebp], eax
test esi, esi
je 0x1011aba0
mov dword [ebp], edi
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x64], ecx
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1011ab70
push edx
call dword [0x10165b48]
mov eax, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.1001e7b0
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011ab8c
push eax
call dword [0x10165b50]
add esp, 4
push dword [esp + 0x5c]
call fcn.10048de0
xor eax, eax
add esp, 4
cmp esi, 4
cmove esi, eax
mov ecx, dword [esp + 0x20]
cmp dword [ebp], edi
jne 0x1011abcd
test esi, esi
jne 0x1011abcd
mov eax, dword [ebx]
push ebp
push esi
push dword [esp + 0x20]
push ecx
push str.block
push dword [ebx + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10054180
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011abdc
mov esi, 0x10b
jmp 0x1011ae08
test esi, esi
jne 0x1011ae08
mov esi, dword [ebp]
test esi, esi
je 0x1011abf4
cmp dword [esi + 0x10], edi
je 0x1011abf4
mov esi, dword [esi]
jmp 0x1011abf6
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.100cb480
test eax, eax
jne 0x1011ae01
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e4e0
mov edi, eax
add esp, 8
test edi, edi
je 0x1011ae01
lea eax, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], eax
mov ebp, dword [ebp]
test ebp, ebp
jne 0x1011ac54
push 0x10156e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021740
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x1011ad7f
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011ac68
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x44], eax
test esi, esi
js 0x1011ad40
cmp esi, dword [ebp]
jg 0x1011ad40
test eax, eax
jne 0x1011ac8c
lea esi, [eax + 4]
jmp 0x1011ad45
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1011aca6
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1011aca6
call fcn.10034500
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x1011acc2
push 0
push eax
push esi
call fcn.10039250
add esp, 0xc
jmp 0x1011accc
push eax
push esi
call fcn.10039600
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011acef
add dword [eax + 0xc], 0xffffffff
jne 0x1011acef
mov ecx, eax
call fcn.100344e0
mov ecx, esi
mov eax, dword [esp + 0x44]
cmp esi, 4
jne 0x1011ad23
cmp byte [eax + 0x95], 1
jb 0x1011ad0c
mov ecx, eax
call fcn.10046c60
mov eax, dword [esp + 0x44]
mov ecx, eax
call fcn.10046d40
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x10], 0
mov dword [ebx + 0x40], eax
jmp 0x1011ad48
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [ebx + 0x40], ecx
test ecx, ecx
jne 0x1011ad48
cmp dword [ebx + 0x124], ecx
jne 0x1011ad48
mov dword [ebx + 0x44], 0xffffffff
jmp 0x1011ad51
mov esi, 1
mov dword [ebx + 0x40], esi
mov edx, esi
mov ecx, ebx
call fcn.100223b0
cmp byte [ebx + 0x57], 0
jne 0x1011ad5b
test esi, esi
je 0x1011ad66
mov edx, esi
mov ecx, ebx
call fcn.1001f000
mov esi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011ad77
push eax
call dword [0x10165b50]
add esp, 4
mov ebx, dword [esp + 0x3c]
test esi, esi
je 0x1011addc
cmp dword [0x10165af8], 0
je 0x1011add0
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011ad9b
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011ae06
push eax
call dword [0x10165b50]
add esp, 4
jmp 0x1011ae06
push edi
call dword [0x10165b1c]
add esp, 4
jmp 0x1011ae06
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov byte [ecx + eax], 0
mov eax, dword [edi]
mov byte [ecx + eax + 1], 0
mov eax, dword [edi]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add ecx, eax
mov dword [edi + 8], ecx
jmp 0x1011ae08
mov esi, 7
xor edi, edi
inc dword [ebx + 0x40]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov dword [eax + edx + 8], edi
test edi, edi
je 0x1011ae37
mov eax, dword [edi]
test byte [eax], 1
mov eax, 1
cmove ebp, eax
mov dword [esp + 0x50], ebp
inc esi
mov dword [edx], esi
jmp 0x1011ae44
mov dword [ebx + 0x24], 7
inc esi
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x24], esi
je 0x1011aa86
mov esi, dword [esp + 0x14]
mov dword [esp + 0x14], esi
jmp 0x1011ae94
mov esi, dword [esp + 0x14]
xor edi, edi
mov ebp, dword [esp + 0x2c]
mov dword [esi + 4], ebp
cmp dword [esi], edi
jle 0x1011ae98
mov eax, dword [esp + 0x14]
add esi, 8
mov dword [esp + 0x14], eax
mov ebp, eax
nop word [eax + eax]
mov ecx, esi
call fcn.10111320
inc edi
add esi, 0x20
cmp edi, dword [ebp]
jl 0x1011ae80
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
cmp dword [ebx + 0x24], 0
je 0x1011aeab
mov ecx, esi
call fcn.101116d0
xor esi, esi
mov dword [esp + 0x14], esi
mov edx, esi
mov ecx, ebx
call fcn.101114e0
test eax, eax
jne 0x1011b66c
mov eax, ebp
cdq
mov ebp, eax
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x18]
inc ecx
shl ebp, 5
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ebp
cmp ecx, eax
jge 0x1011b291
mov eax, ecx
cdq
mov ecx, eax
add ecx, 0
mov dword [esp + 0x18], ecx
adc edx, ebp
xor edi, edi
mov dword [esp + 0x20], edx
cmp dword [ebx + 0x24], edi
jne 0x1011b1fc
lea ebp, [ebx + 0x28]
xor esi, esi
mov ebx, dword [ebp]
test ebx, ebx
je 0x1011af88
push edx
push ecx
push ebx
mov dword [ebp], esi
call fcn.10054a50
mov esi, eax
mov dword [ebp], ebx
add esp, 0xc
test esi, esi
je 0x1011af80
mov dword [ebp], edi
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1011af4e
push ecx
call dword [0x10165b48]
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, ebx
mov ecx, eax
call fcn.1001e7b0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011af6c
push eax
call dword [0x10165b50]
add esp, 4
push dword [esp + 0x30]
call fcn.10048de0
xor eax, eax
add esp, 4
cmp esi, 4
cmove esi, eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp dword [ebp], edi
jne 0x1011afb3
test esi, esi
jne 0x1011afb3
mov esi, dword [esp + 0x3c]
push ebp
push 0
push edx
mov eax, dword [esi]
push ecx
push str.block
push dword [esi + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10054180
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011afc2
mov esi, 0x10b
jmp 0x1011b1ea
test esi, esi
jne 0x1011b1ea
mov esi, dword [ebp]
test esi, esi
je 0x1011afda
cmp dword [esi + 0x10], edi
je 0x1011afda
mov esi, dword [esi]
jmp 0x1011afdc
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.100cb480
test eax, eax
jne 0x1011b1e3
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e4e0
mov edi, eax
add esp, 8
test edi, edi
je 0x1011b1e3
lea eax, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], eax
mov ebp, dword [ebp]
test ebp, ebp
jne 0x1011b03a
push 0x10156e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021740
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x1011b161
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011b04e
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
test esi, esi
js 0x1011b126
cmp esi, dword [ebp]
jg 0x1011b126
test eax, eax
jne 0x1011b072
lea esi, [eax + 4]
jmp 0x1011b12b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1011b08c
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1011b08c
call fcn.10034500
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x1011b0a8
push 0
push eax
push esi
call fcn.10039250
add esp, 0xc
jmp 0x1011b0b2
push eax
push esi
call fcn.10039600
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011b0d5
add dword [eax + 0xc], 0xffffffff
jne 0x1011b0d5
mov ecx, eax
call fcn.100344e0
mov ecx, esi
mov eax, dword [esp + 0x24]
cmp esi, 4
jne 0x1011b109
cmp byte [eax + 0x95], 1
jb 0x1011b0f2
mov ecx, eax
call fcn.10046c60
mov eax, dword [esp + 0x24]
mov ecx, eax
call fcn.10046d40
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x10], 0
mov dword [ebx + 0x40], eax
jmp 0x1011b12e
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [ebx + 0x40], ecx
test ecx, ecx
jne 0x1011b12e
cmp dword [ebx + 0x124], ecx
jne 0x1011b12e
mov dword [ebx + 0x44], 0xffffffff
jmp 0x1011b137
mov esi, 1
mov dword [ebx + 0x40], esi
mov edx, esi
mov ecx, ebx
call fcn.100223b0
cmp byte [ebx + 0x57], 0
jne 0x1011b141
test esi, esi
je 0x1011b14c
mov edx, esi
mov ecx, ebx
call fcn.1001f000
mov esi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011b15d
push eax
call dword [0x10165b50]
add esp, 4
test esi, esi
je 0x1011b1be
cmp dword [0x10165af8], 0
je 0x1011b1b2
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011b17d
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011b1e8
push eax
call dword [0x10165b50]
add esp, 4
jmp 0x1011b1e8
push edi
call dword [0x10165b1c]
add esp, 4
jmp 0x1011b1e8
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov byte [ecx + eax], 0
mov eax, dword [edi]
mov byte [ecx + eax + 1], 0
mov eax, dword [edi]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add ecx, eax
mov dword [edi + 8], ecx
jmp 0x1011b1ea
mov esi, 7
xor edi, edi
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x5c]
inc dword [ebx + 0x40]
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x14]
test edi, edi
je 0x1011b279
mov edx, dword [edi]
mov eax, 0x100
movzx ecx, byte [edx]
imul ecx, eax
movzx eax, byte [edx + 1]
add cx, ax
je 0x1011b221
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165af8], 0
je 0x1011b26f
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011b23d
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011b279
push eax
call dword [0x10165b50]
jmp 0x1011b276
push edi
call dword [0x10165b1c]
add esp, 4
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x18]
inc ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], eax
cmp ecx, eax
jl 0x1011aee4
cdq
mov ecx, eax
add ecx, 0
mov dword [esp + 0x18], ecx
adc edx, ebp
xor edi, edi
mov dword [esp + 0x20], edx
cmp dword [ebx + 0x24], edi
jne 0x1011b649
lea ebp, [ebx + 0x28]
xor esi, esi
mov ebx, dword [ebp]
test ebx, ebx
je 0x1011b333
push edx
push ecx
push ebx
mov dword [ebp], esi
call fcn.10054a50
mov esi, eax
mov dword [ebp], ebx
add esp, 0xc
test esi, esi
je 0x1011b32b
mov dword [ebp], edi
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1011b2f9
push ecx
call dword [0x10165b48]
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, ebx
mov ecx, eax
call fcn.1001e7b0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011b317
push eax
call dword [0x10165b50]
add esp, 4
push dword [esp + 0x30]
call fcn.10048de0
xor eax, eax
add esp, 4
cmp esi, 4
cmove esi, eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp dword [ebp], edi
jne 0x1011b35e
test esi, esi
jne 0x1011b35e
mov esi, dword [esp + 0x3c]
push ebp
push 0
push edx
mov eax, dword [esi]
push ecx
push str.block
push dword [esi + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10054180
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011b36d
mov esi, 0x10b
jmp 0x1011b595
test esi, esi
jne 0x1011b595
mov esi, dword [ebp]
test esi, esi
je 0x1011b385
cmp dword [esi + 0x10], edi
je 0x1011b385
mov esi, dword [esi]
jmp 0x1011b387
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.100cb480
test eax, eax
jne 0x1011b58e
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e4e0
mov edi, eax
add esp, 8
test edi, edi
je 0x1011b58e
lea eax, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], eax
mov ebp, dword [ebp]
test ebp, ebp
jne 0x1011b3e5
push 0x10156e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021740
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x1011b50c
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011b3f9
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
test esi, esi
js 0x1011b4d1
cmp esi, dword [ebp]
jg 0x1011b4d1
test eax, eax
jne 0x1011b41d
lea esi, [eax + 4]
jmp 0x1011b4d6
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1011b437
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1011b437
call fcn.10034500
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x1011b453
push 0
push eax
push esi
call fcn.10039250
add esp, 0xc
jmp 0x1011b45d
push eax
push esi
call fcn.10039600
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011b480
add dword [eax + 0xc], 0xffffffff
jne 0x1011b480
mov ecx, eax
call fcn.100344e0
mov ecx, esi
mov eax, dword [esp + 0x24]
cmp esi, 4
jne 0x1011b4b4
cmp byte [eax + 0x95], 1
jb 0x1011b49d
mov ecx, eax
call fcn.10046c60
mov eax, dword [esp + 0x24]
mov ecx, eax
call fcn.10046d40
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x10], 0
mov dword [ebx + 0x40], eax
jmp 0x1011b4d9
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [ebx + 0x40], ecx
test ecx, ecx
jne 0x1011b4d9
cmp dword [ebx + 0x124], ecx
jne 0x1011b4d9
mov dword [ebx + 0x44], 0xffffffff
jmp 0x1011b4e2
mov esi, 1
mov dword [ebx + 0x40], esi
mov edx, esi
mov ecx, ebx
call fcn.100223b0
cmp byte [ebx + 0x57], 0
jne 0x1011b4ec
test esi, esi
je 0x1011b4f7
mov edx, esi
mov ecx, ebx
call fcn.1001f000
mov esi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011b508
push eax
call dword [0x10165b50]
add esp, 4
test esi, esi
je 0x1011b569
cmp dword [0x10165af8], 0
je 0x1011b55d
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011b528
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011b593
push eax
call dword [0x10165b50]
add esp, 4
jmp 0x1011b593
push edi
call dword [0x10165b1c]
add esp, 4
jmp 0x1011b593
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov byte [ecx + eax], 0
mov eax, dword [edi]
mov byte [eax + ecx + 1], 0
mov eax, dword [edi]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
shl eax, 8
add ecx, eax
mov dword [edi + 8], ecx
jmp 0x1011b595
mov esi, 7
xor edi, edi
mov ebx, dword [esp + 0x3c]
inc dword [ebx + 0x40]
mov dword [ebx + 0x24], esi
test edi, edi
je 0x1011b645
mov edx, dword [edi]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
cmp ecx, dword [edi + 8]
jge 0x1011b5dd
add ecx, edx
lea edx, [esp + 0x70]
call fcn.10127ae0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x20]
jne 0x1011b5e1
mov eax, dword [esp + 0x74]
cmp eax, dword [esi + 0x24]
je 0x1011b5e8
jmp 0x1011b5e1
mov esi, dword [esp + 0x14]
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165af8], 0
je 0x1011b639
mov eax, dword [0x10168b48]
test eax, eax
je 0x1011b604
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x1011b649
push eax
call dword [0x10165b50]
add esp, 4
jmp 0x1011b649
push edi
call dword [0x10165b1c]
add esp, 4
jmp 0x1011b649
mov esi, dword [esp + 0x14]
push 0
mov edx, esi
mov ecx, ebx
call fcn.101113d0
add esp, 4
mov edx, esi
mov ecx, ebx
call fcn.101114e0
mov ebp, dword [esp + 0x58]
test eax, eax
je 0x1011aec5
mov ecx, esi
call fcn.101116d0
jmp 0x1011b680
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x24], 0
je 0x1011a2b1
jmp 0x1011b6c5
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
mov ebp, dword [esp + 0x28]
test ebp, ebp
jne 0x1011b6d4
xor edi, edi
jmp 0x1011b764
mov esi, dword [ebp]
test esi, esi
jne 0x1011b70a
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021740
push 0x10156e9c
push 0x1572f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021740
add esp, 0x1c
lea edi, [esi + 0x15]
jmp 0x1011b764
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1011b71b
push eax
call dword [0x10165b48]
add esp, 4
cmp dword [ebp + 0x8c], 0
jl 0x1011b738
jg 0x1011b72f
cmp dword [ebp + 0x88], 0
jbe 0x1011b738
mov edx, ebp
mov ecx, esi
call fcn.10048d00
mov ecx, ebp
call fcn.10046c60
mov ecx, ebp
mov edi, eax
call fcn.10046d40
cmp byte [esi + 0x57], 0
jne 0x1011b752
test edi, edi
je 0x1011b75d
mov edx, edi
mov ecx, esi
call fcn.1001f000
mov edi, eax
mov ecx, esi
call fcn.100cc780
cmp dword [ebx + 0x24], 0
jne 0x1011b76d
mov dword [ebx + 0x24], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret