Function at 0x440300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x62f040]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
push 0x200
push 0x525c20
push 0x525c00
push 0x1c
call sym.SystemInformer.exe_PhCreateHashtable
push dword [0x635f10]
mov dword [0x6384ac], eax
push 0xc
call sym.SystemInformer.exe_PhCreateObject
push 0x10
mov esi, eax
push 4
push dword [0x636044]
mov dword [esi], 0
mov dword [esi + 4], 4
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov dword [0x6384a8], esi
call fcn.004c12a0
test byte [0x6354d0], 1
jmp 0x440380
jne 0x4405cf
mov esi, dword [0x6354fc]
or edi, 0xffffffff
test esi, esi
je 0x440398
cmp dword [esi], 0
jne 0x44040e
call fcn.004f6160
mov esi, eax
test esi, esi
je 0x440408
push 0x63044c
push esi
call sym.SystemInformer.exe_PhConcatStringRef2
mov ebx, eax
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.0051bf60
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.004fc420
jmp 0x4403f4
mov dword [0x6354fc], ebx
mov byte [0x635377], 1
lea ecx, ds:[esi - 8]
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x440408
call fcn.004fc420
mov esi, dword [0x6354fc]
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 [0x632c34]
shr eax, 1
push eax
push dword [0x632c38]
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 [0x632c24]
shr eax, 1
push eax
push dword [0x632c28]
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.004fc420
jmp 0x4404d3
xor esi, esi
mov dword [0x6354fc], 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 [0x602350]
push 0x60
mov dword [esp + 0x30], eax
mov eax, dword [0x602354]
push 4
mov dword [esp + 0x38], eax
mov eax, dword [0x602358]
push 5
mov dword [esp + 0x40], eax
mov eax, dword [0x60235c]
push 0x80
mov dword [esp + 0x48], eax
mov ax, word [0x602360]
push 0x120116
push dword [0x6354fc]
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 [0x6354fc]
lea ecx, [ecx]
call sym.SystemInformer.exe_PhDereferenceObject
mov dword [0x6354fc], 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 [0x635376]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x633948], 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 [0x633944], 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 [0x63897c]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
setne byte [0x6359c7]
cmp dword [0x62fbb0], 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 [0x635c5c], 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 [0x635c5d]
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 [0x63897d]
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 [0x6359c6]
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 [0x6359c5]
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov dword [0x62fb14], 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 [0x6354f8]
test eax, eax
je 0x440845
cmp dword [eax], 0
je 0x440845
push 0
push 0x630434
push eax
call sym.SystemInformer.exe_PhEqualStringRef
push 0
test al, al
jne 0x440826
push 0x63043c
push dword [0x6354f8]
call sym.SystemInformer.exe_PhEqualStringRef
test al, al
je 0x4407f2
push 1
jmp 0x440826
push 0
push 0x63042c
push dword [0x6354f8]
call sym.SystemInformer.exe_PhEqualStringRef
test al, al
je 0x44080d
push 2
jmp 0x440826
push 0
push 0x630454
push dword [0x6354f8]
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.0058078f
mov esp, ebp
pop ebp
ret