Function at 0x101191f0
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 0x1011a7b2
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.10021550
add esp, 0x10
mov esi, eax
cmp dword [ebx + 0x24], edi
jne 0x1011927b
test esi, esi
je 0x10119272
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.10092ad0
mov edi, dword [esp + 0x38]
add esp, 0x14
mov dword [ebx + 0x24], eax
jmp 0x1011927f
mov dword [ebx + 0x24], 7
jmp 0x101192d7
test esi, esi
je 0x101192d7
cmp dword [0x10165b38], 0
je 0x101192cd
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011929b
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 0x101192d7
push eax
call dword [0x10165b90]
jmp 0x101192d4
push esi
call dword [0x10165b5c]
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x1011a70a
xor ebp, ebp
test edi, edi
je 0x1011a6dd
cmp dword [edi], ebp
jne 0x10119303
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021710
add esp, 8
lea eax, [ebp + 1]
jmp 0x10119305
xor eax, eax
test eax, eax
jne 0x1011a6ec
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10119324
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, edi
call fcn.10049b40
mov esi, eax
cmp esi, 0x11
jne 0x1011954e
mov ecx, ebp
inc ebp
mov dword [esp + 0x40], ebp
cmp ecx, 0x32
jge 0x1011954e
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.10092ad0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1011947b
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.1004bc30
mov dword [ebp + 0x24], 0
cmp byte [ebp + 0x95], 1
jb 0x10119442
mov ecx, ebp
call fcn.10046b70
mov ecx, ebp
call fcn.10046c50
push edi
call fcn.10048db0
add esp, 4
cmp dword [esp + 0x18], 0
jl 0x10119460
mov byte [edi + 0x93], 0xfe
mov ecx, edi
call fcn.10049b40
mov esi, eax
cmp esi, 0x11
jne 0x1011954e
mov ebp, dword [esp + 0x40]
jmp 0x10119336
cmp edi, 7
jne 0x10119487
mov ecx, esi
call fcn.1001ef40
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x10119499
xor esi, esi
jmp 0x101194cc
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x101194b6
cmp byte [ecx + 0x12], 1
jne 0x101194b6
mov esi, dword [ecx + 8]
jmp 0x101194c8
test dl, 1
je 0x101194bf
xor esi, esi
jmp 0x101194c8
mov dl, 1
call fcn.10043540
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x101194de
mov ecx, eax
call fcn.1001e7d0
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x57], 0
jne 0x10119599
test esi, esi
jne 0x101194f4
xor ebp, ebp
jmp 0x10119533
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10119500
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.1001ec70
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10119533
push dword [esp + 0x18]
push esi
push ebp
call fcn.1012b000
add esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, edi
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x7c], ebp
call fcn.1001f020
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 0x10119563
push eax
call dword [0x10165b90]
add esp, 4
cmp esi, 0x64
jne 0x1011a70a
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011957f
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [edi + 0x78]
mov ebp, 1
test eax, eax
je 0x101195ae
cmp bp, word [edi + 0x90]
jae 0x101195ae
add eax, 0x28
jmp 0x101195c6
mov edi, dword [esp + 0x24]
mov esi, 7
mov dword [edi + 0x7c], 0
mov dword [edi + 0x24], esi
jmp 0x10119552
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov eax, 0x10150a48
push eax
call fcn.10048f10
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 0x101195e8
test edx, edx
jne 0x101195e8
xor eax, eax
jmp 0x101195ed
call fcn.1001f020
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10119603
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10119616
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1011962b
cmp bp, word [esi + 0x90]
jae 0x1011962b
add ecx, 0x28
jmp 0x10119643
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x10119656
cmp byte [ecx + 0x12], 1
jne 0x10119656
mov eax, dword [ecx + 0xc]
jmp 0x10119685
test al, 0x10
je 0x10119670
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1011966a
mov eax, dword [ecx]
add eax, edx
jmp 0x10119685
mov dword [esp + 0x14], edx
jmp 0x10119689
test al, 1
je 0x1011967e
mov dword [esp + 0x14], 0
jmp 0x10119689
mov dl, 1
call fcn.10043c80
mov dword [esp + 0x14], eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011969c
test edx, edx
jne 0x1011969c
xor eax, eax
jmp 0x101196a1
call fcn.1001f020
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101196b7
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101196ca
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x101196e4
mov eax, 2
cmp ax, word [esi + 0x90]
jae 0x101196e4
add ecx, 0x50
jmp 0x101196fc
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x1011970c
mov ebp, dword [ecx]
mov dword [esp + 0x2c], ebp
jmp 0x1011973d
test al, 8
je 0x1011971b
movsd xmm0, qword [ecx]
call fcn.10042880
jmp 0x10119739
test al, 0x12
je 0x1011972c
cmp dword [ecx + 8], 0
je 0x1011972c
call fcn.100428b0
jmp 0x10119739
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 0x10119750
test edx, edx
jne 0x10119750
xor eax, eax
jmp 0x10119755
call fcn.1001f020
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011976b
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011977e
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10119798
mov eax, 3
cmp ax, word [esi + 0x90]
jae 0x10119798
add ecx, 0x78
jmp 0x101197b0
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x101197c0
mov ebp, dword [ecx]
mov dword [esp + 0x10], ebp
jmp 0x101197f1
test al, 8
je 0x101197cf
movsd xmm0, qword [ecx]
call fcn.10042880
jmp 0x101197ed
test al, 0x12
je 0x101197e0
cmp dword [ecx + 8], 0
je 0x101197e0
call fcn.100428b0
jmp 0x101197ed
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 0x10119804
test edx, edx
jne 0x10119804
xor eax, eax
jmp 0x10119809
call fcn.1001f020
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011981f
push eax
call dword [0x10165b90]
add esp, 4
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x2c]
cmp ebp, dword [eax + 4]
jl 0x1011a6ce
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.1010eda0
mov esi, eax
add esp, 8
test esi, esi
je 0x1011a70a
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jg 0x1011986b
mov dword [ebx + 0x24], 0x10b
jmp 0x10119940
mov ebp, dword [esi]
lea edx, [esp + 0x54]
lea ecx, [eax + ebp]
call fcn.10126ac0
movzx eax, byte [ebp]
movzx ecx, byte [ebp + 1]
shl eax, 8
add ecx, eax
mov eax, dword [esp + 0x54]
cmp ecx, eax
jge 0x1011992c
cmp eax, dword [esi + 8]
jge 0x1011992c
lea ecx, [eax + ebp]
lea edx, [esp + 0x50]
call fcn.10126ac0
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 0x10119924
add edx, ebp
sub ecx, 4
jb 0x101198e1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x101198e6
add edx, 4
add edi, 4
sub ecx, 4
jae 0x101198d0
cmp ecx, 0xfffffffc
je 0x1011991a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x10119913
cmp ecx, 0xfffffffd
je 0x1011991a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x10119913
cmp ecx, 0xfffffffe
je 0x1011991a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x10119913
cmp ecx, 0xffffffff
je 0x1011991a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x1011991a
sbb eax, eax
or eax, 1
jmp 0x1011991c
xor eax, eax
test eax, eax
jne 0x1011992a
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x14]
test eax, eax
jns 0x10119933
mov dword [ebx + 0x24], 0x10b
mov edx, esi
mov ecx, ebx
call fcn.10118eb0
mov ebp, dword [esp + 0x2c]
cmp dword [0x10165b38], 0
je 0x1011998e
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011995c
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 0x10119998
push eax
call dword [0x10165b90]
jmp 0x10119995
push esi
call dword [0x10165b5c]
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x1011a70a
mov edi, dword [esp + 0x1c]
inc edi
dec ebp
cmp edi, ebp
jg 0x10119a7d
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.1010ea20
mov esi, eax
add esp, 8
test esi, esi
je 0x10119a6d
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jge 0x101199ea
mov dword [ebx + 0x24], 0x10b
mov eax, dword [esp + 0x38]
inc eax
cmp edi, eax
jl 0x10119a15
mov eax, dword [esi]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
mov eax, pe_nt_image_headers32
imul ecx, eax
xor eax, eax
add dx, cx
cmp ax, dx
je 0x10119a15
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165b38], 0
je 0x10119a63
mov eax, dword [0x10168b88]
test eax, eax
je 0x10119a31
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 0x10119a6d
push eax
call dword [0x10165b90]
jmp 0x10119a6a
push esi
call dword [0x10165b5c]
add esp, 4
inc edi
cmp dword [ebx + 0x24], 0
je 0x101199a8
jmp 0x1011a70a
cmp dword [esp + 0x10], 0
je 0x1011a6bb
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 0x10119eb6
call fcn.100ca320
test eax, eax
jne 0x10119e92
shl esi, 5
mov ecx, edi
push ebp
mov dword [esp + 0x68], esi
lea eax, [esi + 0x28]
push eax
call fcn.1001e950
mov edi, eax
add esp, 8
mov dword [esp + 0x30], edi
test edi, edi
je 0x10119e8e
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 0x10119e56
mov eax, dword [ebx + 0x28]
lea edi, [ebx + 0x28]
xor esi, esi
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10119bcb
push dword [esp + 0x18]
mov dword [edi], esi
push ecx
push eax
call fcn.10054790
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
test esi, esi
je 0x10119bc0
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 0x10119b97
push ecx
call dword [0x10165b88]
mov eax, dword [esp + 0x40]
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.1001e7d0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10119bb1
push eax
call dword [0x10165b90]
add esp, 4
push dword [esp + 0x1c]
call fcn.10048cf0
add esp, 4
lea edi, [ebx + 0x28]
mov ecx, dword [esp + 0x14]
cmp esi, 4
jne 0x10119bcb
xor esi, esi
cmp dword [edi], ebp
jne 0x10119bf3
test esi, esi
jne 0x10119bf3
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.10053ec0
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x10119c02
mov esi, 0x10b
jmp 0x10119e48
test esi, esi
jne 0x10119e48
mov esi, dword [edi]
test esi, esi
je 0x10119c19
cmp dword [esi + 0x10], ebp
je 0x10119c19
mov esi, dword [esi]
jmp 0x10119c1b
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.100ca320
test eax, eax
jne 0x10119e41
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e500
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10119e41
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 0x10119c80
push 0x10155e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
mov esi, 0x15
jmp 0x10119dbc
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10119c94
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 0x10119d81
cmp ecx, dword [esi]
jg 0x10119d81
test eax, eax
jne 0x10119cbb
lea esi, [eax + 4]
jmp 0x10119d86
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x10119cdb
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x10119cdb
mov ecx, eax
call fcn.10034460
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea esi, [ebp + 0xc]
cmp byte [eax], 0
jne 0x10119cf9
push 0
push esi
push ecx
mov ecx, eax
call fcn.10039170
add esp, 0xc
jmp 0x10119d05
push esi
push ecx
mov ecx, eax
call fcn.10039560
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 0x10119d2c
add dword [eax + 0xc], 0xffffffff
jne 0x10119d2c
mov ecx, eax
call fcn.10034440
mov ecx, esi
mov eax, dword [esp + 0x3c]
cmp esi, 4
jne 0x10119d64
cmp byte [eax + 0x95], 1
jb 0x10119d49
mov ecx, eax
call fcn.10046b70
mov eax, dword [esp + 0x3c]
mov ecx, eax
call fcn.10046c50
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x40], eax
jmp 0x10119d89
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [edi + 0x40], ecx
test ecx, ecx
jne 0x10119d89
cmp dword [edi + 0x124], ecx
jne 0x10119d89
mov dword [edi + 0x44], 0xffffffff
jmp 0x10119d92
mov esi, 1
mov dword [edi + 0x40], esi
mov edx, esi
mov ecx, edi
call fcn.10022380
cmp byte [edi + 0x57], 0
jne 0x10119d9c
test esi, esi
je 0x10119da7
mov edx, esi
mov ecx, edi
call fcn.1001f020
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10119db8
push eax
call dword [0x10165b90]
add esp, 4
test esi, esi
je 0x10119e19
cmp dword [0x10165b38], 0
je 0x10119e0d
mov eax, dword [0x10168b88]
test eax, eax
je 0x10119dd8
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 0x10119e46
push eax
call dword [0x10165b90]
add esp, 4
jmp 0x10119e46
push ebp
call dword [0x10165b5c]
add esp, 4
jmp 0x10119e46
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 0x10119e48
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 0x10119e7f
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 0x10119e99
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [edi], eax
jmp 0x10119e99
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 0x10119ac0
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
jmp 0x10119ee8
mov ecx, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esp + 0x28]
mov dword [ecx + 4], ebp
cmp dword [ecx], edi
jle 0x10119ee4
lea esi, [ecx + 8]
mov dword [esp + 0x10], ecx
mov ebp, ecx
mov ecx, esi
call fcn.10110220
inc edi
add esi, 0x20
cmp edi, dword [ebp]
jl 0x10119ed0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ebx + 0x24], 0
je 0x10119efb
mov ecx, edi
call fcn.101105d0
xor edi, edi
mov dword [esp + 0x10], edi
mov edx, edi
mov ecx, ebx
call fcn.101103e0
test eax, eax
jne 0x1011a6b2
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 0x1011a2d2
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 0x1011a2b6
mov ebp, dword [ebx + 0x28]
add ebx, 0x28
xor esi, esi
test ebp, ebp
je 0x10119fcf
push edx
push ecx
push ebp
mov dword [ebx], esi
call fcn.10054790
mov esi, eax
mov dword [ebx], ebp
add esp, 0xc
test esi, esi
je 0x10119fba
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 0x10119f8b
push eax
call dword [0x10165b88]
add esp, 4
mov edx, ebp
mov ecx, ebx
call fcn.1001e7d0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10119fa5
push eax
call dword [0x10165b90]
add esp, 4
push dword [esp + 0x30]
call fcn.10048cf0
mov ebp, dword [esp + 0x4c]
add esp, 4
lea ebx, [ebp + 0x28]
jmp 0x10119fbe
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp esi, 4
jne 0x10119fd3
xor esi, esi
jmp 0x10119fd3
mov ebp, dword [esp + 0x48]
cmp dword [ebx], edi
jne 0x10119ff9
test esi, esi
jne 0x10119ff9
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.10053ec0
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011a008
mov esi, 0x10b
jmp 0x1011a22f
test esi, esi
jne 0x1011a22f
mov esi, dword [ebx]
test esi, esi
je 0x1011a01f
cmp dword [esi + 0x10], edi
je 0x1011a01f
mov esi, dword [esi]
jmp 0x1011a021
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.100ca320
test eax, eax
jne 0x1011a228
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e500
mov edi, eax
add esp, 8
test edi, edi
je 0x1011a228
lea eax, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi], eax
mov ebp, dword [ebp + 0x28]
test ebp, ebp
jne 0x1011a07f
push 0x10155e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
lea esi, [ebp + 0x15]
jmp 0x1011a1a6
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011a093
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
test esi, esi
js 0x1011a16b
cmp esi, dword [ebp]
jg 0x1011a16b
test eax, eax
jne 0x1011a0b7
lea esi, [eax + 4]
jmp 0x1011a170
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 9], 0
je 0x1011a0d1
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1011a0d1
call fcn.10034460
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov edx, dword [ebp + 4]
cmp byte [ecx], 0
jne 0x1011a0ed
push 0
push eax
push esi
call fcn.10039170
add esp, 0xc
jmp 0x1011a0f7
push eax
push esi
call fcn.10039560
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 0x1011a11a
add dword [eax + 0xc], 0xffffffff
jne 0x1011a11a
mov ecx, eax
call fcn.10034440
mov ecx, esi
mov eax, dword [esp + 0x20]
cmp esi, 4
jne 0x1011a14e
cmp byte [eax + 0x95], 1
jb 0x1011a137
mov ecx, eax
call fcn.10046b70
mov eax, dword [esp + 0x20]
mov ecx, eax
call fcn.10046c50
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x10], 0
mov dword [ebx + 0x40], eax
jmp 0x1011a173
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [ebx + 0x40], ecx
test ecx, ecx
jne 0x1011a173
cmp dword [ebx + 0x124], ecx
jne 0x1011a173
mov dword [ebx + 0x44], 0xffffffff
jmp 0x1011a17c
mov esi, 1
mov dword [ebx + 0x40], esi
mov edx, esi
mov ecx, ebx
call fcn.10022380
cmp byte [ebx + 0x57], 0
jne 0x1011a186
test esi, esi
je 0x1011a191
mov edx, esi
mov ecx, ebx
call fcn.1001f020
mov esi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1011a1a2
push eax
call dword [0x10165b90]
add esp, 4
test esi, esi
je 0x1011a203
cmp dword [0x10165b38], 0
je 0x1011a1f7
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011a1c2
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 0x1011a22d
push eax
call dword [0x10165b90]
add esp, 4
jmp 0x1011a22d
push edi
call dword [0x10165b5c]
add esp, 4
jmp 0x1011a22d
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 0x1011a22f
mov esi, 7
xor edi, edi
mov ebx, dword [esp + 0x48]
inc dword [ebx + 0x40]
mov dword [ebx + 0x24], esi
test edi, edi
je 0x1011a2b2
mov edx, dword [edi]
mov eax, pe_nt_image_headers32
movzx ecx, byte [edx]
imul ecx, eax
movzx eax, byte [edx + 1]
add cx, ax
je 0x1011a25a
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165b38], 0
je 0x1011a2a8
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011a276
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 0x1011a2b2
push eax
call dword [0x10165b90]
jmp 0x1011a2af
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 0x10119f30
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 0x1011a68f
mov eax, dword [ebx + 0x28]
lea ebp, [ebx + 0x28]
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1011a372
push edx
push ecx
push eax
mov dword [ebp], esi
call fcn.10054790
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [ebp], eax
test esi, esi
je 0x1011a363
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 0x1011a33a
push ecx
call dword [0x10165b88]
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, eax
mov ecx, ebp
call fcn.1001e7d0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1011a354
push eax
call dword [0x10165b90]
add esp, 4
push dword [esp + 0x30]
call fcn.10048cf0
add esp, 4
lea ebp, [ebx + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp esi, 4
jne 0x1011a372
xor esi, esi
cmp dword [ebp], edi
jne 0x1011a398
test esi, esi
jne 0x1011a398
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.10053ec0
add esp, 0x20
mov esi, eax
cmp esi, 1
jne 0x1011a3a7
mov esi, 0x10b
jmp 0x1011a5ea
test esi, esi
jne 0x1011a5ea
mov esi, dword [ebp]
test esi, esi
je 0x1011a3bf
cmp dword [esi + 0x10], edi
je 0x1011a3bf
mov esi, dword [esi]
jmp 0x1011a3c1
xor esi, esi
mov dword [esp + 0x28], esi
call fcn.100ca320
test eax, eax
jne 0x1011a5e3
lea eax, [esi + 0x20]
push 0
push eax
call fcn.1001e500
mov edi, eax
add esp, 8
test edi, edi
je 0x1011a5e3
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 0x1011a425
push 0x10155e9c
push 0x184bc
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
mov esi, 0x15
jmp 0x1011a561
mov ebp, dword [esi + 0x14]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1011a439
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 0x1011a526
cmp ecx, dword [esi]
jg 0x1011a526
test eax, eax
jne 0x1011a460
lea esi, [eax + 4]
jmp 0x1011a52b
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 9], 0
je 0x1011a480
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x1011a480
mov ecx, eax
call fcn.10034460
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea esi, [edi + 0xc]
cmp byte [eax], 0
jne 0x1011a49e
push 0
push esi
push ecx
mov ecx, eax
call fcn.10039170
add esp, 0xc
jmp 0x1011a4aa
push esi
push ecx
mov ecx, eax
call fcn.10039560
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 0x1011a4d1
add dword [eax + 0xc], 0xffffffff
jne 0x1011a4d1
mov ecx, eax
call fcn.10034440
mov ecx, esi
mov eax, dword [esp + 0x20]
cmp esi, 4
jne 0x1011a509
cmp byte [eax + 0x95], 1
jb 0x1011a4ee
mov ecx, eax
call fcn.10046b70
mov eax, dword [esp + 0x20]
mov ecx, eax
call fcn.10046c50
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x40], eax
jmp 0x1011a52e
mov dword [eax + 0x24], esi
mov esi, ecx
mov dword [ebp + 0x40], ecx
test ecx, ecx
jne 0x1011a52e
cmp dword [ebp + 0x124], ecx
jne 0x1011a52e
mov dword [ebp + 0x44], 0xffffffff
jmp 0x1011a537
mov esi, 1
mov dword [ebp + 0x40], esi
mov edx, esi
mov ecx, ebp
call fcn.10022380
cmp byte [ebp + 0x57], 0
jne 0x1011a541
test esi, esi
je 0x1011a54c
mov edx, esi
mov ecx, ebp
call fcn.1001f020
mov esi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1011a55d
push eax
call dword [0x10165b90]
add esp, 4
test esi, esi
je 0x1011a5be
cmp dword [0x10165b38], 0
je 0x1011a5b2
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011a57d
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 0x1011a5e8
push eax
call dword [0x10165b90]
add esp, 4
jmp 0x1011a5e8
push edi
call dword [0x10165b5c]
add esp, 4
jmp 0x1011a5e8
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 0x1011a5ea
mov esi, 7
xor edi, edi
inc dword [ebx + 0x40]
mov dword [ebx + 0x24], esi
test edi, edi
je 0x1011a68b
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 0x1011a62c
add ecx, edx
lea edx, [esp + 0x68]
call fcn.10126b50
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
cmp eax, dword [ecx + 0x20]
jne 0x1011a62c
mov eax, dword [esp + 0x6c]
cmp eax, dword [ecx + 0x24]
je 0x1011a633
mov dword [ebx + 0x24], 0x10b
cmp dword [0x10165b38], 0
je 0x1011a681
mov eax, dword [0x10168b88]
test eax, eax
je 0x1011a64f
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 0x1011a68b
push eax
call dword [0x10165b90]
jmp 0x1011a688
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.101102d0
add esp, 4
mov edx, edi
mov ecx, ebx
call fcn.101103e0
test eax, eax
je 0x10119f18
mov ecx, edi
call fcn.101105d0
jmp 0x1011a6c6
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 0x1011a70a
mov edi, dword [esp + 0x24]
jmp 0x101192e1
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021710
add esp, 8
push 0x10155e9c
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x1011a719
xor edi, edi
jmp 0x1011a7a9
mov esi, dword [ebp]
test esi, esi
jne 0x1011a74f
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021710
push 0x10155e9c
push 0x1572f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x1c
lea edi, [esi + 0x15]
jmp 0x1011a7a9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1011a760
push eax
call dword [0x10165b88]
add esp, 4
cmp dword [ebp + 0x8c], 0
jl 0x1011a77d
jg 0x1011a774
cmp dword [ebp + 0x88], 0
jbe 0x1011a77d
mov edx, ebp
mov ecx, esi
call fcn.10048c10
mov ecx, ebp
call fcn.10046b70
mov ecx, ebp
mov edi, eax
call fcn.10046c50
cmp byte [esi + 0x57], 0
jne 0x1011a797
test edi, edi
je 0x1011a7a2
mov edx, edi
mov ecx, esi
call fcn.1001f020
mov edi, eax
mov ecx, esi
call fcn.100cb630
cmp dword [ebx + 0x24], 0
jne 0x1011a7b2
mov dword [ebx + 0x24], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret