Function at 0x14005f180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdx, qword [rbp + 0xc0]
mov rdi, rcx
cmp r9d, 0x9cbf
ja 0x14005f2d8
je case.0x14005f302.40128
mov eax, r9d
sub eax, 0x83
je 0x14005f297
cmp eax, 4
jne case.0x14005f302.40131
test rdx, rdx
je 0x14005f32f
mov rdi, qword [rdx + 0x20]
mov edx, 4
movzx eax, byte [rdi + 0x28]
lea r8d, [rdx + 0x3c]
not al
test al, 1
je 0x14005f229
lock or dword [rdi + 0x28], 1
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ebx, ebx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], rbx
or dword [rax + 0x18], 1
jmp 0x14005f25c
lock and dword [rdi + 0x28], 0xfffffffe
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ebx, ebx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], rbx
or dword [rax + 0x18], 2
mov rdx, rax
mov qword [rax + 0x10], rdi
lea rcx, [0x1402c09b0]
call qword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
call fcn.14008dca0
mov rcx, qword [0x1402c09c8]
nop dword [rax]
test rcx, rcx
je 0x14005f28d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
call fcn.14008d6e0
jmp 0x14005f32f
nop word [rax + rax]
test rdx, rdx
je 0x14005f32f
xorps xmm0, xmm0
lea rcx, [rbp]
xor ebx, ebx
movups xmmword [rbp], xmm0
mov qword [rbp + 8], rdi
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x50], ebx
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
call fcn.1400a9200
jmp 0x14005f32f
lea eax, ds:[r9 - 0x9cc0]
cmp eax, 0x9b
ja case.0x14005f302.40131
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x5f67c]
mov ecx, dword [r8 + rax*4 + 0x5f660]
add rcx, r8
jmp rcx
test rdx, rdx
je case.0x14005f302.40131
mov rax, qword [rdx + 0x38]
test rax, rax
je case.0x14005f302.40131
mov eax, dword [rax + 0x20]
mov dword [0x1402b6fe0], eax
mov r8d, r9d
mov edx, 0x111
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x178
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rsi, qword [0x1402bfd08]
lea r9, [rsp + 0x50]
xor ebx, ebx
mov qword [rbp - 0x30], 5
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x28], 0xf3
mov rcx, rsi
mov qword [rbp - 0x20], rbx
lea r8d, [rbx + 3]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14005f32f
lfence
mov rdx, qword [rsp + 0x50]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14005f32f
mov rdx, qword ds:[rsp + 0x40]
lea rax, str.ProcessTreeColumnSetConfig
lea r9, [0x140024280]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x14005f32f
mov qword [rsp + 0x1a8], r14
xor ebx, ebx
mov qword [rsp + 0x170], r15
lea r14, str.Column_Set_Name
mov qword [rsp + 0x78], rbx
lea r15, str.Enter_a_name_for_this_column_set:
mov rsi, qword [0x1402bfd08]
lea rax, [rsp + 0x78]
mov rcx, rsi
mov qword [rbp - 0x68], rbx
lea r9, [rsp + 0x68]
mov qword [rbp - 0x58], 1
mov r8d, 3
mov qword [rbp - 0x38], rbx
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x18], 5
mov qword [rbp - 0x10], 0x9b
mov qword [rbp - 8], rbx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14005f4b7
lfence
mov rdx, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14005f4b7
mov rdx, qword [rsp + 0x70]
lea rax, [rbp - 0x80]
lea r9, [0x14001fd00]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp rax, 1
jne 0x14005f4b7
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14005f3f0
cmp qword [rax], rbx
je 0x14005f3f0
jmp 0x14005f4bc
mov rax, qword [rsp + 0x78]
mov r15, qword [rsp + 0x170]
mov r14, qword [rsp + 0x1a8]
test rax, rax
je 0x14005f32f
cmp qword [rax], rbx
je 0x14005f32f
mov rcx, qword [0x1402c1590]
lea r9, [rsp + 0x48]
lea rdx, [0x1402c1540]
call fcn.140022a00
mov r9, qword [rsp + 0x48]
mov r8, rax
mov rdx, qword [rsp + 0x78]
mov rbx, rax
call fcn.140023f60
lea rcx, ds:[rbx - 0x10]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005f52a
call fcn.14013d2a0
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff0
lock xadd dword ds:[rcx + 8], ebx
cmp ebx, 1
jne 0x14005f32f
call fcn.14013d2a0
jmp 0x14005f32f
mov rcx, qword [rdx + 8]
call sym.SystemInformer.exe_PhCreateString
lea r9, [rsp + 0x38]
mov rdx, rax
lea r8, [rsp + 0x40]
mov rdi, rax
call fcn.140023960
mov ebx, 0xffffffff
test al, al
je 0x14005f634
mov rcx, qword ds:[rsp + 0x38]
lea rdx, [0x1402c1540]
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9, rsi
mov rcx, qword [0x1402c1590]
call fcn.140021e00
lea rax, str.EnableInstantTooltips
mov qword ds:[rsp + 0x50], 0x2a
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x14005f5fb
mov rcx, qword [0x1402c1590]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x41b
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
lea r8d, [rbx + 4]
mov rcx, rax
mov edx, 0x403
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
call fcn.1400bb260
lea rcx, [rsi - 0x10]
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005f61a
call fcn.14013d2a0
mov rcx, qword [rsp + 0x38]
mov eax, ebx
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005f634
call fcn.14013d2a0
lea rcx, [rdi - 0x10]
jmp 0x14005f533
mov edx, dword [rdx + 0x20]
mov rcx, rdi
call fcn.140003a00
jmp 0x14005f32f
mov edx, dword [rdx + 0x20]
mov rcx, rdi
call fcn.140003f60
jmp 0x14005f32f