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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152606
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 0x10011283
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browserhistory_browserhistory360se.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 0x27
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10004410
mov esi, eax
push str.CBrowserHistory360SE::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 0x10011239
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001122f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100119e8
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 0x10011283
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011279
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100119ed
push edx
push ecx
call fcn.10060cd4
add esp, 8
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x10011292
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 0x100119f2
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 0x10011836
mov eax, dword [ebp - 0x228]
cmp edi, dword [eax + 8]
je 0x10011836
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 0x10011358
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x10011343
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x10011343
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 0x10011338
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 0x10011358
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 0x100113a4
mov eax, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001137e
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 0x1001139d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x100119ca
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 0x100113ff
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 0x10011363
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10011363
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 0x100119fc
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 0x10011647
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 0x100114f2
xor edx, edx
mov dword [ebp - 0x160], edx
jmp 0x100115e7
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100114f7
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 0x100115d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100115d3
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 0x100115d9
mov ecx, dword [ebp - 0x200]
test ecx, ecx
jne 0x10011a06
mov edx, dword [ebp - 0x160]
mov byte [ebp - 4], 0xc
test edx, edx
jne 0x100115f3
xor ecx, ecx
jmp 0x10011613
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x200], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011600
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 0x1001163d
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 0x1001168f
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 0x100116b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.10062560
jmp 0x100117fa
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 0x10011822
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 0x100112c7
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 0x1001198a
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browserhistory_browserhistory360se.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 0x53
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 0x1001192b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011921
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011a25
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 0x10011975
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001196b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011a2a
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 0x100119a5
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 0x100119c4
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