Function at 0x1015b780
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102926b8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10314008]
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 esi, ecx
mov dword [ebp - 0x5c], esi
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
xor bh, bh
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], bh
test esi, esi
je 0x1015b7ee
mov eax, dword [esi]
test eax, eax
je 0x1015b7eb
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1015b7e5
cmp eax, 0x80
je 0x1015b7e5
xor bh, bh
jmp 0x1015b7eb
mov byte [esi + 4], 1
mov bh, 1
mov byte [ebp - 0x20], bh
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.10158150
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x1015b80a
xor bl, bl
jmp 0x1015b986
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push dword [ebp + 8]
push str.url_info
push str.SELECT_local_path_FROM__s_WHERE_url_id_____u
push eax
call fcn.100fece0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10169cf0
mov esi, dword [ebp - 0x1c]
test al, al
je 0x1015b952
mov bl, byte [ebp - 0x14]
test bl, bl
jne 0x1015b937
xor eax, eax
mov dword [ebp - 0x64], 0
push eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x74]
push 0x102a3984
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.10004d70
mov byte [ebp - 4], 3
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.10004cc0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x54]
push ecx
cmp dword [edi + 8], eax
je 0x1015b8ff
mov ecx, eax
call fcn.100062d0
add dword [edi + 4], 0x18
jmp 0x1015b907
push eax
mov ecx, edi
call fcn.10048400
test esi, esi
je 0x1015b946
push esi
call fcn.101ce4a0
add esp, 4
cmp eax, 0x64
je 0x1015b923
cmp eax, 0x65
jne 0x1015b93b
mov bl, 1
mov byte [ebp - 0x14], bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.10004cc0
test bl, bl
je 0x1015b894
mov bl, 1
jmp 0x1015b954
lea ecx, [ebp - 0x1c]
call fcn.1016a020
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.10004cc0
xor bl, bl
mov byte [ebp - 4], 1
test esi, esi
je 0x1015b96c
push esi
call fcn.101cd270
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10004cc0
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1015b9a6
test bh, bh
je 0x1015b9a6
mov eax, dword [esi]
test eax, eax
je 0x1015b9a2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x24], 0
mov al, bl
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.1025b3e6
mov esp, ebp
pop ebp
ret 8