Function at 0x1400592a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, r8
mov r12d, edx
mov r15, rcx
call sym.SystemInformer.exe_PhGetWindowDpi
mov rsi, qword [0x1402bfe88]
xor ebx, ebx
mov ebp, eax
xor r9d, r9d
movabs rax, 0xe38e38e38e38e38f
xor r8d, r8d
lea rcx, [rbp*8 + 0x24]
mul rcx
lea rax, str.Microsoft_Sans_Serif
mov qword [rsp + 0x68], rax
mov r14, rdx
mov dword [rsp + 0x60], ebx
xor edx, edx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
shr r14, 6
neg r14d
mov dword [rsp + 0x28], ebx
mov ecx, r14d
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.GDI32.dll_CreateFontW]
mov qword [0x1402bfe88], rax
test rax, rax
jne 0x140059434
lea rax, str.Tahoma
xor r9d, r9d
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov dword [rsp + 0x60], ebx
xor edx, edx
mov dword [rsp + 0x58], ebx
mov ecx, r14d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.GDI32.dll_CreateFontW]
mov qword [0x1402bfe88], rax
test rax, rax
jne 0x140059434
xor edx, edx
mov dword [rsp + 0x80], 0x1f8
mov r8d, 0x1f4
lea rcx, [rsp + 0x84]
call fcn.1401dff50
mov rax, qword [0x1402c2f58]
test rax, rax
je 0x1400593fc
test ebp, ebp
je 0x1400593fc
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea r8, [rsp + 0x80]
mov edx, 0x1f8
lea ecx, [rbx + 0x29]
call qword [str.PB__]
jmp 0x140059416
xor r9d, r9d
lea r8, [rsp + 0x80]
mov edx, 0x1f8
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14005942a
lea rcx, [rsp + 0x218]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x14005942d
mov rax, rbx
mov qword [0x1402bfe88], rax
test rsi, rsi
je 0x140059446
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rax, str.EnableMonospaceFont
mov qword [rsp + 0x70], 0x26
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x78], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x140059471
mov rcx, r15
call fcn.140149ec0
test r12d, r12d
jne 0x1400595de
nop word [rax + rax]
test rdi, rdi
je 0x1400595de
movzx eax, byte [rdi]
xor al, 5
test al, 0x1f
jne 0x1400595de
lea rdx, [0x14026b6e0]
mov rcx, rdi
call fcn.1401e420c
test eax, eax
jne 0x1400595de
test byte [0x1402bb900], 1
jne 0x1400595b4
lock bts qword [0x1402bb900], 0x1f
jae 0x1400594ea
test byte [0x1402bb900], 1
jne 0x1400595b4
xor edx, edx
lea rcx, [0x1402bb900]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1400595b4
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14005954e
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14005954e
cmp dword [0x1402b5e88], 0x3e
jae 0x1400595a8
xor r8d, r8d
lea rcx, str.shell32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1400595a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400595a1
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400595a1
cmp dword [rdx + rcx], 0x4550
jne 0x1400595a1
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400595a1
cmp dword [rdx + 4], ebx
je 0x1400595a1
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.RegenerateUserEnvironment
call fcn.140174840
mov rbx, rax
mov qword [0x1402c2ee0], rbx
lea rcx, [0x1402bb900]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2ee0]
nop dword [rax + rax]
test rax, rax
je 0x1400595de
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [str.PB__]
test eax, eax
je 0x1400595de
call fcn.1401698e0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401dd6a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret