Function at 0x12429ec0
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x124d3c28
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 0x1242a1e9
mov edi, dword [esp + 0x3c]
cmp edi, ebp
je 0x1242a1e9
cmp dword [esp + 0x40], ebp
je 0x1242a1e9
mov eax, dword [esi]
push eax
push str.UpdateHistoryFile_________dwBroType:_d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.12463200
mov eax, dword [0x124de7fc]
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.12456050
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x30], 3
push ecx
lea ecx, [esp + 0x44]
call fcn.12457440
lea edx, [edi + 0x48]
lea ecx, [esp + 0x38]
push edx
call fcn.12456a70
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1242a05a
push ebp
push eax
call fcn.1248b4a0
add esp, 8
test eax, eax
je 0x1242a07b
cmp dword [edi + 8], 0x16
je 0x1242a09c
mov eax, dword [esi]
lea edx, [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.12455df0
lea eax, [esp + 0x14]
push eax
call fcn.124297c0
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.12456980
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.124567f0
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
call fcn.1248b4a0
add esp, 8
test eax, eax
je 0x1242a11e
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.1248b570
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.1248b570
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 0x1242a128
cmp dword [edi + 8], 0x13
jne 0x1242a180
call fcn.12425750
test eax, eax
jne 0x1242a180
mov edx, dword [esp + 0x38]
push edx
call fcn.12425800
add esp, 4
test eax, eax
jne 0x1242a128
jmp 0x1242a180
mov eax, dword [esi]
push eax
push str.UpdateHistoryFile__strFilePath_is_Empty__dwBroType:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
jmp 0x1242a180
mov ecx, dword [esi]
push ecx
push str.UpdateHistoryFile__Origin_File_not_Exist__dwBroType:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
jmp 0x1242a180
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.1248b570
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 0x1251696c
call fcn.12447cf0
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 0x1251696c
call fcn.12447cf0
add esp, 0x18
lea edx, [esp + 0x10]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x1242a180
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x1242a152
mov edx, dword [esi]
push edx
push str.UpdateHistoryFile__Backup_File_not_Exist__dwBroType:__d_
jmp 0x1242a13e
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 0x1251696c
call fcn.12447cf0
add esp, 0x14
cmp dword [edi + 8], 0x16
je 0x1242a17b
mov eax, dword [esp + 0x38]
push eax
call fcn.12424fe0
add esp, 4
test eax, eax
je 0x1242a17b
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 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 2
call fcn.124567f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call fcn.124567f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.124567f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.124632f0
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