Function at 0x41f66b
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push 0x30
mov eax, 0x5bdfad
call fcn.0058ec2b
mov edi, dword [ebp + 8]
push edi
call fcn.0040855f
and dword [ebp - 4], 0
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x18], eax
call fcn.0040855f
mov byte [ebp - 4], 1
push str.History
lea esi, [edi + 8]
push esi
call fcn.004085b5
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push 0x1c
push eax
call fcn.004242e2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push str.GoogleChromeUser_DataDefault
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004085f6
mov ebx, 0x6810d0
lea eax, [ebp - 0x1c]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004116ea
mov byte [ebp - 4], 6
push esi
lea ecx, [ebp - 0x20]
push ecx
mov esi, eax
call fcn.0041691a
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004085f6
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fa09
push str.dbName
lea eax, [ebp - 0x10]
push eax
call fcn.004085b5
mov byte [ebp - 4], 9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00426a92
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
call fcn.00408619
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.004085f6
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.004085f6
mov esi, edi
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x24]
push ebx
push eax
mov ecx, esi
call fcn.004116ea
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, eax
call fcn.0041691a
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.004085f6
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call edi
test eax, eax
je 0x41f9fa
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.004116ea
mov byte [ebp - 4], 0xe
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
push 0x687e1c
push ecx
mov ecx, eax
call fcn.004116ea
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004116ea
mov byte [ebp - 4], 0x11
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
push 0x687e1c
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x30
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov eax, dword [eax]
push 0
push ecx
push eax
call edi
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
call fcn.004085f6
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.004085f6
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x30]
call fcn.004085f6
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.004085f6
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x38]
call fcn.004085f6
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call fcn.004085f6
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004116ea
mov byte [ebp - 4], 0x14
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c]
push 0x687e30
push ecx
mov ecx, eax
call fcn.004116ea
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004116ea
mov byte [ebp - 4], 0x17
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38]
push 0x687e30
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x30
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov eax, dword [eax]
push 0
push ecx
push eax
call edi
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38]
call fcn.004085f6
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
call fcn.004085f6
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x30]
call fcn.004085f6
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c]
call fcn.004085f6
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.004085f6
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.004085f6
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0041fa85
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2c]
push 0x687e3c
push ecx
mov ecx, eax
call fcn.004116ea
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004116ea
mov byte [ebp - 4], 0x1c
push esi
lea ecx, [ebp - 0x34]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x38]
push 0x687e3c
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x28
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov eax, dword [eax]
push 0
push ecx
push eax
call edi
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x38]
call fcn.004085f6
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x34]
call fcn.004085f6
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x30]
call fcn.004085f6
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2c]
call fcn.004085f6
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.004085f6
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
call fcn.00408619
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004085f6
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004085f6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.0058ed03
ret 4