Function at 0x128da570
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12988b38
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x128da898
mov edi, dword [esp + 0x40]
cmp edi, ebx
je 0x128da898
cmp dword [esp + 0x44], ebx
je 0x128da898
mov eax, dword [esi]
push eax
push str.UpdateHistoryFile_________dwBroType:_d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x24]
call fcn.129167f0
mov eax, dword [0x12993aec]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push str.SOFTWARETECOcular.3ShareDataBrowserHistory_
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 2
call fcn.12907ea0
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x34], 3
push ecx
lea ecx, [esp + 0x48]
call fcn.12909290
lea edx, [edi + 0x48]
lea ecx, [esp + 0x3c]
push edx
call fcn.129088c0
mov eax, dword [esp + 0x3c]
cmp dword [eax - 8], ebx
je 0x128da709
push ebx
push eax
call fcn.1293eda0
add esp, 8
test eax, eax
je 0x128da72a
cmp dword [edi + 8], 0x16
je 0x128da74b
mov eax, dword [esi]
lea edx, [esp + 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.12907c40
lea eax, [esp + 0x18]
push eax
call fcn.128d9e00
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 4
call fcn.129087d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.12908640
mov ecx, dword [esp + 0x40]
push ebx
push ecx
call fcn.1293eda0
add esp, 8
test eax, eax
je 0x128da7c9
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.1293ee70
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x38]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
call fcn.1293ee70
add esp, 0x38
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jne 0x128da7d3
cmp dword [edi + 8], 0x13
jne 0x128da82e
call fcn.128d5ae0
test eax, eax
jne 0x128da82e
mov edx, dword [esp + 0x3c]
push edx
call fcn.128d5b90
add esp, 4
test eax, eax
jne 0x128da7d3
jmp 0x128da82e
mov eax, dword [esi]
push eax
push str.UpdateHistoryFile__strFilePath_is_Empty__dwBroType:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
jmp 0x128da82e
mov ecx, dword [esi]
push ecx
push str.UpdateHistoryFile__Origin_File_not_Exist__dwBroType:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
jmp 0x128da82e
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.1293ee70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0x1c
push ecx
push edx
push str.UpdateHistoryFile__Firefox_FileModTime__high:_d__low:_d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
lea ebp, [edi + 0xc]
add esp, 0x18
push eax
push ecx
push str.UpdateHistoryFile__Firefox_FileModTime1__high:_d__low:_d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x18
lea edx, [esp + 0x14]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x128da82e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
jmp 0x128da7fd
mov edx, dword [esi]
push edx
push str.UpdateHistoryFile__Backup_File_not_Exist__dwBroType:__d_
jmp 0x128da7e9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
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 0x129cd72c
call fcn.128f8920
add esp, 0x14
cmp dword [edi + 8], 0x16
je 0x128da829
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.128d5330
add esp, 8
test eax, eax
je 0x128da829
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, 1
push ebx
push str.UpdateHistoryFile____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], 2
call fcn.12908640
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 1
call fcn.12908640
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0
call fcn.12908640
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0xffffffff
call fcn.129168e0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret