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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
push ebx
push ebp
push esi
mov esi, edx
mov ebx, ecx
push edi
xor edi, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov eax, dword [esi + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x24], edi
lea edx, [eax - 1]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x38], edx
test eax, eax
je 0x1011b3e2
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.10021540
add esp, 0x10
mov esi, eax
cmp dword [ebx + 0x24], edi
jne 0x10119eab
test esi, esi
je 0x10119ea2
mov ecx, dword [ebx]
lea eax, [esp + 0x24]
push edi
push eax
push edi
mov ecx, dword [ecx]
mov edx, esi
push 0x85
push 0xffffffffffffffff
call fcn.10092a20
mov edi, dword [esp + 0x38]
add esp, 0x14
mov dword [ebx + 0x24], eax
jmp 0x10119eaf
mov dword [ebx + 0x24], 7
jmp 0x10119f07
test esi, esi
je 0x10119f07
cmp dword [0x10165b38], 0
je 0x10119efd
mov eax, dword [0x10168b88]
test eax, eax
je 0x10119ecb
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10119f07
push eax
call dword [0x10165b90]
jmp 0x10119f04
push esi
call dword [0x10165b5c]
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x1011b33a
xor ebp, ebp
test edi, edi
je 0x1011b30d
cmp dword [edi], ebp
jne 0x10119f33
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021700
add esp, 8
lea eax, [ebp + 1]
jmp 0x10119f35
xor eax, eax
test eax, eax
jne 0x1011b31c
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10119f54
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, edi
call fcn.10049af0
mov esi, eax
cmp esi, 0x11
jne 0x1011a17e
mov ecx, ebp
inc ebp
mov dword [esp + 0x40], ebp
cmp ecx, 0x32
jge 0x1011a17e
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x58]
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.10092a20
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1011a0ab
mov ebp, dword [esp + 0x58]
lea edi, [esp + 0x70]
mov ecx, 0x3a
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov ecx, 0x3a
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x70]
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
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.1004bbe0
mov dword [ebp + 0x24], 0
cmp byte [ebp + 0x95], 1
jb 0x1011a072
mov ecx, ebp
call fcn.10046b40
mov ecx, ebp
call fcn.10046c20
push edi
call fcn.10048d60
add esp, 4
cmp dword [esp + 0x18], 0
jl 0x1011a090
mov byte [edi + 0x93], 0xfe
mov ecx, edi
call fcn.10049af0
mov esi, eax
cmp esi, 0x11
jne 0x1011a17e
mov ebp, dword [esp + 0x40]
jmp 0x10119f66
cmp edi, 7
jne 0x1011a0b7
mov ecx, esi
call fcn.1001ef20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x1011a0c9
xor esi, esi
jmp 0x1011a0fc
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1011a0e6
cmp byte [ecx + 0x12], 1
jne 0x1011a0e6
mov esi, dword [ecx + 8]
jmp 0x1011a0f8
test dl, 1
je 0x1011a0ef
xor esi, esi
jmp 0x1011a0f8
mov dl, 1
call fcn.10043510
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x1011a10e
mov ecx, eax
call fcn.1001e7b0
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x57], 0
jne 0x1011a1c9
test esi, esi
jne 0x1011a124
xor ebp, ebp
jmp 0x1011a163
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1011a130
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.1001ec50
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1011a163
push dword [esp + 0x18]
push esi
push ebp
call fcn.1012ad80
add esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, edi
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x7c], ebp
call fcn.1001f000
mov edi, dword [esp + 0x24]
mov esi, eax
mov dword [edi + 0x24], esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a193
push eax
call dword [0x10165b90]
add esp, 4
cmp esi, 0x64
jne 0x1011b33a
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a1af
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [edi + 0x78]
mov ebp, 1
test eax, eax
je 0x1011a1de
cmp bp, word [edi + 0x90]
jae 0x1011a1de
add eax, 0x28
jmp 0x1011a1f6
mov edi, dword [esp + 0x24]
mov esi, 7
mov dword [edi + 0x7c], 0
mov dword [edi + 0x24], esi
jmp 0x1011a182
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov eax, 0x10150a48
push eax
call fcn.10048ec0
mov esi, dword [esp + 0x28]
add esp, 4
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011a218
test edx, edx
jne 0x1011a218
xor eax, eax
jmp 0x1011a21d
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a233
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a246
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1011a25b
cmp bp, word [esi + 0x90]
jae 0x1011a25b
add ecx, 0x28
jmp 0x1011a273
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1011a286
cmp byte [ecx + 0x12], 1
jne 0x1011a286
mov eax, dword [ecx + 0xc]
jmp 0x1011a2b5
test al, 0x10
je 0x1011a2a0
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1011a29a
mov eax, dword [ecx]
add eax, edx
jmp 0x1011a2b5
mov dword [esp + 0x14], edx
jmp 0x1011a2b9
test al, 1
je 0x1011a2ae
mov dword [esp + 0x14], 0
jmp 0x1011a2b9
mov dl, 1
call fcn.10043c50
mov dword [esp + 0x14], eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011a2cc
test edx, edx
jne 0x1011a2cc
xor eax, eax
jmp 0x1011a2d1
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a2e7
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a2fa
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1011a314
mov eax, 2
cmp ax, word [esi + 0x90]
jae 0x1011a314
add ecx, 0x50
jmp 0x1011a32c
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x1011a33c
mov ebp, dword [ecx]
mov dword [esp + 0x2c], ebp
jmp 0x1011a36d
test al, 8
je 0x1011a34b
movsd xmm0, qword [ecx]
call fcn.10042840
jmp 0x1011a369
test al, 0x12
je 0x1011a35c
cmp dword [ecx + 8], 0
je 0x1011a35c
call fcn.10042870
jmp 0x1011a369
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011a380
test edx, edx
jne 0x1011a380
xor eax, eax
jmp 0x1011a385
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a39b
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a3ae
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1011a3c8
mov eax, 3
cmp ax, word [esi + 0x90]
jae 0x1011a3c8
add ecx, 0x78
jmp 0x1011a3e0
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x1011a3f0
mov ebp, dword [ecx]
mov dword [esp + 0x10], ebp
jmp 0x1011a421
test al, 8
je 0x1011a3ff
movsd xmm0, qword [ecx]
call fcn.10042840
jmp 0x1011a41d
test al, 0x12
je 0x1011a410
cmp dword [ecx + 8], 0
je 0x1011a410
call fcn.10042870
jmp 0x1011a41d
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011a434
test edx, edx
jne 0x1011a434
xor eax, eax
jmp 0x1011a439
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011a44f
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x2c]
cmp ebp, dword [eax + 4]
jl 0x1011b2fe
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
push esi
mov ecx, ebx
call fcn.1010f990
mov esi, eax
add esp, 8
test esi, esi
je 0x1011b33a
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jg 0x1011a49b
mov dword [ebx + 0x24], 0x10b
jmp 0x1011a570
mov ebp, dword [esi]
lea edx, [esp + 0x54]
lea ecx, [eax + ebp]
call fcn.10126860
movzx eax, byte [ebp]
movzx ecx, byte [ebp + 1]
shl eax, 8
add ecx, eax
mov eax, dword [esp + 0x54]
cmp ecx, eax
jge 0x1011a55c
cmp eax, dword [esi + 8]
jge 0x1011a55c
lea ecx, [eax + ebp]
lea edx, [esp + 0x50]
call fcn.10126860
mov edx, eax
mov eax, dword [esp + 0x14]
add edx, dword [esp + 0x54]
mov ecx, eax
cmp dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
cmovl ecx, eax
test ecx, ecx
jle 0x1011a554
add edx, ebp
sub ecx, 4
jb 0x1011a511
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x1011a516
add edx, 4
add edi, 4
sub ecx, 4
jae 0x1011a500
cmp ecx, 0xfffffffc
je 0x1011a54a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x1011a543
cmp ecx, 0xfffffffd
je 0x1011a54a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x1011a543
cmp ecx, 0xfffffffe
je 0x1011a54a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x1011a543
cmp ecx, 0xffffffff
je 0x1011a54a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x1011a54a
sbb eax, eax
or eax, 1
jmp 0x1011a54c
xor eax, eax
test eax, eax
jne 0x1011a55a
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x14]
test eax, eax
jns 0x1011a563
mov dword [ebx + 0x24], 0x10b
mov edx, esi
mov ecx, ebx
call fcn.10119ae0
mov ebp, dword [esp + 0x2c]
cmp dword [0x10165b38], 0
je 0x1011a5be
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011a58c
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011a5c8
push eax
call dword [0x10165b90]
jmp 0x1011a5c5
push esi
call dword [0x10165b5c]
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x1011b33a
mov edi, dword [esp + 0x1c]
inc edi
dec ebp
cmp edi, ebp
jg 0x1011a6ad
mov eax, dword [esp + 0x4c]
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.1010f610
mov esi, eax
add esp, 8
test esi, esi
je 0x1011a69d
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jge 0x1011a61a
mov dword [ebx + 0x24], 0x10b
mov eax, dword [esp + 0x38]
inc eax
cmp edi, eax
jl 0x1011a645
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 0x1011a645
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165b38], 0
je 0x1011a693
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011a661
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011a69d
push eax
call dword [0x10165b90]
jmp 0x1011a69a
push esi
call dword [0x10165b5c]
add esp, 4
inc edi
cmp dword [ebx + 0x24], 0
je 0x1011a5d8
jmp 0x1011b33a
cmp dword [esp + 0x10], 0
je 0x1011b2eb
mov ecx, dword [esp + 0x4c]
xor edi, edi
mov eax, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x40], eax
xor esi, esi
cdq
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
nop dword [eax]
test ebp, ebp
jne 0x1011aae6
call fcn.100cb1b0
test eax, eax
jne 0x1011aac2
shl esi, 5
mov ecx, edi
push ebp
mov dword [esp + 0x68], esi
lea eax, [esi + 0x28]
push eax
call fcn.1001e930
mov edi, eax
add esp, 8
mov dword [esp + 0x30], edi
test edi, edi
je 0x1011aabe
mov eax, dword [esp + 0x28]
mov ecx, 0x40
imul ecx
xorps xmm0, xmm0
movups xmmword [edi + esi + 8], xmm0
movups xmmword [edi + esi + 0x18], xmm0
mov dword [esp + 0x10], edi
mov ecx, eax
mov ebp, edx
mov eax, dword [esp + 0x44]
cdq
add ecx, eax
adc ebp, edx
add ecx, 0x20
adc ebp, 0
shld ebp, ecx, 0x1f
shl ecx, 0x1f
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
adc ebp, dword [esp + 0x60]
mov dword [esp + 0x18], ebp
xor ebp, ebp
cmp dword [ebx + 0x24], ebp
jne 0x1011aa86
mov eax, dword [ebx + 0x28]
lea edi, [ebx + 0x28]
xor esi, esi
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1011a7fb
push dword [esp + 0x18]
mov dword [edi], esi
push ecx
push eax
call fcn.10054740
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
test esi, esi
je 0x1011a7f0
mov dword [edi], ebp
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1011a7c7
push ecx
call dword [0x10165b88]
mov eax, dword [esp + 0x40]
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.1001e7b0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1011a7e1
push eax
call dword [0x10165b90]
add esp, 4
push dword [esp + 0x1c]
call fcn.10048ca0
add esp, 4
lea edi, [ebx + 0x28]
mov ecx, dword [esp + 0x14]
cmp esi, 4
jne 0x1011a7fb
xor esi, esi
cmp dword [edi], ebp
jne 0x1011a823
test esi, esi
jne 0x1011a823
mov eax, dword [ebx]
push edi
push esi
push dword [esp + 0x20]
push ecx
push str.block
push dword [ebx + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10053e70
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011a832
mov esi, 0x10b
jmp 0x1011aa78
test esi, esi
jne 0x1011aa78
mov esi, dword [edi]
test esi, esi
je 0x1011a849
cmp dword [esi + 0x10], ebp
je 0x1011a849
mov esi, dword [esi]
jmp 0x1011a84b
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.100cb1b0
test eax, eax
jne 0x1011aa71
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e4e0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1011aa71
lea eax, [ebp + 0xc]
mov dword [ebp + 4], esi
mov dword [ebp], eax
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x1011a8b0
push 0x10155e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
add esp, 0x14
mov esi, 0x15
jmp 0x1011a9ec
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1011a8c4
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], eax
test ecx, ecx
js 0x1011a9b1
cmp ecx, dword [esi]
jg 0x1011a9b1
test eax, eax
jne 0x1011a8eb
lea esi, [eax + 4]
jmp 0x1011a9b6
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011a90b
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x1011a90b
mov ecx, eax
call fcn.10034430
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea esi, [ebp + 0xc]
cmp byte [eax], 0
jne 0x1011a929
push 0
push esi
push ecx
mov ecx, eax
call fcn.10039140
add esp, 0xc
jmp 0x1011a935
push esi
push ecx
mov ecx, eax
call fcn.10039530
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011a95c
add dword [eax + 0xc], 0xffffffff
jne 0x1011a95c
mov ecx, eax
call fcn.10034410
mov ecx, esi
mov eax, dword [esp + 0x3c]
cmp esi, 4
jne 0x1011a994
cmp byte [eax + 0x95], 1
jb 0x1011a979
mov ecx, eax
call fcn.10046b40
mov eax, dword [esp + 0x3c]
mov ecx, eax
call fcn.10046c20
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x40], eax
jmp 0x1011a9b9
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [edi + 0x40], ecx
test ecx, ecx
jne 0x1011a9b9
cmp dword [edi + 0x124], ecx
jne 0x1011a9b9
mov dword [edi + 0x44], 0xffffffff
jmp 0x1011a9c2
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.10022340
cmp byte [edi + 0x57], 0
jne 0x1011a9cc
test esi, esi
je 0x1011a9d7
mov edx, esi
mov ecx, edi
call fcn.1001f000
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1011a9e8
push eax
call dword [0x10165b90]
add esp, 4
test esi, esi
je 0x1011aa49
cmp dword [0x10165b38], 0
je 0x1011aa3d
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011aa08
push eax
call dword [0x10165b88]
add esp, 4
push ebp
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push ebp
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011aa76
push eax
call dword [0x10165b90]
add esp, 4
jmp 0x1011aa76
push ebp
call dword [0x10165b5c]
add esp, 4
jmp 0x1011aa76
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
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 0x1011aa78
mov esi, 7
xor ebp, ebp
inc dword [ebx + 0x40]
mov edi, dword [esp + 0x30]
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x64]
mov dword [edi + esi + 8], ebp
test ebp, ebp
je 0x1011aaaf
mov eax, dword [ebp]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
test byte [eax], 1
mov eax, 1
cmove ebp, eax
lea eax, [esi + 1]
mov dword [esp + 0x20], ebp
mov dword [edi], eax
jmp 0x1011aac9
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [edi], eax
jmp 0x1011aac9
mov esi, dword [esp + 0x44]
mov dword [ebx + 0x24], 7
mov edi, dword [esp + 0x10]
inc esi
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x44], esi
je 0x1011a6f0
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
jmp 0x1011ab18
mov ecx, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esp + 0x28]
mov dword [ecx + 4], ebp
cmp dword [ecx], edi
jle 0x1011ab14
lea esi, [ecx + 8]
mov dword [esp + 0x10], ecx
mov ebp, ecx
mov ecx, esi
call fcn.10110e20
inc edi
add esi, 0x20
cmp edi, dword [ebp]
jl 0x1011ab00
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ebx + 0x24], 0
je 0x1011ab2b
mov ecx, edi
call fcn.101111d0
xor edi, edi
mov dword [esp + 0x10], edi
mov edx, edi
mov ecx, ebx
call fcn.10110fe0
test eax, eax
jne 0x1011b2e2
mov eax, ebp
cdq
mov ebp, eax
shl ebp, 5
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x40]
mov eax, dword [edi + 0x18]
inc ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
cmp ecx, eax
jge 0x1011af02
mov eax, ecx
cdq
mov ecx, eax
add ecx, 0
mov dword [esp + 0x1c], ecx
adc edx, ebp
xor edi, edi
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x24], edi
jne 0x1011aee6
mov ebp, dword [ebx + 0x28]
add ebx, 0x28
xor esi, esi
test ebp, ebp
je 0x1011abff
push edx
push ecx
push ebp
mov dword [ebx], esi
call fcn.10054740
mov esi, eax
mov dword [ebx], ebp
add esp, 0xc
test esi, esi
je 0x1011abea
mov dword [ebx], edi
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011abbb
push eax
call dword [0x10165b88]
add esp, 4
mov edx, ebp
mov ecx, ebx
call fcn.1001e7b0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011abd5
push eax
call dword [0x10165b90]
add esp, 4
push dword [esp + 0x30]
call fcn.10048ca0
mov ebp, dword [esp + 0x4c]
add esp, 4
lea ebx, [ebp + 0x28]
jmp 0x1011abee
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp esi, 4
jne 0x1011ac03
xor esi, esi
jmp 0x1011ac03
mov ebp, dword [esp + 0x48]
cmp dword [ebx], edi
jne 0x1011ac29
test esi, esi
jne 0x1011ac29
mov eax, dword [ebp]
push ebx
push esi
push edx
push ecx
push str.block
push dword [ebp + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10053e70
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011ac38
mov esi, 0x10b
jmp 0x1011ae5f
test esi, esi
jne 0x1011ae5f
mov esi, dword [ebx]
test esi, esi
je 0x1011ac4f
cmp dword [esi + 0x10], edi
je 0x1011ac4f
mov esi, dword [esi]
jmp 0x1011ac51
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.100cb1b0
test eax, eax
jne 0x1011ae58
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e4e0
mov edi, eax
add esp, 8
test edi, edi
je 0x1011ae58
lea eax, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], eax
mov ebp, dword [ebp + 0x28]
test ebp, ebp
jne 0x1011acaf
push 0x10155e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x1011add6
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011acc3
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
test esi, esi
js 0x1011ad9b
cmp esi, dword [ebp]
jg 0x1011ad9b
test eax, eax
jne 0x1011ace7
lea esi, [eax + 4]
jmp 0x1011ada0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1011ad01
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1011ad01
call fcn.10034430
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x1011ad1d
push 0
push eax
push esi
call fcn.10039140
add esp, 0xc
jmp 0x1011ad27
push eax
push esi
call fcn.10039530
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 0x1011ad4a
add dword [eax + 0xc], 0xffffffff
jne 0x1011ad4a
mov ecx, eax
call fcn.10034410
mov ecx, esi
mov eax, dword [esp + 0x20]
cmp esi, 4
jne 0x1011ad7e
cmp byte [eax + 0x95], 1
jb 0x1011ad67
mov ecx, eax
call fcn.10046b40
mov eax, dword [esp + 0x20]
mov ecx, eax
call fcn.10046c20
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x10], 0
mov dword [ebx + 0x40], eax
jmp 0x1011ada3
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [ebx + 0x40], ecx
test ecx, ecx
jne 0x1011ada3
cmp dword [ebx + 0x124], ecx
jne 0x1011ada3
mov dword [ebx + 0x44], 0xffffffff
jmp 0x1011adac
mov esi, 1
mov dword [ebx + 0x40], esi
mov edx, esi
mov ecx, ebx
call fcn.10022340
cmp byte [ebx + 0x57], 0
jne 0x1011adb6
test esi, esi
je 0x1011adc1
mov edx, esi
mov ecx, ebx
call fcn.1001f000
mov esi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011add2
push eax
call dword [0x10165b90]
add esp, 4
test esi, esi
je 0x1011ae33
cmp dword [0x10165b38], 0
je 0x1011ae27
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011adf2
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011ae5d
push eax
call dword [0x10165b90]
add esp, 4
jmp 0x1011ae5d
push edi
call dword [0x10165b5c]
add esp, 4
jmp 0x1011ae5d
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 0x1011ae5f
mov esi, 7
xor edi, edi
mov ebx, dword [esp + 0x48]
inc dword [ebx + 0x40]
mov dword [ebx + 0x24], esi
test edi, edi
je 0x1011aee2
mov edx, dword [edi]
mov eax, 0x100
movzx ecx, byte [edx]
imul ecx, eax
movzx eax, byte [edx + 1]
add cx, ax
je 0x1011ae8a
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165b38], 0
je 0x1011aed8
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011aea6
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011aee2
push eax
call dword [0x10165b90]
jmp 0x1011aedf
push edi
call dword [0x10165b5c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
cmp ecx, eax
jl 0x1011ab60
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 0x1011b2bf
mov eax, dword [ebx + 0x28]
lea ebp, [ebx + 0x28]
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1011afa2
push edx
push ecx
push eax
mov dword [ebp], esi
call fcn.10054740
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [ebp], eax
test esi, esi
je 0x1011af93
mov dword [ebp], edi
mov ebp, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1011af6a
push ecx
call dword [0x10165b88]
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, eax
mov ecx, ebp
call fcn.1001e7b0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1011af84
push eax
call dword [0x10165b90]
add esp, 4
push dword [esp + 0x30]
call fcn.10048ca0
add esp, 4
lea ebp, [ebx + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp esi, 4
jne 0x1011afa2
xor esi, esi
cmp dword [ebp], edi
jne 0x1011afc8
test esi, esi
jne 0x1011afc8
mov eax, dword [ebx]
push ebp
push esi
push edx
push ecx
push str.block
push dword [ebx + 4]
push dword [eax + 4]
push dword [eax]
call fcn.10053e70
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011afd7
mov esi, 0x10b
jmp 0x1011b21a
test esi, esi
jne 0x1011b21a
mov esi, dword [ebp]
test esi, esi
je 0x1011afef
cmp dword [esi + 0x10], edi
je 0x1011afef
mov esi, dword [esi]
jmp 0x1011aff1
xor esi, esi
mov dword [esp + 0x28], esi
call fcn.100cb1b0
test eax, eax
jne 0x1011b213
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e4e0
mov edi, eax
add esp, 8
test edi, edi
je 0x1011b213
lea eax, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], eax
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x1011b055
push 0x10155e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
add esp, 0x14
mov esi, 0x15
jmp 0x1011b191
mov ebp, dword [esi + 0x14]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1011b069
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
test ecx, ecx
js 0x1011b156
cmp ecx, dword [esi]
jg 0x1011b156
test eax, eax
jne 0x1011b090
lea esi, [eax + 4]
jmp 0x1011b15b
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011b0b0
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x1011b0b0
mov ecx, eax
call fcn.10034430
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea esi, [edi + 0xc]
cmp byte [eax], 0
jne 0x1011b0ce
push 0
push esi
push ecx
mov ecx, eax
call fcn.10039140
add esp, 0xc
jmp 0x1011b0da
push esi
push ecx
mov ecx, eax
call fcn.10039530
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011b101
add dword [eax + 0xc], 0xffffffff
jne 0x1011b101
mov ecx, eax
call fcn.10034410
mov ecx, esi
mov eax, dword [esp + 0x20]
cmp esi, 4
jne 0x1011b139
cmp byte [eax + 0x95], 1
jb 0x1011b11e
mov ecx, eax
call fcn.10046b40
mov eax, dword [esp + 0x20]
mov ecx, eax
call fcn.10046c20
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x40], eax
jmp 0x1011b15e
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [ebp + 0x40], ecx
test ecx, ecx
jne 0x1011b15e
cmp dword [ebp + 0x124], ecx
jne 0x1011b15e
mov dword [ebp + 0x44], 0xffffffff
jmp 0x1011b167
mov esi, 1
mov dword [ebp + 0x40], esi
mov edx, esi
mov ecx, ebp
call fcn.10022340
cmp byte [ebp + 0x57], 0
jne 0x1011b171
test esi, esi
je 0x1011b17c
mov edx, esi
mov ecx, ebp
call fcn.1001f000
mov esi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1011b18d
push eax
call dword [0x10165b90]
add esp, 4
test esi, esi
je 0x1011b1ee
cmp dword [0x10165b38], 0
je 0x1011b1e2
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011b1ad
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011b218
push eax
call dword [0x10165b90]
add esp, 4
jmp 0x1011b218
push edi
call dword [0x10165b5c]
add esp, 4
jmp 0x1011b218
mov eax, dword [edi]
mov ecx, dword [esp + 0x28]
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 0x1011b21a
mov esi, 7
xor edi, edi
inc dword [ebx + 0x40]
mov dword [ebx + 0x24], esi
test edi, edi
je 0x1011b2bb
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 0x1011b25c
add ecx, edx
lea edx, [esp + 0x68]
call fcn.101268f0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
cmp eax, dword [ecx + 0x20]
jne 0x1011b25c
mov eax, dword [esp + 0x6c]
cmp eax, dword [ecx + 0x24]
je 0x1011b263
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165b38], 0
je 0x1011b2b1
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011b27f
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011b2bb
push eax
call dword [0x10165b90]
jmp 0x1011b2b8
push edi
call dword [0x10165b5c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, ebx
push 0
mov edx, edi
call fcn.10110ed0
add esp, 4
mov edx, edi
mov ecx, ebx
call fcn.10110fe0
test eax, eax
je 0x1011ab48
mov ecx, edi
call fcn.101111d0
jmp 0x1011b2f6
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x24], 0
jne 0x1011b33a
mov edi, dword [esp + 0x24]
jmp 0x10119f11
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021700
add esp, 8
push 0x10155e9c
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
add esp, 0x14
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x1011b349
xor edi, edi
jmp 0x1011b3d9
mov esi, dword [ebp]
test esi, esi
jne 0x1011b37f
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021700
push 0x10155e9c
push 0x1572f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021700
add esp, 0x1c
lea edi, [esi + 0x15]
jmp 0x1011b3d9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1011b390
push eax
call dword [0x10165b88]
add esp, 4
cmp dword [ebp + 0x8c], 0
jl 0x1011b3ad
jg 0x1011b3a4
cmp dword [ebp + 0x88], 0
jbe 0x1011b3ad
mov edx, ebp
mov ecx, esi
call fcn.10048bc0
mov ecx, ebp
call fcn.10046b40
mov ecx, ebp
mov edi, eax
call fcn.10046c20
cmp byte [esi + 0x57], 0
jne 0x1011b3c7
test edi, edi
je 0x1011b3d2
mov edx, edi
mov ecx, esi
call fcn.1001f000
mov edi, eax
mov ecx, esi
call fcn.100cc4b0
cmp dword [ebx + 0x24], 0
jne 0x1011b3e2
mov dword [ebx + 0x24], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret