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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152526
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 0x100105a3
push 0x70
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browserhistory_browserhistory360chromex.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 0x10010559
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001054f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d08
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 0x100105a3
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010599
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d0d
push edx
push ecx
call fcn.10060cd4
add esp, 8
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x100105b2
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 0x10010d12
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 0x10010b56
mov eax, dword [ebp - 0x228]
cmp edi, dword [eax + 8]
je 0x10010b56
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 0x10010678
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x10010663
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x10010663
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 0x10010658
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 0x10010678
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 0x100106c4
mov eax, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001069e
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 0x100106bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x10010cea
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 0x1001071f
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 0x10010683
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10010683
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 0x10010d1c
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 0x10010967
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 0x10010812
xor edx, edx
mov dword [ebp - 0x160], edx
jmp 0x10010907
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010817
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 0x100108f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100108f3
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 0x100108f9
mov ecx, dword [ebp - 0x200]
test ecx, ecx
jne 0x10010d26
mov edx, dword [ebp - 0x160]
mov byte [ebp - 4], 0xc
test edx, edx
jne 0x10010913
xor ecx, ecx
jmp 0x10010933
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x200], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010920
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 0x1001095d
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 0x100109af
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 0x100109d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.10062560
jmp 0x10010b1a
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 0x10010b42
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 0x100105e7
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 0x10010caa
push 0x70
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browserhistory_browserhistory360chromex.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 0x10010c4b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d45
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 0x10010c95
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d4a
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 0x10010cc5
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 0x10010ce4
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