Function at 0x1001bf10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10227941
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x102beb54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
xor al, al
cmp dword [edi], 0
mov byte [ebp - 0xc1], al
je 0x1001c234
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.102010e0
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.10018740
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push str.SELECT_task_key_state_dest_path_FROM_task_cache_WHERE_src_path
push eax
lea esi, [ebx + 0x10]
call fcn.10011d90
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x1001bf9e
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.100127b0
add esp, 0xc
push dword [ebx + 8]
push str._AND_page_end
push dword [ebx + 4]
push str._AND_page_start
push eax
call fcn.10011d90
add esp, 8
mov ecx, eax
call fcn.1000fce0
push eax
call fcn.10011d90
add esp, 8
mov ecx, eax
call fcn.1000fce0
push ebx
lea eax, [ebp - 0xe0]
push eax
call fcn.1001c510
mov esi, eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 1
push str._AND_dest_suffix
push eax
call fcn.10011d90
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x1001c00b
mov esi, dword [esi]
push 0x102aa694
push ecx
push esi
push eax
call fcn.100127b0
add esp, 0xc
push eax
call fcn.10011d90
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0xcc]
cmp edx, 0x10
jb 0x1001c062
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c058
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c252
push edx
push ecx
call fcn.101e9bb9
add esp, 8
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xc8], 0
push eax
lea ecx, [ebp - 0xa8]
call fcn.10010e00
push 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xcc], 0x10
lea edx, [ebp - 0xe0]
mov ecx, dword [edi]
cmovae edx, dword [ebp - 0xe0]
push eax
push 0
push 0x80
push 0xffffffffffffffff
call fcn.10076480
mov byte [ebp - 4], 0
add esp, 0x14
mov edx, dword [ebp - 0xcc]
mov esi, eax
cmp edx, 0x10
jb 0x1001c0f2
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c0e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c257
push edx
push ecx
call fcn.101e9bb9
add esp, 8
test esi, esi
jne 0x1001c223
mov esi, dword [ebp - 0xc8]
push esi
call fcn.100443c0
add esp, 4
cmp eax, 0x64
jne 0x1001c21a
push 0
push esi
call fcn.10044ea0
add esp, 8
mov edi, 0x102a4392
test eax, eax
mov edx, edi
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c134
sub ecx, dword [ebp - 0xc8]
push ecx
push edx
lea ecx, [ebx + 0x28]
call fcn.10005eb0
test esi, esi
je 0x1001c18f
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1001c162
push eax
call dword [0x102bf5d0]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x1001c17c
mov eax, 1
cmp ax, word [esi + 0x8c]
jae 0x1001c17c
add ecx, 0x28
jmp 0x1001c194
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x34], 0x19
call fcn.10022c80
mov ecx, 0x102a7560
call fcn.1003d4b0
mov dword [ebp - 0xc8], eax
test esi, esi
je 0x1001c1e2
mov eax, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [eax + 0x45], 0
jne 0x1001c1bd
cmp edx, 0xc0a
je 0x1001c1bd
mov ecx, dword [eax + 0x38]
and ecx, edx
jmp 0x1001c1c8
mov ecx, eax
call fcn.10020640
mov ecx, eax
mov eax, dword [esi]
mov dword [esi + 0x28], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1001c1dc
push eax
call dword [0x102bf5d8]
add esp, 4
mov eax, dword [ebp - 0xc8]
push 2
push esi
mov dword [ebx], eax
call fcn.10044ea0
add esp, 8
test eax, eax
cmovne edi, eax
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c200
sub ecx, edx
push ecx
push edi
lea ecx, [ebx + 0x40]
call fcn.10005eb0
mov byte [ebp - 0xc1], 1
push esi
call fcn.10043540
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.10017c10
mov al, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret 4
call fcn.10204cda
call fcn.10204cda
int3