Function at 0x440300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x62e040]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
push 0x200
push 0x5257e0
push 0x5257c0
push 0x1c
call sym.SystemInformer.exe_PhCreateHashtable
push dword [0x634f10]
mov dword [0x6374ac], eax
push 0xc
call sym.SystemInformer.exe_PhCreateObject
push 0x10
mov esi, eax
push 4
push dword [0x635044]
mov dword [esi], 0
mov dword [esi + 4], 4
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov dword [0x6374a8], esi
call fcn.004c0e80
test byte [0x6344d0], 1
jmp 0x440380
jne 0x4405cf
mov esi, dword [0x6344fc]
or edi, 0xffffffff
test esi, esi
je 0x440398
cmp dword [esi], 0
jne 0x44040e
call fcn.004f5d60
mov esi, eax
test esi, esi
je 0x440408
push 0x62f44c
push esi
call sym.SystemInformer.exe_PhConcatStringRef2
mov ebx, eax
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.0051bb00
lea esp, [esp]
test eax, eax
jns 0x4403e7
cmp eax, 0xc0000043
je 0x4403e7
cmp eax, 0xc0000022
je 0x4403e7
lea ecx, [ebx - 8]
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4403f4
nop
call fcn.004fc020
jmp 0x4403f4
mov dword [0x6344fc], ebx
mov byte [0x634377], 1
lea ecx, ds:[esi - 8]
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x440408
call fcn.004fc020
mov esi, dword [0x6344fc]
test esi, esi
je 0x44041b
cmp dword [esi], 0
jne 0x4404d9
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1c], eax
mov esi, 0x208
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 0x38
push eax
push 0x104
lea eax, [esp + 0x60]
mov dword [esp + 0x2c], str.SystemInformer_settings.xml
push eax
mov eax, dword [0x631c34]
shr eax, 1
push eax
push dword [0x631c38]
mov dword [esp + 0x2c], 0
push 0
call dword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable]
test eax, eax
jns 0x440498
lea eax, [esp + 0x10]
shr esi, 1
push eax
push esi
lea eax, [esp + 0x60]
push eax
mov eax, dword [0x631c24]
shr eax, 1
push eax
push dword [0x631c28]
push 0
call dword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable]
test eax, eax
js 0x4404d1
mov eax, dword [esp + 0x10]
add eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call sym.SystemInformer.exe_PhDosPathNameToNtPathName
mov ebx, eax
test ebx, ebx
je 0x4404d1
lea eax, [esp + 0x20]
push eax
push ebx
call sym.SystemInformer.exe_PhConcatStringRef2
mov esi, eax
lea ecx, [ebx - 8]
lock xadd dword [ecx + 4], edi
dec edi
jne 0x4404d3
call fcn.004fc020
jmp 0x4404d3
xor esi, esi
mov dword [0x6344fc], esi
lea esp, [esp]
test esi, esi
je 0x4405cf
cmp dword [esi], 0
je 0x4405cf
push esi
call sym.SystemInformer.exe_PhLoadSettings
jmp 0x440500
cmp eax, 0xc0000102
jne 0x4405cf
push str.If_you_select_No__the_settings_system_will_not_function_properly.
push str.System_Informers_settings_file_is_corrupt._Do_you_want_to_reset_it_
push 0xffff
push 6
push 0
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x14
cmp eax, 6
jne 0x4405b7
mov eax, dword [str._settings___settings_]
mov dword [esp + 0x28], eax
mov eax, dword [0x601350]
push 0x60
mov dword [esp + 0x30], eax
mov eax, dword [0x601354]
push 4
mov dword [esp + 0x38], eax
mov eax, dword [0x601358]
push 5
mov dword [esp + 0x40], eax
mov eax, dword [0x60135c]
push 0x80
mov dword [esp + 0x48], eax
mov ax, word [0x601360]
push 0x120116
push dword [0x6344fc]
mov word [esp + 0x54], ax
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhCreateFile
test eax, eax
js 0x4405cf
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0
push 0
push 0x15
push eax
lea eax, [esp + 0x60]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_NtWriteFile]
push esi
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x4405cf
push dword [0x6344fc]
lea ecx, [ecx]
call sym.SystemInformer.exe_PhDereferenceObject
mov dword [0x6344fc], 0
call sym.SystemInformer.exe_PhUpdateCachedSettings
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1a
push eax
mov dword [esp + 0x18], str.EnablePlugins
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [esp + 0x10], 0x16
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.MaxSizeUnit
push eax
setne byte [0x634376]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x632948], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x18], str.MaxPrecisionUnit
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov word [0x632944], ax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x18], str.EnableWindowText
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [esp + 0x10], 0x24
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.EnableThemeSupport
push eax
setne byte [0x63797c]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
setne byte [0x6349c7]
cmp dword [0x62ebb0], 0x72
jb 0x4406a8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x32
push eax
mov dword [esp + 0x18], str.EnableThemeAcrylicSupport
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
nop
test eax, eax
je 0x4406a8
mov al, 1
jmp 0x4406aa
xor al, al
mov byte [0x634c5c], al
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x18], str.TreeListBorderEnable
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [esp + 0x10], 0x28
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.EnableDeferredLayout
push eax
setne byte [0x634c5d]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [esp + 0x10], 0x28
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.EnableServiceNonPoll
push eax
setne byte [0x63797d]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [esp + 0x10], 0x34
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.EnableServiceNonPollNotify
push eax
setne byte [0x6349c6]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [esp + 0x10], 0x28
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.NonPollFlushInterval
push eax
setne byte [0x6349c5]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x62eb14], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x18], str.SampleCountAutomatic
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x4407b1
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
inc eax
mov dword [esp + 0x10], 0x16
cdq
mov ecx, 0x1000
sub eax, edx
mov dword [esp + 0x14], str.SampleCount
sar eax, 1
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
call sym.SystemInformer.exe_PhSetIntegerStringRefSetting
mov eax, dword [0x6344f8]
test eax, eax
je 0x440845
cmp dword [eax], 0
je 0x440845
push 0
push 0x62f434
push eax
call sym.SystemInformer.exe_PhEqualStringRef
push 0
test al, al
jne 0x440826
push 0x62f43c
push dword [0x6344f8]
call sym.SystemInformer.exe_PhEqualStringRef
test al, al
je 0x4407f2
push 1
jmp 0x440826
push 0
push 0x62f42c
push dword [0x6344f8]
call sym.SystemInformer.exe_PhEqualStringRef
test al, al
je 0x44080d
push 2
jmp 0x440826
push 0
push 0x62f454
push dword [0x6344f8]
call sym.SystemInformer.exe_PhEqualStringRef
nop
test al, al
je 0x440845
push 3
lea eax, ds:[esp + 0x14]
mov dword [esp + 0x14], 0x1c
push eax
mov dword [esp + 0x1c], str.ReleaseChannel
call sym.SystemInformer.exe_PhSetIntegerStringRefSetting
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret