Function at 0x12459a20
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12504d5d
push eax
mov dword fs:[0], esp
sub esp, 0xccc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xce8]
push edi
xor edi, edi
cmp esi, edi
je 0x12459edb
mov ebx, dword [esp + 0xcf0]
cmp ebx, edi
je 0x12459edb
mov ebp, dword [esp + 0xcf4]
cmp ebp, edi
je 0x12459edb
push ebp
push ebx
call fcn.12459940
add esp, 8
push ebx
push str.UpdateHistoryPath________FilePath:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
push esi
push str.UpdateHistoryPath_________AppPath:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.12493530
mov dword [esp + 0xce4], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
push str.SOFTWARETECOcular.3ShareDataBrowserHistory_
lea ecx, [esp + 0x1c]
mov byte [esp + 0xce8], 1
mov dword [esp + 0x2c], 1
mov dword [esp + 0x20], edi
call fcn.12486370
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0xce8], 2
call fcn.12486370
lea ecx, [esp + 0x4c]
mov byte [esp + 0xce4], 3
push ecx
lea ecx, [esp + 0x1c]
call fcn.124877c0
mov edx, dword [esp + 0x18]
push 0x2001f
push edx
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.12493710
test eax, eax
je 0x12459e41
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.12455cd0
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x12459ba7
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push 0x103
push ebx
lea ecx, [eax + edx + 0x48]
push ecx
call fcn.1249fab3
add esp, 0xc
test eax, eax
jne 0x12459b7e
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
add edx, 0x870
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x12459b5b
cmp dword [esp + 0x28], edi
je 0x12459cd1
push 0x12547904
lea ecx, [esp + 0x14]
call fcn.12486370
mov edx, dword [ebp]
mov byte [esp + 0xce4], 4
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.12486370
lea eax, [esp + 0x1c]
push eax
call fcn.12459800
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xce8], 5
call fcn.12486ca0
lea ecx, [esp + 0x14]
mov byte [esp + 0xce4], 4
call fcn.12486b10
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.124bb9f0
mov ecx, dword [ebp]
add esp, 8
cmp ecx, 0x16
je 0x12459c32
cmp eax, edi
jne 0x12459c32
push ebx
call fcn.12455000
add esp, 4
test eax, eax
je 0x12459c32
mov edx, dword [esp + 0x10]
push edi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [esp + 0x46c], edi
mov ecx, 0x21b
xor eax, eax
lea edi, [esp + 0x470]
rep stosd dword es:[edi], eax
push ebp
push esi
lea eax, [esp + 0x474]
push ebx
push eax
call fcn.12459700
mov esi, dword [esp + 0x40]
add esp, 0x10
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
call fcn.1245cdd0
lea eax, [esi + esi*2]
mov ecx, 0x21c
lea esi, [esp + 0x46c]
lea eax, [eax + eax*4]
lea edi, [eax + eax*8]
mov eax, dword [esp + 0x2c]
shl edi, 4
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x2c]
shl edx, 4
push edx
push eax
push str.BrowserData
call fcn.12494890
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov byte [esp + 0xce4], 3
call fcn.12486b10
mov esi, dword [esp + 0xcec]
xor edi, edi
cmp dword [ebp], 0x16
jne 0x12459df1
mov dword [esp + 0x10], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0xcec], 6
call fcn.12455a70
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x12459d5a
xor ebp, ebp
mov eax, dword [esp + 0x3c]
push 0x103
push esi
lea ecx, [eax + ebp + 0x214]
push ecx
call fcn.1249fab3
add esp, 0xc
test eax, eax
jne 0x12459d3d
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
inc eax
add ebp, 0x41c
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x12459d1b
cmp dword [esp + 0x10], edi
je 0x12459dd8
mov dword [esp + 0x50], edi
mov ecx, 0x106
xor eax, eax
lea edi, [esp + 0x54]
push esi
lea edx, [esp + 0x54]
push ebx
push edx
rep stosd dword es:[edi], eax
call fcn.12459600
mov esi, dword [esp + 0x4c]
add esp, 0xc
lea ecx, [esp + 0x3c]
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.1245cf70
mov ecx, esi
mov edx, dword [esp + 0x3c]
shl ecx, 5
add ecx, esi
shl ecx, 3
sub ecx, esi
lea esi, [esp + 0x50]
lea edi, [edx + ecx*4]
mov ecx, 0x107
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, eax
shl ecx, 5
add ecx, eax
shl ecx, 3
sub ecx, eax
shl ecx, 2
push ecx
push edx
push str.Firefox_Cfg
lea ecx, [esp + 0x2c]
call fcn.12494890
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xce4], 3
cmp eax, edi
je 0x12459df1
push eax
call fcn.1249f776
add esp, 4
lea ecx, [esp + 0x20]
call fcn.124936f0
cmp dword [esp + 0x28], edi
jne 0x12459e41
mov eax, dword [esp + 0xcf8]
cmp eax, 3
jne 0x12459e24
mov eax, 0x1254d490
test eax, eax
je 0x12459e6a
push eax
call fcn.1249f8a0
add esp, 4
test eax, eax
je 0x12459e4d
jmp 0x12459e6a
cmp eax, 2
jne 0x12459e6a
mov ecx, 0x1254d698
test ecx, ecx
je 0x12459e6a
push ecx
call fcn.1249f8a0
add esp, 4
test eax, eax
jne 0x12459e6a
jmp 0x12459e5f
mov eax, dword [esp + 0xcf8]
cmp eax, 3
jne 0x12459e5a
push ebx
mov ecx, 0x1254d488
call fcn.124790f0
jmp 0x12459e6a
cmp eax, 2
jne 0x12459e6a
push ebx
mov ecx, 0x1254d488
call fcn.12479120
mov esi, dword [esp + 0x1c]
push esi
push str.UpdateHistoryPath____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0xce4], 2
call fcn.12486b10
lea ecx, [esp + 0x18]
mov byte [esp + 0xce4], 1
call fcn.12486b10
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xce4], 0
cmp eax, edi
je 0x12459ec3
push eax
call fcn.1249f776
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0xce4], 0xffffffff
call fcn.12493620
mov eax, esi
jmp 0x12459edd
xor eax, eax
mov ecx, dword [esp + 0xcdc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcd8
ret