Function at 0x140057d80
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x1b8]
sub rsp, 0x2b0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov qword [r11 + 8], rbx
lea r8, [0x1401793e0]
mov r9d, 0x200
mov qword [r11 - 0x18], r15
lea rdx, [0x140179360]
mov ecx, 0x30
call sym.SystemInformer.exe_PhCreateHashtable
mov rdx, qword [0x1402ca9a0]
mov ecx, 0x10
mov qword [0x1402cecf0], rax
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402caaf0]
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 [0x1402cece8], rbx
call fcn.1400f47e0
test byte [0x1402c9910], 1
jne 0x140058143
mov rbx, qword [0x1402c9958]
mov qword [rsp + 0x2d0], rdi
mov edi, 0xffffffff
mov qword [rsp + 0x2c8], rsi
test rbx, rbx
je 0x140057e54
cmp qword [rbx], r15
jne 0x140057f1d
call fcn.140139440
mov rsi, rax
test rax, rax
je 0x140057f16
mov rbx, qword [0x1402c1078]
add rbx, qword [rax]
mov rdx, qword [0x1402ca998]
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.14020af00
mov rcx, qword [r14 + 8]
add rcx, qword [rsi]
mov r8, qword [0x1402c1078]
mov rdx, qword [str..settings.xml]
call fcn.14020af00
mov rcx, r14
call sym.SystemInformer.exe_PhDoesFileExist
test al, al
je 0x140057ee4
mov qword [0x1402c9958], r14
mov byte [0x1402c9647], 1
jmp 0x140057ef9
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057ef9
call fcn.140141ea0
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
mov r14, qword [rsp + 0x2a8]
cmp eax, 1
jne 0x140057f16
call fcn.140141ea0
mov rbx, qword [0x1402c9958]
nop dword [rax]
test rbx, rbx
je 0x140057f2e
cmp qword [rbx], r15
jne 0x140058011
mov r8, qword [0x1402c5b00]
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 0x140057fbd
mov r8, qword [0x1402c5ae0]
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 0x140058007
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 0x140058007
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 0x14005800a
nop dword [rax]
call fcn.140141ea0
jmp 0x14005800a
mov rbx, r15
mov qword [0x1402c9958], rbx
mov rsi, qword ss:[rsp + 0x2c8]
test rbx, rbx
je 0x14005813b
cmp qword [rbx], r15
je 0x14005813b
mov rcx, rbx
call sym.SystemInformer.exe_PhLoadSettings
nop word [rax + rax]
cmp eax, 0xc0000102
jne 0x14005813b
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 0x14005811a
mov eax, dword [0x140272330]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [str._settings___settings_]
mov rdx, qword [0x1402c9958]
mov r9d, 0x80
mov dword [rsp + 0x78], eax
mov r8d, 0x120116
movzx eax, word [0x140272334]
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 0x14005813b
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 0x14005813b
mov rcx, qword [0x1402c9958]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x140058134
call fcn.140141ea0
mov qword [0x1402c9958], 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 [0x1402c9646]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x1402c7300], 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 [0x1402c72fc], 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 [0x1402cf5c0]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov r15, qword [rsp + 0x2a0]
test eax, eax
mov rbx, qword [rsp + 0x2c0]
setne byte [0x1402c966f]
cmp dword [0x1402bff40], 0x72
jb 0x14005824e
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 0x14005824e
mov al, 1
jmp 0x140058250
xor al, al
mov byte [0x1402c998c], 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 [0x1402c998d]
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 [0x1402cf5c1]
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 [0x1402c966e]
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 [0x1402c966d]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x1402bfe58], 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 0x14005837b
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 [0x1402c9950]
test r10, r10
je 0x140058598
cmp qword [r10], 0
je 0x140058598
mov r8, qword ds:[r10]
cmp r8, qword [0x1402c1048]
jne 0x14005840d
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.release]
shr r9, 4
test r9, r9
je 0x1400583e6
nop dword [rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14005840d
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400583c0
shr r8, 1
and r8d, 7
je 0x140058406
sub rdx, rcx
movzx eax, word [rdx + rcx]
cmp word [rcx], ax
jne 0x14005840d
add rcx, 2
sub r8, 1
jne 0x1400583f2
xor edx, edx
jmp 0x140058579
mov r8, qword [r10]
cmp r8, qword [0x1402c1058]
jne 0x14005847e
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.H__]
shr r9, 4
test r9, r9
je 0x140058455
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14005847e
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x140058430
shr r8, 1
and r8d, 7
je 0x140058474
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x14005847e
add rcx, 2
sub r8, 1
jne 0x140058461
mov edx, 1
jmp 0x140058579
mov r8, qword [r10]
cmp r8, qword [0x1402c1038]
jne 0x1400584fb
mov rcx, qword ds:[r10 + 8]
mov r9, r8
mov rdx, qword [str.canary]
shr r9, 4
test r9, r9
je 0x1400584d5
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400584fb
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400584b0
shr r8, 1
and r8d, 7
je 0x1400584f4
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x1400584fb
add rcx, 2
sub r8, 1
jne 0x1400584e1
mov edx, 2
jmp 0x140058579
mov r8, qword [r10]
cmp r8, qword [0x1402c1088]
jne 0x140058598
mov rcx, qword ds:[r10 + 8]
mov r9, r8
mov rdx, qword [str.developer]
shr r9, 4
test r9, r9
je 0x140058555
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x140058598
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x140058530
shr r8, 1
and r8d, 7
je 0x140058574
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x140058598
add rcx, 2
sub r8, 1
jne 0x140058561
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.1401e4a20
add rsp, 0x2b0
pop rbp
ret