Function at 0x41f41e
Capabilities:
Get common file path
Read file on windows

Disassembly:
push 0x460
mov eax, 0x437938
call fcn.00435021
mov eax, dword [ebp + 8]
mov edi, 0x206
xor ebx, ebx
push edi
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x422]
push ebx
push eax
mov word [ebp - 0x424], bx
call sub.MSVCR80.dll_memset
mov eax, dword [0x44b724]
mov esi, 0x44b724
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x440], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x44b724]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x43c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x44b724]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
push 0x4398dc
lea eax, [ebp - 0x438]
push eax
mov byte [ebp - 4], 2
call fcn.00402b38
push edi
lea eax, [ebp - 0x21a]
push ebx
mov byte [ebp - 4], 3
push eax
mov word [ebp - 0x21c], bx
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push ebx
push 5
lea eax, [ebp - 0x21c]
push eax
push ebx
call esi
cmp eax, ebx
je 0x41f544
lea eax, [ebp - 0x21c]
push 0x43e9ac
push eax
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
call fcn.0041ed0a
movzx ecx, word [ebp - 0x21c]
movsx eax, al
cmp ecx, eax
jne 0x41f544
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00402b38
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 0x444]
mov byte [ebp - 4], 4
call fcn.0041a0f6
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
call fcn.00401a71
push ebx
push 0x1c
lea eax, [ebp - 0x424]
push eax
push ebx
call esi
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.00402c06
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.00402c06
push str.GoogleChromeUser_DataDefaultPreferences
lea eax, [ebp - 0x43c]
push eax
call fcn.004077fc
push str.GoogleChromeUser_DataDefault
lea eax, [ebp - 0x440]
push eax
call fcn.004077fc
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], ebx
mov byte [ebp - 4], 6
push dword [ebp - 0x43c]
call fcn.0041f303
mov esi, eax
cmp esi, ebx
pop ecx
jbe 0x41f8e3
lea edi, [esi + esi + 2]
push edi
call fcn.00434611
cmp eax, ebx
pop ecx
mov dword [ebp - 0x434], eax
je 0x41f8e3
push edi
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.rt_ccsUTF_8
push dword [ebp - 0x43c]
call dword [sym.imp.MSVCR80.dll__wfopen]
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x448], eax
je 0x41f8c2
push eax
push esi
push 2
push dword [ebp - 0x434]
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x41f8c2
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
push eax
push dword [ebp - 0x434]
call fcn.0041f347
mov esi, dword [ebp - 0x458]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esp, 0xc
cmp esi, dword [ebp - 0x454]
jbe 0x41f676
call edi
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], esi
mov esi, dword [ebp - 0x454]
cmp dword [ebp - 0x458], esi
jbe 0x41f698
call edi
cmp dword [ebp - 0x430], ebx
je 0x41f6ae
lea eax, [ebp - 0x45c]
cmp dword [ebp - 0x430], eax
je 0x41f6b0
call edi
cmp dword [ebp - 0x42c], esi
je 0x41f787
lea esi, [ebp - 0x430]
call fcn.004223ab
cmp dword [eax + 0x18], 8
jb 0x41f6d2
mov eax, dword [eax + 4]
jmp 0x41f6d5
add eax, 4
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00402c06
push str.default_directory
xor ecx, ecx
lea esi, [ebp - 0x428]
call fcn.00409988
cmp eax, 0xffffffff
jne 0x41f706
lea esi, [ebp - 0x430]
call fcn.0042247e
jmp 0x41f688
push 0x43e5a8
xor ecx, ecx
lea esi, [ebp - 0x428]
call fcn.00409988
mov ecx, dword [ebp - 0x428]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
lea eax, [ebp - 0x42c]
push eax
sub ecx, 3
mov eax, esi
call fcn.00419f5d
mov edi, esi
mov byte [ebp - 4], 7
call fcn.004057b0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
call fcn.00401a71
push 0x43e938
xor ecx, ecx
call fcn.00409988
mov ecx, eax
lea edx, [ebp - 0x42c]
mov eax, esi
call fcn.004056cc
mov byte [ebp - 4], 8
call fcn.004057b0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
call fcn.00401a71
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax - 0xc]
xor esi, esi
cmp ecx, ebx
jle 0x41f83d
mov dword [ebp - 0x42c], 1
lea edi, [eax + 2]
jmp 0x41f7af
mov eax, dword [ebp - 0x428]
cmp esi, ebx
jl 0x41f945
cmp esi, ecx
jg 0x41f945
movzx edx, word [eax + esi*2]
movzx eax, dx
cmp ax, 0x5c
jne 0x41f80c
cmp dword [ebp - 0x42c], ebx
jl 0x41f945
cmp dword [ebp - 0x42c], ecx
jg 0x41f945
movzx eax, word [edi]
cmp ax, 0x5c
jne 0x41f80c
push 0x43e5dc
lea eax, [ebp - 0x438]
push eax
call fcn.004077fc
add dword [ebp - 0x42c], 2
inc esi
inc esi
add edi, 4
jmp 0x41f82c
cmp esi, ecx
jg 0x41f945
movzx eax, dx
push eax
lea eax, [ebp - 0x438]
call fcn.00411f18
inc esi
inc dword [ebp - 0x42c]
inc edi
inc edi
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax - 0xc]
cmp esi, ecx
jl 0x41f7a9
mov eax, dword [ebp - 0x438]
cmp dword [eax - 0xc], ebx
jl 0x41f945
movzx esi, word [eax]
call fcn.0041ed0a
movsx eax, al
movzx ecx, si
cmp ecx, eax
je 0x41f8a6
mov eax, dword [ebp - 0x438]
cmp dword [eax - 0xc], ebx
jl 0x41f945
movzx esi, word [eax]
call fcn.0041ed0a
movsx eax, al
movzx ecx, si
sub eax, 0x20
cmp ecx, eax
je 0x41f8a6
mov eax, dword [ebp - 0x438]
cmp dword [eax - 0xc], ebx
jl 0x41f945
movzx esi, word [eax]
call fcn.0041ed0a
movsx eax, al
movzx ecx, si
add eax, 0x20
cmp ecx, eax
jne 0x41f8c2
lea eax, [ebp - 0x438]
push eax
mov eax, dword [ebp - 0x444]
call fcn.0041a0f6
mov dword [ebp - 0x44c], 1
push dword [ebp - 0x434]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
cmp dword [ebp - 0x448], ebx
pop ecx
je 0x41f8e3
push dword [ebp - 0x448]
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
lea esi, [ebp - 0x46c]
mov byte [ebp - 4], 5
call fcn.00422386
lea esi, [ebp - 0x45c]
mov byte [ebp - 4], 3
call fcn.00422386
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
call fcn.00401a71
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
call fcn.00401a71
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
call fcn.00401a71
mov eax, dword [ebp - 0x440]
add eax, 0xfffffff0
call fcn.00401a71
mov eax, dword [ebp - 0x44c]
call fcn.004350a4
ret
push 0x80070057
call fcn.00402877
int3