Function at 0x140192b80
Capabilities:
Delete file
Get common file path
Get memory capacity
Get system information on windows
Read file on windows
Write file on windows

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x730]
sub rsp, 0x830
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x720], rax
xor r14d, r14d
lea r9, [rsp + 0x70]
lea r8, str.Machine
mov qword [rsp + 0x70], r14
mov rdi, rcx
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140193379
mov rdx, qword [rsp + 0x70]
lea r9, [rsp + 0x78]
lea r8, str.OSPlatform
mov qword [rsp + 0x78], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192c42
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rbp + 0x170]
call sym.ErrorReportClient.exe_SfGetOS
test eax, eax
je 0x140192c42
mov rdx, qword [rsp + 0x78]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x170]
mov qword [rsp + 0x50], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192c32
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x78], r14
xor edx, edx
lea rcx, [rbp + 0x14]
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x10]
mov dword [rbp + 0x10], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140192d17
mov rdx, qword [rsp + 0x70]
lea r9, [rbp + 0x130]
lea r8, str.OSVersion
mov qword [rbp + 0x130], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192d17
movzx eax, word [rbp + 0x126]
lea r8, str._u._u._u_SP__u._u
movzx ecx, word [rbp + 0x124]
mov edx, 0x64
mov r9d, dword [rbp + 0x14]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x170]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x20], eax
call fcn.14018b8b0
mov rdx, qword [rbp + 0x130]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x170]
mov qword [rsp + 0x50], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192d0a
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r14
mov rcx, qword [rbp + 0x130]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov rdx, qword [rsp + 0x70]
lea r9, [rbp - 0x80]
lea r8, str.Architecture
mov qword [rbp - 0x80], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192e71
mov rax, qword [rbp - 0x68]
mov ecx, 9
cmp cx, ax
lea edx, [rcx + 1]
lea rcx, [rbp + 0x130]
jne 0x140192db9
lea r8, [0x14044c1b8]
lea rax, [rbp + 0x130]
sub r8, rax
nop dword [rax + rax]
lea rax, [rdx + 0x7ffffff4]
test rax, rax
je 0x140192e23
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140192e23
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140192d90
jmp 0x140192e23
cmp r14w, ax
lea rax, [rbp + 0x130]
jne 0x140192df5
lea r8, [0x14044c1b0]
sub r8, rax
lea rax, [rdx + 0x7ffffff4]
test rax, rax
je 0x140192e23
movzx eax, word [rcx + r8]
test ax, ax
je 0x140192e23
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140192dd0
jmp 0x140192e23
lea r8, [0x14044c1a8]
sub r8, rax
nop
lea rax, [rdx + 0x7ffffff4]
test rax, rax
je 0x140192e23
movzx eax, word [rcx + r8]
test ax, ax
je 0x140192e23
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140192e00
test rdx, rdx
mov qword [rsp + 0x50], r14
mov rdx, qword [rbp - 0x80]
lea rax, [rcx - 2]
cmovne rax, rcx
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x130]
mov rcx, rdi
mov word [rax], r14w
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192e63
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r14
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x80], r14
mov rdx, qword [rsp + 0x70]
lea r9, [rbp - 0x78]
lea r8, str.CoreCount
mov qword [rbp - 0x78], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192eec
mov r9d, dword [rbp - 0x48]
lea r8, [0x14044c25c]
mov edx, 0xa
lea rcx, [rbp + 0x130]
call fcn.14018b8b0
mov rdx, qword [rbp - 0x78]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x130]
mov qword [rsp + 0x50], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192ede
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r14
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x78], r14
xor eax, eax
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x30], 0x40
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1401930ea
mov rdx, qword [rsp + 0x70]
lea r9, [rsp + 0x60]
lea r8, str.Memory
mov qword [rsp + 0x60], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x1401930ea
mov rdx, qword [rsp + 0x60]
lea r9, [rsp + 0x68]
lea r8, str.MemoryLoadMB
mov qword [rsp + 0x68], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192fcd
mov r9d, dword [rbp - 0x2c]
lea r8, [0x14044c25c]
mov edx, 0xa
lea rcx, [rbp + 0x150]
call fcn.14018b8b0
mov rdx, qword [rsp + 0x68]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x150]
mov qword [rsp + 0x40], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140192fbd
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x68], r14
mov rdx, qword [rsp + 0x60]
lea r9, [rbp + 0x130]
lea r8, str.TotalPhysicalMB
mov qword [rbp + 0x130], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x14019305b
mov r9, qword [rbp - 0x28]
lea r8, str._I64u
shr r9, 0x14
lea rcx, [rbp + 0x170]
mov edx, 0x28
call fcn.14018b8b0
mov rdx, qword [rbp + 0x130]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x170]
mov qword [rsp + 0x40], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140193047
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rbp + 0x130]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x130], r14
mov rdx, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
lea r8, str.TotalPagingMB
mov qword [rsp + 0x50], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x1401930df
mov r9, qword [rbp - 0x18]
lea r8, str._I64u
shr r9, 0x14
lea rcx, [rbp + 0x170]
mov edx, 0x28
call fcn.14018b8b0
mov rdx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x170]
mov qword [rsp + 0x40], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x1401930cf
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x70]
lea r9, [rbp - 0x70]
lea r8, str.MachineHash
mov qword [rbp - 0x70], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddElement_struct_IXMLDOMDocument____ptr64__struct_IUnknown____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
test eax, eax
js 0x140193379
movups xmm0, xmmword [0x14047aa18]
xor r9d, r9d
mov qword [rsp + 0x860], rbx
lea rdx, [rbp + 0x510]
mov word [rbp + 0x300], r14w
xor ecx, ecx
movaps xmmword [rsp + 0x50], xmm0
lea r8d, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x14019314b
mov ebx, 0x80004005
jmp 0x140193180
lea r8, str.ACIDErrorReport_
mov edx, 0x104
lea rcx, [rbp + 0x510]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x510]
mov edx, 0x104
lea rcx, [rbp + 0x300]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ebx, r14d
lea r8, str.MachineHash.dat
mov qword [rsp + 0x868], rsi
mov edx, 0x104
lea rcx, [rbp + 0x300]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test ebx, ebx
js 0x1401931e3
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rbp + 0x300]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140193267
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm1, xmmword [rsp + 0x50]
movq rax, xmm1
cmp rax, qword [0x14047aa18]
jne 0x140193308
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, qword [0x14047aa20]
jne 0x140193308
lea rcx, [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x140193303
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x300]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401932b4
movups xmm1, xmmword [0x14047aa18]
jmp 0x140193308
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], r14d
mov r8d, 0x10
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sym.ErrorReportClient.exe_SfReadFile
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1401932a3
cmp dword [rsp + 0x68], 0x10
je 0x1401931e3
movups xmm1, xmmword [0x14047aa18]
movaps xmmword [rsp + 0x50], xmm1
jmp 0x1401931e8
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r14d
mov r8d, 0x10
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1401932ed
cmp dword [rsp + 0x60], 0x10
je 0x140193303
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movups xmm1, xmmword [0x14047aa18]
jmp 0x140193308
movaps xmm1, xmmword [rsp + 0x50]
mov r8d, 0x32
movdqa xmmword [rbp + 0x130], xmm1
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x130]
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov rdx, qword [rbp - 0x70]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x170]
mov qword [rsp + 0x40], r14
mov rcx, rdi
call sym.ErrorReportClient.exe_long_int___cdecl_XMLCreateAndAddTextElement_struct_IXMLDOMDocument____ptr64__struct_IXMLDOMNode____ptr64__wchar_t_const____ptr64__struct_IXMLDOMNode____ptr64____ptr64_
mov rsi, qword [rsp + 0x868]
mov ebx, eax
test eax, eax
js 0x140193365
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x860]
mov rcx, qword [rbp + 0x720]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x830
pop r14
pop rdi
pop rbp
ret