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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152446
mov eax, dword fs:[0]
push eax
sub esp, 0x228
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 ebx, ecx
mov dword [ebp - 0x220], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x210], eax
mov dword [ebp - 4], 0
call fcn.10047b10
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000f463
push 0x6f
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browserhistory_browserhistory360chrome.cpp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.100084b0
push 3
push 0x1015b938
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100084b0
mov byte [ebp - 4], 2
call fcn.10047b10
mov edi, eax
lea ecx, [ebp - 0x1f8]
push 0x25
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10004410
mov esi, eax
push str.CBrowserHistory360Chrome::GetHistoryInfo_title:
push esi
mov byte [ebp - 4], 3
call fcn.10002fd0
mov ecx, dword [ebp + 8]
mov edx, 0x1015b7d8
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10002fd0
push str._url:
push esi
call fcn.10002fd0
mov eax, dword [ebp - 0x210]
mov ecx, 0x1015b7d8
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10002fd0
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1f8]
call fcn.10005c20
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1000f419
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f40f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fbc8
push edx
push ecx
call fcn.10060cd4
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000f463
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f459
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fbcd
push edx
push ecx
call fcn.10060cd4
add esp, 8
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x1000f472
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov edi, dword [ebx + 4]
mov dword [ebp - 0x224], edi
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x1000fbd2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x204], esi
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x21c], eax
or ebx, 0xffffffff
test eax, eax
jne 0x1000fa16
mov eax, dword [ebp - 0x228]
cmp edi, dword [eax + 8]
je 0x1000fa16
mov edx, dword [edi]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x20c], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x1fc], eax
cmp eax, ecx
je 0x1000f538
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x1000f523
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x1000f523
push dword [ebp - 0x1fc]
call fcn.1000cb70
add esp, 4
mov dword [ebp - 0x1fc], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1000f518
mov esi, dword [ebp - 0x20c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1fc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x204], esi
jmp 0x1000f538
push dword [edx - 0xc]
lea ecx, [ebp - 0x204]
push edx
call fcn.1000e410
mov esi, dword [ebp - 0x204]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f584
mov eax, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000f55e
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], ebx
dec ebx
test ebx, ebx
jg 0x1000f57d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x1000fbaa
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x208]
push eax
call fcn.1000e280
push 0
push dword [ebp - 0x208]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x208]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f5df
mov edx, dword [ebp - 0x208]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f543
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000f543
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.100622b0
push dword [ebp - 0x208]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
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 - 0x1fc], eax
push 0x1015c458
push 0x1015c460
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 8
call fcn.1000fc10
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x1000fbdc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20c], eax
push dword [ebp - 0x1fc]
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 9
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 - 0x20]
lea ecx, [ebp - 0x22c]
push eax
call fcn.10029700
push dword [ebp - 0x20c]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x20]
call fcn.10062eb0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.10062bf0
test al, al
jne 0x1000f827
push 0x1015bbb0
lea ecx, [ebp - 0x5c]
call fcn.10063140
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x160], ecx
test eax, eax
jne 0x1000f6d2
xor edx, edx
mov dword [ebp - 0x160], edx
jmp 0x1000f7c7
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f6d7
sub ecx, edx
push 0x80
lea eax, [ecx + 1]
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x214], eax
push ecx
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.1000ebc0
mov eax, dword [ebp - 0x214]
add esp, 0x10
push eax
push dword [ebp - 0x160]
push eax
push dword [ebp - 0x218]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x200], ecx
test eax, eax
jne 0x1000f7b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000f7b3
push 0
push 0
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x80
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x200], eax
push ecx
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.1000ebc0
add esp, 0x10
push dword [ebp - 0x200]
push dword [ebp - 0x160]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x1000f7b9
mov ecx, dword [ebp - 0x200]
test ecx, ecx
jne 0x1000fbe6
mov edx, dword [ebp - 0x160]
mov byte [ebp - 4], 0xc
test edx, edx
jne 0x1000f7d3
xor ecx, ecx
jmp 0x1000f7f3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x200], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f7e0
sub ecx, dword [ebp - 0x200]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x210]
push edx
call fcn.1000e410
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xb
cmp eax, ecx
je 0x1000f81d
push eax
call fcn.1012d251
add esp, 4
mov dword [ebp - 0x21c], 1
lea ecx, [ebp - 0x5c]
call fcn.10063160
lea ecx, [ebp - 0x5c]
call fcn.10062620
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 9
call fcn.10029740
lea ecx, [ebp - 0x20]
call fcn.10062a30
mov edx, dword [ebp - 0x20c]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f86f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1fc]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f890
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.10062560
jmp 0x1000f9da
mov edx, dword [ebp - 0x208]
mov eax, ebx
mov dword [ebp - 4], 5
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fa02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
add edi, 4
mov dword [ebp - 0x224], edi
jmp 0x1000f4a7
call fcn.10047b10
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000fb6a
push 0x6f
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browserhistory_browserhistory360chrome.cpp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.100084b0
push 3
push 0x1015b938
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100084b0
mov byte [ebp - 4], 0x13
call fcn.10047b10
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x51
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10004410
mov edi, eax
push str.visit_url:
push edi
mov byte [ebp - 4], 0x14
call fcn.10002fd0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
test ecx, ecx
mov eax, 0x1015b7d8
cmovne eax, ecx
push eax
push edi
call fcn.10002fd0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10005c20
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x1000fb0b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fb01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fc05
push edx
push ecx
call fcn.10060cd4
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1000fb55
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fb4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fc0a
push edx
push ecx
call fcn.10060cd4
add esp, 8
mov dword [ebp - 0x34], 0
or ebx, 0xffffffff
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000fb85
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], ebx
dec ebx
test ebx, ebx
jg 0x1000fba4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x21c]
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
call fcn.1012d1a9
call fcn.1012d1a9
push 0x80004005
call fcn.1000b280
push 0x80004005
call fcn.1000b280
push 0x80
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x160]
call fcn.1000a620
add esp, 0xc
call fcn.1000b2a0
call fcn.1012d1a9
call fcn.1012d1a9
int3