Function at 0x10011e10
Capabilities:
Check if file exists
Copy file
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152798
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x101933a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x2cc], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x300], esi
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2ac], 0
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
cmp eax, dword [esi + 8]
jne 0x10011e7c
mov eax, dword [esi]
call dword [eax + 8]
mov edi, dword [esi + 4]
mov dword [ebp - 0x2c0], edi
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x100129e0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b0], esi
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2b8], eax
or ecx, 0xffffffff
test eax, eax
jne 0x1001297f
mov eax, dword [ebp - 0x300]
cmp edi, dword [eax + 8]
je 0x1001297f
mov edx, dword [edi]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x2a0], ecx
lea edi, [edx - 0x10]
cmp edi, ecx
je 0x10011f3c
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x10011f27
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x10011f27
push edi
call fcn.1000cb70
or edi, 0xffffffff
mov dword [ebp - 0x2bc], eax
add esp, 4
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x10011f1c
mov esi, dword [ebp - 0x2a0]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2bc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b0], esi
jmp 0x10011f3f
push dword [edx - 0xc]
lea ecx, [ebp - 0x2b0]
push edx
call fcn.1000e410
mov esi, dword [ebp - 0x2b0]
or edi, 0xffffffff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10011f8b
mov eax, edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10011f65
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10011f84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x100129c2
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2b4]
push eax
call fcn.1000e280
push 0
push dword [ebp - 0x2b4]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x2b4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10012007
mov edx, dword [ebp - 0x2b4]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011f4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10011f4a
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 3
call fcn.100622b0
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 4
call fcn.10063450
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.1000cb70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x2a8], eax
push 0x1015c458
push 0x1015c460
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 5
call fcn.1000fc10
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x100129ea
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c4], eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 6
push str.SELECT_url__title__last_visit_time_FROM_urls_WHERE_visit_count_1_AND_title_sORDER_BY_last_visit_time_DESC__id_DESC_LIMIT_1
push eax
call fcn.1000ee70
add esp, 0xc
lea eax, [ebp - 0x2f0]
lea ecx, [ebp - 0x2d8]
push eax
call fcn.10029700
mov edi, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c]
push edi
push eax
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 7
call fcn.10062eb0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.10062bf0
test al, al
jne 0x10012157
push 0x1015bbb0
lea ecx, [ebp - 0x2c]
call fcn.10063140
push 0xfde9
push eax
lea ecx, [ebp - 0x194]
call fcn.10011a30
mov edx, dword [eax]
mov byte [ebp - 4], 9
test edx, edx
jne 0x10012105
xor ecx, ecx
jmp 0x10012123
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2a0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012110
sub ecx, dword [ebp - 0x2a0]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x2c8]
push edx
call fcn.1000e410
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 8
cmp eax, ecx
je 0x1001214d
push eax
call fcn.1012d251
add esp, 4
mov dword [ebp - 0x2b8], 1
lea ecx, [ebp - 0x2c]
call fcn.10063160
lea ecx, [ebp - 0x2c]
call fcn.10062620
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.10029740
lea ecx, [ebp - 0x2f0]
call fcn.10062a30
lea edx, [edi - 0x10]
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001219f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2a8]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100121c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2f0]
call fcn.10062560
jmp 0x1001230f
mov eax, dword [0x1019cb04]
mov dword [ebp - 4], 2
test al, 1
jne 0x10012409
or eax, 1
mov dword [0x1019cb04], eax
cmp dword [0x1019308c], 0
mov byte [ebp - 4], 0xf
je 0x100123fb
push str.ntdll.dll
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2c4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2d0], eax
test eax, eax
je 0x100123f1
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100123b7
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x2bc]
push ecx
call eax
movzx eax, word [ebp - 0x2a8]
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2c4], 1
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x2c4], 0
je 0x100123f1
mov eax, dword [ebp - 0x2bc]
cmp eax, 6
jne 0x100123e2
cmp dword [ebp - 0x2a0], 4
je 0x100123e7
jmp 0x100123f1
cmp eax, 0xa
jb 0x100123f1
mov dword [0x1019cafc], 1
mov dword [0x1019308c], 0
mov eax, dword [0x1019cafc]
mov dword [0x1019cb00], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2b8], 0
jne 0x100124f6
cmp dword [esi - 0xc], 0
jl 0x10012460
push str.liebao
push esi
call fcn.10129c3a
add esp, 8
test eax, eax
je 0x1001243b
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x100124ed
cmp dword [esi - 0xc], 0
jl 0x10012460
push str.TheWorld
push esi
call fcn.10129c3a
add esp, 8
test eax, eax
je 0x10012460
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x100124ed
cmp dword [0x1019cb00], 0
je 0x100124f6
lea eax, [ebp - 0x2e0]
push str.ikLIvAeSDiE
push eax
call fcn.1002f7a0
add esp, 8
or dword [ebp - 0x2ac], 1
mov eax, dword [eax]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x100124af
cmp dword [esi - 0xc], 0
jl 0x100124af
push eax
push esi
call fcn.10129c3a
add esp, 8
test eax, eax
je 0x100124af
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x100124ed
lea eax, [ebp - 0x2dc]
push str.__ilytBHo03dfezkiLInYA
push eax
call fcn.1002f7a0
or dword [ebp - 0x2ac], 2
add esp, 8
mov eax, dword [eax]
test eax, eax
je 0x100124f6
cmp dword [esi - 0xc], 0
jl 0x100124f6
push eax
push esi
call fcn.10129c3a
add esp, 8
test eax, eax
je 0x100124f6
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x100124f6
mov byte [ebp - 0x2a1], 1
jmp 0x100124fd
mov byte [ebp - 0x2a1], 0
mov ecx, dword [ebp - 0x2ac]
test cl, 2
je 0x10012534
mov edx, dword [ebp - 0x2dc]
and ecx, 0xfffffffd
mov dword [ebp - 0x2ac], ecx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012534
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 4], 2
test cl, 1
je 0x10012566
mov edx, dword [ebp - 0x2e0]
and ecx, 0xfffffffe
mov dword [ebp - 0x2ac], ecx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012566
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2a1], 0
je 0x10012796
mov dword [ebp - 0x2a0], 0x28
nop dword [eax]
push 0x1f4
push dword [0x1019cdfc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10012922
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], 0
push eax
xorps xmm0, xmm0
push 0
push esi
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x100125f7
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x2a0]
dec eax
mov dword [ebp - 0x2a0], eax
test eax, eax
jle 0x100125f7
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x10012580
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x11
call fcn.100622b0
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x12
call fcn.10063450
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.1000cb70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x2a8], eax
push 0x1015c458
push 0x1015c460
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x13
call fcn.1000fc10
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x100129f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2a0], eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x14
push str.SELECT_url__title__last_visit_time_FROM_urls_WHERE_visit_count_1_AND_title_sORDER_BY_last_visit_time_DESC__id_DESC_LIMIT_1
push eax
call fcn.1000ee70
add esp, 0xc
lea eax, [ebp - 0x2fc]
lea ecx, [ebp - 0x2e4]
push eax
call fcn.10029700
mov edi, dword [ebp - 0x2a0]
lea eax, [ebp - 0x2c]
push edi
push eax
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x15
call fcn.10062eb0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.10062bf0
test al, al
jne 0x1001271b
push 0x1015bbb0
lea ecx, [ebp - 0x2c]
call fcn.10063140
push 0xfde9
push eax
lea ecx, [ebp - 0x194]
call fcn.10011a30
push dword [eax]
mov ecx, dword [ebp - 0x2c8]
mov byte [ebp - 4], 0x17
call fcn.1000e890
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x16
cmp eax, ecx
je 0x10012711
push eax
call fcn.1012d251
add esp, 4
mov dword [ebp - 0x2b8], 1
lea ecx, [ebp - 0x2c]
call fcn.10063160
lea ecx, [ebp - 0x2c]
call fcn.10062620
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x14
call fcn.10029740
lea ecx, [ebp - 0x2fc]
call fcn.10062a30
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0x13
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012763
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2a8]
mov eax, edi
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012784
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2fc]
call fcn.10062560
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x2b4]
or ecx, 0xffffffff
mov edi, dword [ebp - 0x2c0]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100127c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x2b8]
add edi, 4
mov dword [ebp - 0x2c0], edi
jmp 0x10011eb3
mov edx, dword [ebp - 0x2b4]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012943
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001295e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x100129bc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x100129bc
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001299d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100129bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10061045
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.1000b280
push 0x80004005
call fcn.1000b280
push 0x80004005
call fcn.1000b280
int3