Function at 0x12459f00
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12504d98
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x1245a229
mov edi, dword [esp + 0x3c]
cmp edi, ebp
je 0x1245a229
cmp dword [esp + 0x40], ebp
je 0x1245a229
mov eax, dword [esi]
push eax
push str.UpdateHistoryFile_________dwBroType:_d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.12493530
mov eax, dword [0x1250f854]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push str.SOFTWARETECOcular.3ShareDataBrowserHistory_
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], 2
call fcn.12486370
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x30], 3
push ecx
lea ecx, [esp + 0x44]
call fcn.12487760
lea edx, [edi + 0x48]
lea ecx, [esp + 0x38]
push edx
call fcn.12486d90
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1245a09a
push ebp
push eax
call fcn.124bbab0
add esp, 8
test eax, eax
je 0x1245a0bb
cmp dword [edi + 8], 0x16
je 0x1245a0dc
mov eax, dword [esi]
lea edx, [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.12486110
lea eax, [esp + 0x14]
push eax
call fcn.12459800
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.12486ca0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.12486b10
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
call fcn.124bbab0
add esp, 8
test eax, eax
je 0x1245a15e
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call fcn.124bbb80
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x34]
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push edx
call fcn.124bbb80
add esp, 0x38
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jne 0x1245a168
cmp dword [edi + 8], 0x13
jne 0x1245a1c0
call fcn.12455770
test eax, eax
jne 0x1245a1c0
mov edx, dword [esp + 0x38]
push edx
call fcn.12455820
add esp, 4
test eax, eax
jne 0x1245a168
jmp 0x1245a1c0
mov eax, dword [esi]
push eax
push str.UpdateHistoryFile__strFilePath_is_Empty__dwBroType:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
jmp 0x1245a1c0
mov ecx, dword [esi]
push ecx
push str.UpdateHistoryFile__Origin_File_not_Exist__dwBroType:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
jmp 0x1245a1c0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.124bbb80
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0x1c
push ecx
push edx
push str.UpdateHistoryFile__Firefox_FileModTime__high:_d__low:_d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
lea esi, [edi + 0xc]
add esp, 0x18
push eax
push ecx
push str.UpdateHistoryFile__Firefox_FileModTime1__high:_d__low:_d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x18
lea edx, [esp + 0x10]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x1245a1c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x1245a192
mov edx, dword [esi]
push edx
push str.UpdateHistoryFile__Backup_File_not_Exist__dwBroType:__d_
jmp 0x1245a17e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov edx, dword [esi]
push edx
push str.UpdateHistoryFile__Origin_File_has_Changed__dwBroType:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
cmp dword [edi + 8], 0x16
je 0x1245a1bb
mov eax, dword [esp + 0x38]
push eax
call fcn.12455000
add esp, 4
test eax, eax
je 0x1245a1bb
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebp, 1
push ebp
push str.UpdateHistoryFile____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 2
call fcn.12486b10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call fcn.12486b10
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.12486b10
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.12493620
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebp
add esp, 0x28
ret