Function at 0x128da060
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12988afd
push eax
mov dword fs:[0], esp
sub esp, 0xcd0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xcec]
push edi
xor edi, edi
cmp esi, edi
je 0x128da546
mov ebx, dword [esp + 0xcf4]
cmp ebx, edi
je 0x128da546
mov ebp, dword [esp + 0xcf8]
cmp ebp, edi
je 0x128da546
push ebp
push ebx
call fcn.128d9f80
add esp, 8
push ebx
push str.UpdateHistoryPath________FilePath:__s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
push esi
push str.UpdateHistoryPath_________AppPath:__s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x28]
call fcn.129167f0
mov dword [esp + 0xce8], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
push str.SOFTWARETECOcular.3ShareDataBrowserHistory_
lea ecx, [esp + 0x28]
mov byte [esp + 0xcec], 1
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], edi
call fcn.12907ea0
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0xcec], 2
call fcn.12907ea0
lea ecx, [esp + 0x50]
mov byte [esp + 0xce8], 3
push ecx
lea ecx, [esp + 0x28]
call fcn.129092f0
mov edx, dword [esp + 0x24]
push 0x2001f
push edx
push 0x80000001
lea ecx, [esp + 0x34]
call fcn.129169d0
test eax, eax
je 0x128da4ac
lea eax, [esp + 0x30]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.128d6080
mov eax, dword [esp + 0x3c]
add esp, 8
cmp eax, edi
mov dword [esp + 0x18], edi
jle 0x128da1e7
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push 0x103
push ebx
lea ecx, [eax + edx + 0x48]
push ecx
call fcn.12922d93
add esp, 0xc
test eax, eax
jne 0x128da1be
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc eax
add edx, 0x870
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x128da19b
cmp dword [esp + 0x1c], edi
je 0x128da312
push 0x129cd044
lea ecx, [esp + 0x14]
call fcn.12907ea0
mov edx, dword [ebp]
mov byte [esp + 0xce8], 4
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.12907ea0
lea eax, [esp + 0x1c]
push eax
call fcn.128d9e00
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xcec], 5
call fcn.129087d0
lea ecx, [esp + 0x14]
mov byte [esp + 0xce8], 4
call fcn.12908640
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.1293ece0
mov ecx, dword [ebp]
add esp, 8
cmp ecx, 0x16
je 0x128da273
cmp eax, edi
jne 0x128da273
push ecx
push ebx
call fcn.128d5330
add esp, 8
test eax, eax
je 0x128da273
mov edx, dword [esp + 0x10]
push edi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [esp + 0x470], edi
mov ecx, 0x21b
xor eax, eax
lea edi, [esp + 0x474]
rep stosd dword es:[edi], eax
push ebp
push esi
lea eax, [esp + 0x478]
push ebx
push eax
call fcn.128d9d00
mov esi, dword [esp + 0x44]
add esp, 0x10
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x38]
call fcn.128dd610
lea eax, [esi + esi*2]
mov ecx, 0x21c
lea esi, [esp + 0x470]
lea eax, [eax + eax*4]
lea edi, [eax + eax*8]
mov eax, dword [esp + 0x30]
shl edi, 4
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x30]
shl edx, 4
push edx
push eax
push str.BrowserData
call fcn.12917b50
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
mov byte [esp + 0xce8], 3
call fcn.12908640
mov esi, dword [esp + 0xcf0]
xor edi, edi
mov eax, dword [ebp]
cmp eax, 0x16
je 0x128da323
cmp eax, 0x22
jne 0x128da45c
mov dword [esp + 0x14], 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0xcf4], 6
call fcn.128d5e00
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x18], edi
jle 0x128da3b5
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0x103
push esi
lea edx, [ecx + eax + 0x214]
push edx
call fcn.12922d93
add esp, 0xc
test eax, eax
jne 0x128da38c
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
inc eax
add edx, 0x41c
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x128da366
cmp dword [esp + 0x14], edi
je 0x128da443
mov dword [esp + 0x54], edi
mov ecx, 0x106
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x54]
push eax
push esi
push ebx
push ecx
call fcn.128d9be0
mov esi, dword [esp + 0x54]
add esp, 0x10
lea ecx, [esp + 0x40]
lea edx, [esi + 1]
push 0xffffffffffffffff
push edx
call fcn.128dd7b0
mov eax, esi
mov ecx, dword [esp + 0x40]
shl eax, 5
add eax, esi
shl eax, 3
sub eax, esi
lea esi, [esp + 0x54]
lea edi, [ecx + eax*4]
mov ecx, 0x107
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp]
push edx
call fcn.128d5de0
add esp, 4
test eax, eax
je 0x128da441
mov ecx, dword [esp + 0x44]
mov edx, ecx
shl edx, 5
add edx, ecx
shl edx, 3
sub edx, ecx
mov ecx, dword [esp + 0x40]
shl edx, 2
push edx
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.12917b50
mov dword [esp + 0x20], eax
xor edi, edi
mov eax, dword [esp + 0x40]
mov byte [esp + 0xce8], 3
cmp eax, edi
je 0x128da45c
push eax
call fcn.12922a56
add esp, 4
lea ecx, [esp + 0x28]
call fcn.129169b0
cmp dword [esp + 0x1c], edi
jne 0x128da4ac
mov eax, dword [esp + 0xcfc]
cmp eax, 3
jne 0x128da48f
mov edx, 0x129d2bd0
test edx, edx
je 0x128da4d5
push edx
call fcn.12922b80
add esp, 4
test eax, eax
je 0x128da4b8
jmp 0x128da4d5
cmp eax, 2
jne 0x128da4d5
mov eax, 0x129d2dd8
test eax, eax
je 0x128da4d5
push eax
call fcn.12922b80
add esp, 4
test eax, eax
jne 0x128da4d5
jmp 0x128da4ca
mov eax, dword [esp + 0xcfc]
cmp eax, 3
jne 0x128da4c5
push ebx
mov ecx, 0x129d2bc8
call fcn.128f9a70
jmp 0x128da4d5
cmp eax, 2
jne 0x128da4d5
push ebx
mov ecx, 0x129d2bc8
call fcn.128f9aa0
mov esi, dword [esp + 0x20]
push esi
push str.UpdateHistoryPath____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x50]
mov byte [esp + 0xce8], 2
call fcn.12908640
lea ecx, [esp + 0x24]
mov byte [esp + 0xce8], 1
call fcn.12908640
mov eax, dword [esp + 0x30]
mov byte [esp + 0xce8], 0
cmp eax, edi
je 0x128da52e
push eax
call fcn.12922a56
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0xce8], 0xffffffff
call fcn.129168e0
mov eax, esi
jmp 0x128da548
xor eax, eax
mov ecx, dword [esp + 0xce0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcdc
ret