Function at 0x140057d20
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x1b8]
sub rsp, 0x2b0
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov qword [r11 + 8], rbx
lea r8, [0x14017a060]
mov r9d, 0x200
mov qword [r11 - 0x18], r15
lea rdx, [0x140179fe0]
mov ecx, 0x30
call sym.SystemInformer.exe_PhCreateHashtable
mov rdx, qword [0x1402cb8c8]
mov ecx, 0x10
mov qword [0x1402cfc30], rax
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402cba10]
xor r15d, r15d
mov edx, 4
mov r8d, 0x20
mov rbx, rax
mov dword [rax], r15d
mov dword [rax + 4], 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 8], rax
mov qword [0x1402cfc28], rbx
call fcn.1400f4760
test byte [0x1402ca850], 1
jne 0x1400580e3
mov rbx, qword [0x1402ca898]
mov qword [rsp + 0x2d0], rdi
mov edi, 0xffffffff
mov qword [rsp + 0x2c8], rsi
test rbx, rbx
je 0x140057df4
cmp qword [rbx], r15
jne 0x140057ebd
call fcn.1401397a0
mov rsi, rax
test rax, rax
je 0x140057eb6
mov rbx, qword [0x1402c2078]
add rbx, qword [rax]
mov rdx, qword [0x1402cb8c0]
mov qword [rsp + 0x2a8], r14
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r14, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r15w
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, qword [rax + 8]
call fcn.14020be40
mov rcx, qword [r14 + 8]
add rcx, qword [rsi]
mov r8, qword [0x1402c2078]
mov rdx, qword [str._5_]
call fcn.14020be40
mov rcx, r14
call sym.SystemInformer.exe_PhDoesFileExist
test al, al
je 0x140057e84
mov qword [0x1402ca898], r14
mov byte [0x1402ca587], 1
jmp 0x140057e99
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057e99
call fcn.140142200
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
mov r14, qword [rsp + 0x2a8]
cmp eax, 1
jne 0x140057eb6
call fcn.140142200
mov rbx, qword [0x1402ca898]
nop dword [rax]
test rbx, rbx
je 0x140057ece
cmp qword [rbx], r15
jne 0x140057fb1
mov r8, qword [0x1402c6a40]
lea rax, str.SystemInformer_settings.xml
mov rdx, qword [str.APPDATA]
lea r9, [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov ebx, 0x208
lea rax, [rbp - 0x80]
shr r8, 1
mov qword [rsp + 0x70], rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], 0x38
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
mov qword [rsp + 0x68], rbx
call qword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable]
test eax, eax
jns 0x140057f5d
mov r8, qword [0x1402c6a20]
lea rax, [rsp + 0x50]
mov rdx, qword [str.USERPROFILE]
lea r9, [rbp - 0x80]
mov qword [rsp + 0x28], rax
xor ecx, ecx
shr rbx, 1
shr r8, 1
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable]
test eax, eax
js 0x140057fa7
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
add rax, rax
mov qword [rsp + 0x68], rax
call sym.SystemInformer.exe_PhDosPathNameToNtPathName
mov rsi, rax
test rax, rax
je 0x140057fa7
lea rdx, [rsp + 0x58]
mov rcx, rax
call sym.SystemInformer.exe_PhConcatStringRef2
mov rbx, rax
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057faa
nop dword [rax]
call fcn.140142200
jmp 0x140057faa
mov rbx, r15
mov qword [0x1402ca898], rbx
mov rsi, qword ss:[rsp + 0x2c8]
test rbx, rbx
je 0x1400580db
cmp qword [rbx], r15
je 0x1400580db
mov rcx, rbx
call sym.SystemInformer.exe_PhLoadSettings
nop word [rax + rax]
cmp eax, 0xc0000102
jne 0x1400580db
lea rax, str.If_you_select_No__the_settings_system_will_not_function_properly.
mov edx, 6
lea r9, str.System_Informers_settings_file_is_corrupt._Do_you_want_to_reset_it_
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov r8d, 0xffff
call sym.SystemInformer.exe_PhShowMessage2
cmp eax, 6
jne 0x1400580ba
mov eax, dword [0x1402736d0]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [str._settings___settings_]
mov rdx, qword [0x1402ca898]
mov r9d, 0x80
mov dword [rsp + 0x78], eax
mov r8d, 0x120116
movzx eax, word [0x1402736d4]
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 4
movups xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x7c], ax
mov dword [rsp + 0x20], 5
call sym.SystemInformer.exe_PhCreateFile
test eax, eax
js 0x1400580db
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov dword [rsp + 0x30], 0x15
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400580db
mov rcx, qword [0x1402ca898]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400580d4
call fcn.140142200
mov qword [0x1402ca898], r15
mov rdi, qword [rsp + 0x2d0]
call sym.SystemInformer.exe_PhUpdateCachedSettings
lea rax, str.EnablePlugins
mov qword [rsp + 0x58], 0x1a
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov qword [rsp + 0x58], 0x16
lea rax, str.MaxSizeUnit
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
setne byte [0x1402ca586]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x1402c8240], eax
lea rcx, [rsp + 0x58]
lea rax, str.MaxPrecisionUnit
mov qword [rsp + 0x58], 0x20
mov qword [rsp + 0x60], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov word [0x1402c823c], ax
lea rcx, [rsp + 0x58]
lea rax, str.EnableWindowText
mov qword [rsp + 0x58], 0x20
mov qword [rsp + 0x60], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov qword [rsp + 0x58], 0x24
lea rax, str.EnableThemeSupport
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
setne byte [0x1402d0500]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov r15, qword [rsp + 0x2a0]
test eax, eax
mov rbx, qword [rsp + 0x2c0]
setne byte [0x1402ca5af]
cmp dword [0x1402c0f40], 0x72
jb 0x1400581ee
lea rax, str.EnableThemeAcrylicSupport
mov qword [rsp + 0x58], 0x32
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x1400581ee
mov al, 1
jmp 0x1400581f0
xor al, al
mov byte [0x1402ca8ec], al
lea rcx, [rsp + 0x58]
lea rax, str.TreeListBorderEnable
mov qword [rsp + 0x58], 0x28
mov qword [rsp + 0x60], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov qword [rsp + 0x58], 0x28
lea rax, str.EnableDeferredLayout
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
setne byte [0x1402ca8ed]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov qword [rsp + 0x58], 0x28
lea rax, str.EnableServiceNonPoll
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
setne byte [0x1402d0501]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov qword [rsp + 0x58], 0x34
lea rax, str.EnableServiceNonPollNotify
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
setne byte [0x1402ca5ae]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov qword [rsp + 0x58], 0x28
lea rax, str.NonPollFlushInterval
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
setne byte [0x1402ca5ad]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x1402c0e58], eax
lea rcx, [rsp + 0x58]
lea rax, str.SampleCountAutomatic
mov qword [rsp + 0x58], 0x28
mov qword [rsp + 0x60], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x14005831b
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x1000
mov qword [rsp + 0x58], 0x16
inc eax
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
cmova eax, ecx
lea rcx, str.SampleCount
mov qword [rsp + 0x60], rcx
mov edx, eax
lea rcx, [rsp + 0x58]
call sym.SystemInformer.exe_PhSetIntegerStringRefSetting
mov r10, qword [0x1402ca890]
test r10, r10
je 0x140058538
cmp qword [r10], 0
je 0x140058538
mov r8, qword ds:[r10]
cmp r8, qword [0x1402c2048]
jne 0x1400583ad
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.release]
shr r9, 4
test r9, r9
je 0x140058386
nop dword [rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400583ad
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x140058360
shr r8, 1
and r8d, 7
je 0x1400583a6
sub rdx, rcx
movzx eax, word [rdx + rcx]
cmp word [rcx], ax
jne 0x1400583ad
add rcx, 2
sub r8, 1
jne 0x140058392
xor edx, edx
jmp 0x140058519
mov r8, qword [r10]
cmp r8, qword [0x1402c2058]
jne 0x14005841e
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.preview]
shr r9, 4
test r9, r9
je 0x1400583f5
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14005841e
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400583d0
shr r8, 1
and r8d, 7
je 0x140058414
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x14005841e
add rcx, 2
sub r8, 1
jne 0x140058401
mov edx, 1
jmp 0x140058519
mov r8, qword [r10]
cmp r8, qword [0x1402c2038]
jne 0x14005849b
mov rcx, qword ds:[r10 + 8]
mov r9, r8
mov rdx, qword [str.canary]
shr r9, 4
test r9, r9
je 0x140058475
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14005849b
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x140058450
shr r8, 1
and r8d, 7
je 0x140058494
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x14005849b
add rcx, 2
sub r8, 1
jne 0x140058481
mov edx, 2
jmp 0x140058519
mov r8, qword [r10]
cmp r8, qword [0x1402c2088]
jne 0x140058538
mov rcx, qword ds:[r10 + 8]
mov r9, r8
mov rdx, qword [str._b9_]
shr r9, 4
test r9, r9
je 0x1400584f5
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x140058538
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400584d0
shr r8, 1
and r8d, 7
je 0x140058514
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x140058538
add rcx, 2
sub r8, 1
jne 0x140058501
mov edx, 3
lea rax, str.ReleaseChannel
mov qword [rsp + 0x58], 0x1c
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
call sym.SystemInformer.exe_PhSetIntegerStringRefSetting
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x2b0
pop rbp
ret