Function at 0x12d94b00
Capabilities:
Copy file
Delete file
Move file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x4a8
push ebx
mov eax, dword [esp + 0x4b0]
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push ebp
push 3
push ebp
push 2
push 0x10000000
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x12d953b2
mov edi, dword [esp + 0x4c0]
mov dword [esp + 0x18], ebp
mov ecx, dword [edi]
inc ecx
push ecx
call fcn.12f5bf8b
mov esi, eax
add esp, 4
test esi, esi
je 0x12d953c1
mov edx, dword [edi]
inc edx
push edx
call fcn.12f5bf8b
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x12d953ca
mov ecx, dword [edi]
xor eax, eax
inc ecx
mov edi, esi
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x4c4]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x12d953de
push str.user_pref__browser.privatebrowsing.autostart___true__
push esi
mov dword [esp + 0x18], 0
call fcn.12f5d350
mov ebx, eax
mov eax, dword [esp + 0x4c8]
add esp, 8
mov edi, ebp
mov ecx, dword [eax]
xor eax, eax
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x12d94c46
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
push ecx
push esi
push ebp
call fcn.12f5c900
push 0x35
push str.user_pref__browser.privatebrowsing.autostart__false__
push ebp
call fcn.12f5d220
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add ebx, 0x35
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffca
push ecx
push ebx
push ebp
call fcn.12f5d220
mov eax, dword [0x13198f68]
add esp, 0x24
test eax, eax
mov dword [esp + 0x10], 1
je 0x12d94c7a
push str.ModBrowserCfgFile__Found_DisRec_
jmp 0x12d94c6b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebp
call fcn.12f5c900
mov eax, dword [0x13198f68]
add esp, 0xc
test eax, eax
je 0x12d94c7a
push str.ModBrowserCfgFile__Cannot_Found_DisRec_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
push str.user_pref__places.history.enabled___false__
push ebp
call fcn.12f5d350
mov ebx, eax
mov eax, dword [esp + 0x4c8]
add esp, 8
mov edi, esi
mov ecx, dword [eax]
xor eax, eax
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x12d94d0d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
push ecx
push ebp
push esi
call fcn.12f5c900
push 0x2b
push str.user_pref__places.history.enabled____true__
push esi
call fcn.12f5d220
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add ebx, 0x2b
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffd4
push ecx
push ebx
push esi
call fcn.12f5d220
mov eax, dword [0x13198f68]
add esp, 0x24
test eax, eax
mov dword [esp + 0x10], 1
je 0x12d94d41
push str.ModBrowserCfgFile__Found_History_
jmp 0x12d94d32
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push esi
call fcn.12f5c900
mov eax, dword [0x13198f68]
add esp, 0xc
test eax, eax
je 0x12d94d41
push str.ModBrowserCfgFile__Cannot_Found_History_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
mov eax, dword [esp + 0x4c0]
mov edi, ebp
mov ecx, dword [eax]
xor eax, eax
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x4c4]
test eax, eax
je 0x12d94e46
push str._privatebrowsing_button_
push esi
call fcn.12f5d350
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x12d94e13
mov cl, byte [ebx + 0x1a]
mov al, 0x2c
cmp cl, al
mov dword [esp + 0x10], 0x1a
je 0x12d94d9b
cmp byte [ebx - 1], al
jne 0x12d94da3
dec ebx
mov dword [esp + 0x10], 0x1b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
push ecx
push esi
push ebp
call fcn.12f5c900
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x1c]
not ecx
dec ecx
lea eax, [edi + ebx]
sub ecx, edi
push ecx
push eax
push ebp
call fcn.12f5d220
mov ecx, dword [esp + 0x30]
mov eax, dword [0x13198f68]
add esp, 0x18
sub ecx, edi
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 1
je 0x12d94e5d
push str.ModBrowserCfgFile__Found_PrivateBtn_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
jmp 0x12d94e5a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebp
call fcn.12f5c900
mov eax, dword [0x13198f68]
add esp, 0xc
test eax, eax
je 0x12d94e5d
push str.ModBrowserCfgFile__Cannot_Found_PrivateBtn_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
jmp 0x12d94e5a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebp
call fcn.12f5c900
add esp, 0xc
push str.user_pref__privacy.sanitize.sanitizeOnShutdown___true___r_n
push ebp
call fcn.12f5d350
mov ecx, dword [esp + 0x4c8]
add esp, 8
mov ebx, eax
xor eax, eax
mov ecx, dword [ecx]
mov edi, esi
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x12d94f07
mov edi, str.user_pref__privacy.sanitize.sanitizeOnShutdown__false___r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov dword [esp + 0x14], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
push ecx
push ebp
push esi
call fcn.12f5c900
mov eax, dword [esp + 0x20]
push eax
push str.user_pref__privacy.sanitize.sanitizeOnShutdown__false___r_n
push esi
call fcn.12f5d220
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub ecx, eax
add eax, ebx
push ecx
push eax
push esi
call fcn.12f5d220
mov eax, dword [0x13198f68]
add esp, 0x24
test eax, eax
mov dword [esp + 0x10], 1
je 0x12d94f3b
push str.ModBrowserCfgFile__Found_OnShutDown_
jmp 0x12d94f2c
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push esi
call fcn.12f5c900
mov eax, dword [0x13198f68]
add esp, 0xc
test eax, eax
je 0x12d94f3b
push str.ModBrowserCfgFile__CannotFound_OnShutDown_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
xor eax, eax
mov ecx, 0x20
lea edi, [esp + 0x25]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.user_pref__security.certerrors.mitm.auto_enable_enterprise_roots___true___r_n
push esi
stosb byte es:[edi], al
call fcn.12f5d350
mov ecx, dword [esp + 0x4c8]
add esp, 8
mov ebx, eax
xor eax, eax
mov ecx, dword [ecx]
mov edi, ebp
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x12d9500c
mov edi, str.user_pref__security.certerrors.mitm.auto_enable_enterprise_roots__false___r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov dword [esp + 0x10], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
push ecx
push esi
push ebp
call fcn.12f5c900
mov eax, dword [esp + 0x1c]
push eax
push str.user_pref__security.certerrors.mitm.auto_enable_enterprise_roots__false___r_n
push ebp
call fcn.12f5d220
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
dec ecx
sub ecx, eax
add eax, ebx
push ecx
push eax
push ebp
call fcn.12f5d220
mov eax, dword [0x13198f68]
add esp, 0x24
test eax, eax
mov dword [esp + 0x10], 1
je 0x12d950b0
push str.ModBrowserCfgFile__Found_AutoMitm_TRUE_
jmp 0x12d950a1
push str.user_pref__security.certerrors.mitm.auto_enable_enterprise_roots__false___r_n
push esi
call fcn.12f5d350
add esp, 8
test eax, eax
jne 0x12d9507c
push str.user_pref__security.certerrors.mitm.auto_enable_enterprise_roots___false___r_n
push esi
call fcn.12f5d350
add esp, 8
test eax, eax
jne 0x12d9507c
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebp
call fcn.12f5c900
mov edi, str.user_pref__security.certerrors.mitm.auto_enable_enterprise_roots___false___r_n
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x34]
push str.user_pref__security.certerrors.mitm.auto_enable_enterprise_roots___false___r_n
push ecx
call fcn.12f5d220
mov eax, dword [0x13198f68]
add esp, 0x18
test eax, eax
je 0x12d950b0
push str.ModBrowserCfgFile__Cannot_Found_AutoMitm_
jmp 0x12d950a1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebp
call fcn.12f5c900
mov eax, dword [0x13198f68]
add esp, 0xc
test eax, eax
je 0x12d950b0
push str.ModBrowserCfgFile__Found_AutoMitm_FALSE_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
push str.user_pref__security.enterprise_roots.enabled___false___r_n
push ebp
call fcn.12f5d350
mov edx, dword [esp + 0x4c8]
add esp, 8
mov ebx, eax
xor eax, eax
mov ecx, dword [edx]
mov edi, esi
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x12d9516c
mov edi, str.user_pref__security.enterprise_roots.enabled____true___r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov dword [esp + 0x10], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
push ecx
push ebp
push esi
call fcn.12f5c900
mov eax, dword [esp + 0x1c]
push eax
push str.user_pref__security.enterprise_roots.enabled____true___r_n
push esi
call fcn.12f5d220
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
dec ecx
sub ecx, eax
add eax, ebx
push ecx
push eax
push esi
call fcn.12f5d220
mov eax, dword [0x13198f68]
add esp, 0x24
test eax, eax
je 0x12d9522c
push str.ModBrowserCfgFile__Found_RootsEnabled_FALSE_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
jmp 0x12d9522c
push str.user_pref__security.enterprise_roots.enabled____true___r_n
push ebp
call fcn.12f5d350
add esp, 8
test eax, eax
jne 0x12d951dc
push str.user_pref__security.enterprise_roots.enabled___true___r_n
push ebp
call fcn.12f5d350
add esp, 8
test eax, eax
jne 0x12d951dc
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push esi
call fcn.12f5c900
mov edi, str.user_pref__security.enterprise_roots.enabled___true___r_n
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x20], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x34]
push str.user_pref__security.enterprise_roots.enabled___true___r_n
push ecx
call fcn.12f5d220
mov eax, dword [0x13198f68]
add esp, 0x18
test eax, eax
je 0x12d95210
push str.ModBrowserCfgFile__Cannot_Found_RootsEnabled_
jmp 0x12d95201
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push esi
call fcn.12f5c900
mov eax, dword [0x13198f68]
add esp, 0xc
test eax, eax
je 0x12d95210
push str.ModBrowserCfgFile__Found_RootsEnabled_TRUE_
push 0x130c74a8
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x12d9522c
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x12d9522c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x12d9538c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xaa]
mov word [esp + 0xa8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x4bc]
push eax
push edi
lea edx, [esp + 0xb0]
push str._s_Bak_08x
push edx
call fcn.12f5ceef
add esp, 0x10
lea eax, [esp + 0xa8]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x12d95394
push 0
push 0
push 3
push 0
push 2
push 0x10000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x12d95394
push 0
push 0
push 0
push ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
je 0x12d95310
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x12d952ec
mov eax, dword [esp + 0x14]
test eax, eax
je 0x12d95310
lea eax, [esp + 0x10]
push 0
push eax
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x12d95325
lea edx, [esp + 0xa8]
push edx
jmp 0x12d95386
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2b2]
mov word [esp + 0x2b0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x4bc]
lea eax, [esp + 0x2b0]
push edi
push str._s_WriteFileError
push eax
call fcn.12f5ceef
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0xc
lea ecx, [esp + 0x2b0]
push ecx
push edi
call ebx
test eax, eax
je 0x12d9538c
lea edx, [esp + 0xa8]
push edi
push edx
call ebx
lea eax, [esp + 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x1c], 1
test ebp, ebp
je 0x12d953a1
push ebp
call fcn.12f5bf80
add esp, 4
mov ebp, dword [esp + 0x1c]
test esi, esi
je 0x12d953b2
push esi
call fcn.12f5bf80
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x4a8
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x12d953a5
push esi
call fcn.12f5bf80
add esp, 4
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x12d95394
push esi
call fcn.12f5bf80
push ebp
call fcn.12f5bf80
mov eax, dword [esp + 0x24]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4a8
ret 0xc