Function at 0x1015a470
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10292487
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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 ebx, ecx
mov edi, dword [ebp + 0xc]
xor al, al
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x20], al
test ebx, ebx
je 0x1015a4ef
mov eax, dword [ebx]
test eax, eax
jne 0x1015a4cb
xor al, al
jmp 0x1015a4e9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1015a4e3
cmp eax, 0x80
je 0x1015a4e3
xor al, al
jmp 0x1015a4e9
mov byte [ebx + 4], 1
mov al, 1
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x20], al
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.10158150
mov esi, eax
mov byte [ebp - 0x3e], 0
test esi, esi
je 0x1015aa11
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_url_id__url__refer_url__user_agent__local_path__temp_path__total_size__completed_size__status__file_time__speed_limit__support_resume__open_direct__data__header__inprivate__reserve0_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]
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.10169cf0
mov esi, dword [ebp - 0x1c]
test al, al
je 0x1015a9c5
cmp byte [ebp - 0x14], 0
jne 0x1015a9c1
push 0
push esi
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a5b0
push 0
push esi
call fcn.101cee80
add esp, 8
jmp 0x1015a5b3
or eax, 0xffffffff
push 0x102a3984
lea ecx, [ebp - 0x5c]
mov dword [edi], eax
call fcn.100046c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 4
lea ecx, [edi + 4]
push eax
call fcn.10004650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004cc0
push 0x102a3984
lea ecx, [ebp - 0x5c]
call fcn.100046c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
push eax
push 2
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 6
lea ecx, [edi + 0x1c]
push eax
call fcn.10004650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004cc0
push 0x102a3984
lea ecx, [ebp - 0x5c]
call fcn.100046c0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x5c]
push eax
push 3
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x8c]
push eax
call fcn.10004650
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004cc0
push 0x102a3984
lea ecx, [ebp - 0x5c]
call fcn.100046c0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x5c]
push eax
push 4
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x34]
push eax
call fcn.10004650
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004cc0
push 0x102a3984
lea ecx, [ebp - 0x5c]
call fcn.100046c0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x5c]
push eax
push 5
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x4c]
push eax
call fcn.10004650
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004cc0
push 6
push esi
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a73d
push 6
push esi
call fcn.101cef30
add esp, 8
jmp 0x1015a742
or eax, 0xffffffff
or edx, eax
push 7
push esi
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a765
push 7
push esi
call fcn.101cef30
add esp, 8
jmp 0x1015a76a
or eax, 0xffffffff
or edx, eax
push 8
push esi
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a78d
push 8
push esi
call fcn.101cee80
add esp, 8
jmp 0x1015a790
or eax, 0xffffffff
push 9
push esi
mov dword [edi + 0x84], eax
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a7b3
push 9
push esi
call fcn.101cef30
add esp, 8
jmp 0x1015a7b8
or eax, 0xffffffff
or edx, eax
push 0xa
push esi
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], edx
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a7db
push 0xa
push esi
call fcn.101cee80
add esp, 8
jmp 0x1015a7de
or eax, 0xffffffff
push 0xb
push esi
mov dword [edi + 0x80], eax
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a801
push 0xb
push esi
call fcn.101cee80
add esp, 8
jmp 0x1015a804
or eax, 0xffffffff
test eax, eax
push 0xc
setne al
push esi
mov byte [edi + 0x88], al
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a82c
push 0xc
push esi
call fcn.101cee80
add esp, 8
jmp 0x1015a82f
or eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x74]
push 0x102a3984
setne al
mov byte [edi + 0x89], al
call fcn.100046c0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x74]
push eax
push 0xd
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x1015a86f
mov eax, dword [eax]
push 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10109ce0
add esp, 8
mov dword [ebp - 0x44], 1
lea ecx, [edi + 0xa4]
push eax
call fcn.100047d0
mov eax, 1
mov dword [ebp - 0x44], eax
and eax, 0xfffffffe
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1015a8da
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1015a8d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1015a8d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1025b427
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8c]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.10004cc0
push 0x102a3984
lea ecx, [ebp - 0x74]
call fcn.100046c0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x74]
push eax
push 0xe
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10169ef0
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0xbc]
push eax
call fcn.10004650
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x8c]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.10004cc0
push 0xf
push esi
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a975
push 0xf
push esi
call fcn.101cee80
add esp, 8
jmp 0x1015a978
or eax, 0xffffffff
test eax, eax
push 0x10
setne al
push esi
mov byte [edi + 0xd4], al
call fcn.101cf2a0
add esp, 8
cmp eax, 5
je 0x1015a9a0
push 0x10
push esi
call fcn.101cef30
add esp, 8
jmp 0x1015a9a5
or eax, 0xffffffff
or edx, eax
mov dword [edi + 0xd8], eax
mov ecx, ebx
lea eax, [edi + 0xe0]
mov dword [edi + 0xdc], edx
push eax
push dword [edi]
call fcn.1015b530
mov byte [ebp - 0x3e], 1
test esi, esi
je 0x1015a9d7
push esi
call fcn.101cd270
add esp, 4
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 1
test esi, esi
je 0x1015a9fa
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 dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1015aa33
cmp byte [ebp - 0x3d], 0
je 0x1015aa33
mov eax, dword [ebx]
test eax, eax
je 0x1015aa2f
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebx + 4], 0
mov al, byte [ebp - 0x3e]
mov dword [ebp - 0x24], 0
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