Function at 0x140057d00
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, [0x140178b60]
mov r9d, 0x200
mov qword [r11 - 0x18], r15
lea rdx, [0x140178ae0]
mov ecx, 0x30
call sym.SystemInformer.exe_PhCreateHashtable
mov rdx, qword [0x1402ca980]
mov ecx, 0x10
mov qword [0x1402cecd0], rax
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402caad0]
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 [0x1402cecc8], rbx
call fcn.1400f4800
test byte [0x1402c98f0], 1
jne 0x1400580c3
mov rbx, qword [0x1402c9938]
mov qword [rsp + 0x2d0], rdi
mov edi, 0xffffffff
mov qword [rsp + 0x2c8], rsi
test rbx, rbx
je 0x140057dd4
cmp qword [rbx], r15
jne 0x140057e9d
call fcn.1401392e0
mov rsi, rax
test rax, rax
je 0x140057e96
mov rbx, qword [0x1402c1078]
add rbx, qword [rax]
mov rdx, qword [0x1402ca978]
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.14020a640
mov rcx, qword [r14 + 8]
add rcx, qword [rsi]
mov r8, qword [0x1402c1078]
mov rdx, qword [str..settings.xml]
call fcn.14020a640
mov rcx, r14
call sym.SystemInformer.exe_PhDoesFileExist
test al, al
je 0x140057e64
mov qword [0x1402c9938], r14
mov byte [0x1402c9627], 1
jmp 0x140057e79
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057e79
call fcn.140141ca0
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
mov r14, qword [rsp + 0x2a8]
cmp eax, 1
jne 0x140057e96
call fcn.140141ca0
mov rbx, qword [0x1402c9938]
nop dword [rax]
test rbx, rbx
je 0x140057eae
cmp qword [rbx], r15
jne 0x140057f91
mov r8, qword [0x1402c5ae0]
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 0x140057f3d
mov r8, qword [0x1402c5ac0]
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 0x140057f87
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 0x140057f87
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 0x140057f8a
nop dword [rax]
call fcn.140141ca0
jmp 0x140057f8a
mov rbx, r15
mov qword [0x1402c9938], rbx
mov rsi, qword ss:[rsp + 0x2c8]
test rbx, rbx
je 0x1400580bb
cmp qword [rbx], r15
je 0x1400580bb
mov rcx, rbx
call sym.SystemInformer.exe_PhLoadSettings
nop word [rax + rax]
cmp eax, 0xc0000102
jne 0x1400580bb
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 0x14005809a
mov eax, dword [0x140272330]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [str._settings___settings_]
mov rdx, qword [0x1402c9938]
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 0x1400580bb
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 0x1400580bb
mov rcx, qword [0x1402c9938]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400580b4
call fcn.140141ca0
mov qword [0x1402c9938], 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 [0x1402c9626]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x1402c72e0], 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 [0x1402c72dc], 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 [0x1402cf5a0]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov r15, qword [rsp + 0x2a0]
test eax, eax
mov rbx, qword [rsp + 0x2c0]
setne byte [0x1402c964f]
cmp dword [0x1402bff40], 0x72
jb 0x1400581ce
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 0x1400581ce
mov al, 1
jmp 0x1400581d0
xor al, al
mov byte [0x1402c996c], 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 [0x1402c996d]
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 [0x1402cf5a1]
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 [0x1402c964e]
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 [0x1402c964d]
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 0x1400582fb
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 [0x1402c9930]
test r10, r10
je 0x140058518
cmp qword [r10], 0
je 0x140058518
mov r8, qword ds:[r10]
cmp r8, qword [0x1402c1048]
jne 0x14005838d
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.release]
shr r9, 4
test r9, r9
je 0x140058366
nop dword [rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14005838d
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x140058340
shr r8, 1
and r8d, 7
je 0x140058386
sub rdx, rcx
movzx eax, word [rdx + rcx]
cmp word [rcx], ax
jne 0x14005838d
add rcx, 2
sub r8, 1
jne 0x140058372
xor edx, edx
jmp 0x1400584f9
mov r8, qword [r10]
cmp r8, qword [0x1402c1058]
jne 0x1400583fe
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.H__]
shr r9, 4
test r9, r9
je 0x1400583d5
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400583fe
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400583b0
shr r8, 1
and r8d, 7
je 0x1400583f4
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x1400583fe
add rcx, 2
sub r8, 1
jne 0x1400583e1
mov edx, 1
jmp 0x1400584f9
mov r8, qword [r10]
cmp r8, qword [0x1402c1038]
jne 0x14005847b
mov rcx, qword ds:[r10 + 8]
mov r9, r8
mov rdx, qword [str.canary]
shr r9, 4
test r9, r9
je 0x140058455
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14005847b
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 0x14005847b
add rcx, 2
sub r8, 1
jne 0x140058461
mov edx, 2
jmp 0x1400584f9
mov r8, qword [r10]
cmp r8, qword [0x1402c1088]
jne 0x140058518
mov rcx, qword ds:[r10 + 8]
mov r9, r8
mov rdx, qword [str.developer]
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 0x140058518
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 0x140058518
add rcx, 2
sub r8, 1
jne 0x1400584e1
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.1401e4160
add rsp, 0x2b0
pop rbp
ret