Function at 0x124299e0
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x124d3bed
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 0x12429e9b
mov ebx, dword [esp + 0xcf0]
cmp ebx, edi
je 0x12429e9b
mov ebp, dword [esp + 0xcf4]
cmp ebp, edi
je 0x12429e9b
push ebp
push ebx
call fcn.12429900
add esp, 8
push ebx
push str.UpdateHistoryPath________FilePath:__s_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
push esi
push str.UpdateHistoryPath_________AppPath:__s_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.12463200
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.12456050
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0xce8], 2
call fcn.12456050
lea ecx, [esp + 0x4c]
mov byte [esp + 0xce4], 3
push ecx
lea ecx, [esp + 0x1c]
call fcn.124574a0
mov edx, dword [esp + 0x18]
push 0x2001f
push edx
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.124633e0
test eax, eax
je 0x12429e01
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.12425cb0
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x12429b67
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.1246f723
add esp, 0xc
test eax, eax
jne 0x12429b3e
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 0x12429b1b
cmp dword [esp + 0x28], edi
je 0x12429c91
push 0x12516280
lea ecx, [esp + 0x14]
call fcn.12456050
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.12456050
lea eax, [esp + 0x1c]
push eax
call fcn.124297c0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xce8], 5
call fcn.12456980
lea ecx, [esp + 0x14]
mov byte [esp + 0xce4], 4
call fcn.124567f0
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.1248b3e0
mov ecx, dword [ebp]
add esp, 8
cmp ecx, 0x16
je 0x12429bf2
cmp eax, edi
jne 0x12429bf2
push ebx
call fcn.12424fe0
add esp, 4
test eax, eax
je 0x12429bf2
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.124296c0
mov esi, dword [esp + 0x40]
add esp, 0x10
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
call fcn.1242cae0
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.12464560
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov byte [esp + 0xce4], 3
call fcn.124567f0
mov esi, dword [esp + 0xcec]
xor edi, edi
cmp dword [ebp], 0x16
jne 0x12429db1
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.12425a50
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x12429d1a
xor ebp, ebp
mov eax, dword [esp + 0x3c]
push 0x103
push esi
lea ecx, [eax + ebp + 0x214]
push ecx
call fcn.1246f723
add esp, 0xc
test eax, eax
jne 0x12429cfd
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 0x12429cdb
cmp dword [esp + 0x10], edi
je 0x12429d98
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.124295c0
mov esi, dword [esp + 0x4c]
add esp, 0xc
lea ecx, [esp + 0x3c]
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.1242cc80
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.12464560
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xce4], 3
cmp eax, edi
je 0x12429db1
push eax
call fcn.1246f3e6
add esp, 4
lea ecx, [esp + 0x20]
call fcn.124633c0
cmp dword [esp + 0x28], edi
jne 0x12429e01
mov eax, dword [esp + 0xcf8]
cmp eax, 3
jne 0x12429de4
mov eax, 0x1251be10
test eax, eax
je 0x12429e2a
push eax
call fcn.1246f510
add esp, 4
test eax, eax
je 0x12429e0d
jmp 0x12429e2a
cmp eax, 2
jne 0x12429e2a
mov ecx, 0x1251c018
test ecx, ecx
je 0x12429e2a
push ecx
call fcn.1246f510
add esp, 4
test eax, eax
jne 0x12429e2a
jmp 0x12429e1f
mov eax, dword [esp + 0xcf8]
cmp eax, 3
jne 0x12429e1a
push ebx
mov ecx, 0x1251be08
call fcn.12448dd0
jmp 0x12429e2a
cmp eax, 2
jne 0x12429e2a
push ebx
mov ecx, 0x1251be08
call fcn.12448e00
mov esi, dword [esp + 0x1c]
push esi
push str.UpdateHistoryPath____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0xce4], 2
call fcn.124567f0
lea ecx, [esp + 0x18]
mov byte [esp + 0xce4], 1
call fcn.124567f0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xce4], 0
cmp eax, edi
je 0x12429e83
push eax
call fcn.1246f3e6
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0xce4], 0xffffffff
call fcn.124632f0
mov eax, esi
jmp 0x12429e9d
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