Function at 0x1400559e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r9d, 0x200
lea r8, [0x140152a60]
lea rdx, [0x1401529e0]
mov ecx, 0x30
call sym.SystemInformer.exe_QiCreateHashtable
mov rdx, qword [0x1402c4fc0]
mov ecx, 0x10
mov qword [0x1402c9270], rax
call sym.SystemInformer.exe_QiCreateObject
mov rcx, qword [0x1402c5110]
xor r15d, r15d
mov rbx, rax
mov dword [rax], r15d
lea edx, [r15 + 4]
mov dword [rax + 4], 4
lea r8d, [r15 + 0x20]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 8], rax
mov qword [0x1402c9268], rbx
call fcn.1400f2600
test byte [0x1402c3f10], 1
lea rdi, [r15 - 1]
jne 0x140055dac
mov rbx, qword [0x1402c3f58]
mov qword [rsp + 0x490], rsi
test rbx, rbx
je 0x140055aa9
nop dword [rax + rax]
cmp qword [rbx], r15
jne 0x140055b72
call fcn.140136de0
mov rsi, rax
test rax, rax
je 0x140055b6b
mov rbx, qword [0x1402bc060]
add rbx, qword [rax]
mov rdx, qword [0x1402c4fb8]
mov qword [rsp + 0x498], r14
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
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.1402074d0
mov rcx, qword [r14 + 8]
add rcx, qword [rsi]
mov r8, qword [0x1402bc060]
mov rdx, qword [str..settings.xml]
call fcn.1402074d0
mov rcx, r14
call sym.SystemInformer.exe_QiDoesFileExist
test al, al
je 0x140055b39
mov qword [0x1402c3f58], r14
mov byte [0x1402c3c47], 1
jmp 0x140055b4e
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140055b4e
call fcn.14013fb00
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
mov r14, qword [rsp + 0x498]
cmp eax, 1
jne 0x140055b6b
call fcn.14013fb00
mov rbx, qword [0x1402c3f58]
test rbx, rbx
je 0x140055b89
nop word [rax + rax]
cmp qword [rbx], r15
jne 0x140055c7d
mov r8, qword [0x1402c0a20]
lea rax, str.SystemInformer_settings.xml
mov rdx, qword [str.APPDATA]
lea r9, ds:[rbp + 0x150]
mov qword [rbp - 0x78], rax
mov ebx, 0x208
lea rax, [rbp + 0x150]
shr r8, 1
mov qword [rsp + 0x60], rax
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], 0x38
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable]
test eax, eax
js 0x140055bf1
mov rax, qword [rsp + 0x68]
jmp 0x140055c2f
mov r8, qword [0x1402c0a00]
lea rax, ds:[rsp + 0x70]
mov rdx, qword [str.USERPROFILE]
lea r9, [rbp + 0x150]
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 0x140055c73
mov rax, qword [rsp + 0x70]
add rax, rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call sym.SystemInformer.exe_QiDosPathNameToNtPathName
mov rsi, rax
test rax, rax
je 0x140055c73
lea rdx, [rbp - 0x80]
mov rcx, rax
call sym.SystemInformer.exe_QiConcatStringRef2
mov rbx, rax
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140055c76
call fcn.14013fb00
jmp 0x140055c76
mov rbx, r15
mov qword [0x1402c3f58], rbx
mov rsi, qword [rsp + 0x490]
test rbx, rbx
je 0x140055dac
cmp qword [rbx], r15
je 0x140055dac
mov rcx, rbx
call sym.SystemInformer.exe_QiLoadSettings
nop
cmp eax, 0xc0000102
jne 0x140055dac
lea rax, str.If_you_select_No__the_settings_system_will_not_function_properly.
mov edx, 6
lea r9, [0x14026ee40]
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov r8d, 0xffff
call sym.SystemInformer.exe_QiShowMessage2
cmp eax, 6
jne 0x140055d88
mov eax, dword [0x14026eee0]
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [str._settings___settings_]
mov rdx, qword [0x1402c3f58]
mov r9d, 0x80
mov dword [rbp + 0x140], eax
mov r8d, 0x120116
movzx eax, word [0x14026eee4]
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 4
movups xmmword [rbp + 0x130], xmm0
mov word [rbp + 0x144], ax
mov dword [rsp + 0x20], 5
call sym.SystemInformer.exe_QiCreateFile
test eax, eax
js 0x140055dac
mov rcx, qword [rsp + 0x78]
lea rax, [rbp + 0x130]
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, [rbp + 0x120]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x140055dac
mov rcx, qword [0x1402c3f58]
mov eax, edi
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140055da5
nop
call fcn.14013fb00
mov qword [0x1402c3f58], r15
mov r10, qword [0x1402c3f50]
test r10, r10
je 0x140055fce
nop dword [rax]
cmp qword [r10], r15
je 0x140055fce
mov r8, qword [r10]
cmp r8, qword [0x1402bc020]
jne 0x140055eae
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.release]
shr r9, 4
test r9, r9
je 0x140055e19
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [rdx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x140055eae
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x140055df0
shr r8, 1
and r8d, 7
je 0x140055e47
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rdx + rcx]
cmp word [rcx], ax
jne 0x140055eae
add rcx, 2
sub r8, 1
jne 0x140055e30
lock bts qword [0x1402c5160], 0
jae 0x140055e5f
lea rcx, [0x1402c5160]
call sym.SystemInformer.exe_QifAcquireQueuedLockExclusive
mov rcx, qword [0x1402c9270]
lea rax, str.ReleaseChannel
lea rdx, ds:[rbp + 0x60]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x68], 0x1c
call sym.SystemInformer.exe_QiFindEntryHashtable
mov rbx, rax
test rax, rax
je 0x140055e96
cmp dword [rax], 1
jne 0x140055e96
mov dword [rax + 0x28], r15d
lock xadd qword [0x1402c5160], rdi
movzx edx, dil
and dl, 6
cmp dl, 2
jmp 0x140056292
mov r8, qword [r10]
cmp r8, qword [0x1402bc040]
jne 0x1400560bf
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.preview]
shr r9, 4
test r9, r9
je 0x140055f09
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400560bf
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x140055ee0
shr r8, 1
and r8d, 7
je 0x140055f37
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rdx + rcx]
cmp word [rcx], ax
jne 0x1400560bf
add rcx, 2
sub r8, 1
jne 0x140055f20
lock bts qword [0x1402c5160], 0
jae 0x140055f4f
lea rcx, [0x1402c5160]
call sym.SystemInformer.exe_QifAcquireQueuedLockExclusive
mov rcx, qword [0x1402c9270]
lea rax, str.ReleaseChannel
lea rdx, [rbp + 0x90]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x98], 0x1c
call sym.SystemInformer.exe_QiFindEntryHashtable
mov rbx, rax
test rax, rax
je 0x140055f91
cmp dword [rax], 1
jne 0x140055f91
mov dword [rax + 0x28], 1
lock xadd qword [0x1402c5160], rdi
movzx ecx, dil
and cl, 6
cmp cl, 2
jne 0x140055fc5
lea rax, [rdi - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x1402c5160], rdx
jne 0x140055fc5
lea rcx, [0x1402c5160]
call fcn.140170e20
test rbx, rbx
je 0x1400562bc
call sym.SystemInformer.exe_QiUpdateCachedSettings
lea rax, str.EnablePlugins
mov qword [rbp - 0x70], 0x1a
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x68], rax
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
mov qword [rbp - 0x60], 0x16
lea rax, str.MaxSizeUnit
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x58], rax
setne byte [0x1402c3c46]
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
mov dword [0x1402c222c], eax
lea rcx, [rbp - 0x50]
lea rax, str.MaxPrecisionUnit
mov qword [rbp - 0x50], 0x20
mov qword [rbp - 0x48], rax
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
mov word [0x1402c2228], ax
lea rcx, [rbp - 0x40]
lea rax, str.EnableWindowText
mov qword [rbp - 0x40], 0x20
mov qword [rbp - 0x38], rax
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
mov qword [rbp - 0x30], 0x24
lea rax, str.EnableThemeSupport
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x28], rax
setne byte [0x1402c9b40]
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
setne byte [0x1402c3fc6]
cmp dword [0x1402baf40], 0x72
jb 0x1400562c8
lea rax, str.EnableThemeAcrylicSupport
mov qword [rbp - 0x20], 0x32
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x18], rax
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
je 0x1400562c8
mov al, 1
jmp 0x1400562ca
mov r8, qword [r10]
cmp r8, qword [0x1402bc010]
jne 0x14005619e
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.canary]
shr r9, 4
test r9, r9
je 0x140056119
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14005619e
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400560f0
shr r8, 1
and r8d, 7
je 0x140056138
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x14005619e
add rcx, 2
sub r8, 1
jne 0x140056125
lock bts qword [0x1402c5160], 0
jae 0x140056150
lea rcx, [0x1402c5160]
call sym.SystemInformer.exe_QifAcquireQueuedLockExclusive
mov rcx, qword [0x1402c9270]
lea rax, str.ReleaseChannel
lea rdx, [rbp + 0xc0]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xc8], 0x1c
call sym.SystemInformer.exe_QiFindEntryHashtable
mov rbx, rax
test rax, rax
je 0x140055f91
cmp dword [rax], 1
jne 0x140055f91
mov dword [rax + 0x28], 2
jmp 0x140055f91
mov r8, qword [r10]
cmp r8, qword [0x1402bc030]
jne 0x140055fce
mov rcx, qword [r10 + 8]
mov r9, r8
mov rdx, qword [str.developer]
shr r9, 4
test r9, r9
je 0x1400561f9
nop word [rax + rax]
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [rdx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x140055fce
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400561d0
shr r8, 1
and r8d, 7
je 0x140056227
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx + rdx]
cmp word [rcx], ax
jne 0x140055fce
add rcx, 2
sub r8, 1
jne 0x140056210
lock bts qword [0x1402c5160], 0
jae 0x14005623f
lea rcx, [0x1402c5160]
call sym.SystemInformer.exe_QifAcquireQueuedLockExclusive
mov rcx, qword [0x1402c9270]
lea rax, str.ReleaseChannel
lea rdx, [rbp + 0xf0]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0xf8], 0x1c
call sym.SystemInformer.exe_QiFindEntryHashtable
mov rbx, rax
test rax, rax
je 0x14005627f
cmp dword [rax], 1
jne 0x14005627f
mov dword [rax + 0x28], 3
lock xadd qword [0x1402c5160], rdi
movzx ecx, dil
and cl, 6
cmp cl, 2
jne 0x1400562b3
lea rax, [rdi - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x1402c5160], rdx
jne 0x1400562b3
lea rcx, [0x1402c5160]
call fcn.140170e20
test rbx, rbx
jne 0x140055fce
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor al, al
mov byte [0x1402c3fc7], al
lea rcx, [rbp - 0x10]
lea rax, str.TreeListBorderEnable
mov qword [rbp - 0x10], 0x28
mov qword [rbp - 8], rax
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
mov qword [rbp], 0x28
lea rax, str.EnableDeferredLayout
lea rcx, [rbp]
mov qword [rbp + 8], rax
setne byte [0x1402c3fc8]
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
mov qword [rbp + 0x10], 0x28
lea rax, str.EnableServiceNonPoll
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x18], rax
setne byte [0x1402c9b41]
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
mov qword [rbp + 0x20], 0x34
lea rax, str.EnableServiceNonPollNotify
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x28], rax
setne byte [0x1402c3fc5]
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
mov qword [rbp + 0x30], 0x28
lea rax, str.NonPollFlushInterval
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x38], rax
setne byte [0x1402c3fc4]
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
mov dword [0x1402bae58], eax
lea rcx, [rbp + 0x40]
lea rax, str.SampleCountAutomatic
mov qword [rbp + 0x40], 0x28
mov qword [rbp + 0x48], rax
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
test eax, eax
je 0x1400563e5
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x1000
mov qword [rbp + 0x50], 0x16
inc eax
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
cmova eax, ecx
lea rcx, str.SampleCount
mov qword [rbp + 0x58], rcx
mov edx, eax
lea rcx, [rbp + 0x50]
call sym.SystemInformer.exe_QiSetIntegerStringRefSetting
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1401e0100
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop r15
pop rdi
pop rbp
ret