Function at 0x140173e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 8]
xor r12d, r12d
mov qword [rsp + 0x20], rax
cmp word [rax], 0x40
jne 0x1401742bf
mov rdi, qword [rcx]
lea rbx, [rax + 2]
sub rdi, 2
mov rcx, rbx
mov r11, rdi
mov r10, rdi
shr r11, 1
mov r9, r11
shr r10, 4
and r9d, 7
mov r8, r10
mov edx, r9d
test r10, r10
je 0x140173f0f
movdqa xmm1, xmmword [0x140288cf0]
movdqu xmm0, xmmword [rcx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf eax, eax
mov dword [rsp + 0x30], eax
jne 0x140173f2d
add rcx, 0x10
sub r8, 1
jne 0x140173ef0
test rdx, rdx
je 0x140173f26
cmp word [rcx], 0x2c
je 0x140173f42
add rcx, 2
sub rdx, 1
jne 0x140173f14
xor eax, eax
jmp 0x1401742c2
shl r8, 4
mov rcx, rdi
sub rcx, r8
shr rax, 1
shr rcx, 1
add rcx, rax
jmp 0x140173f45
mov rcx, r11
sub rcx, rdx
cmp rcx, 0xffffffffffffffff
je 0x140173f26
lea rsi, [rcx + rcx]
mov qword [rsp + 0xa8], r13
lea r14, [rbx + 2]
mov r8, rdi
add r14, rsi
sub r8, rsi
movzx r13d, r12b
sub r8, 2
je 0x140173f93
movzx eax, word [r14]
cmp ax, 0x2d
je 0x140173f88
nop dword [rax + rax]
cmp ax, 0x2b
jne 0x140173f93
jmp 0x140173f8b
mov r13b, 1
add r14, 2
add r8, 0xfffffffffffffffe
shr r8, 1
mov r15b, 1
mov rcx, r12
mov rdx, r12
je 0x140173fd3
lea rbp, [0x1402835c0]
nop dword [rax]
movzx eax, byte [r14 + rdx*2]
mov eax, dword [rbp + rax*4]
cmp eax, 0xa
jae 0x140173fc8
lea rcx, [rcx + rcx*4]
lea rcx, [rax + rcx*2]
jmp 0x140173fcb
xor r15b, r15b
inc rdx
cmp rdx, r8
jb 0x140173fb0
mov rbp, rcx
neg rbp
test r13b, r13b
mov r13, qword [rsp + 0xa8]
cmove rbp, rcx
test r15b, r15b
jne 0x1401740d4
test r10, r10
je 0x14017401b
movdqa xmm1, xmmword [0x140288d30]
nop
movdqu xmm0, xmmword [rbx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14017404d
add rbx, 0x10
sub r10, 1
jne 0x140174000
nop dword [rax + rax]
test r9, r9
je 0x140173f26
nop dword [rax]
cmp word [rbx], 0x3b
je 0x140174062
add rbx, 2
sub r9, 1
jne 0x140174030
xor eax, eax
jmp 0x1401742c2
shl r10, 4
mov r11, rdi
sub r11, r10
mov eax, ecx
shr r11, 1
shr rax, 1
add r11, rax
sub r11, r9
cmp r11, 0xffffffffffffffff
je 0x140173f26
mov rsi, qword [rsp + 0x20]
lea rax, [r11 + r11]
add rsi, 4
sub rdi, rax
add rsi, rax
sub rdi, 2
jne 0x140174095
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1401742c2
mov rdx, qword [0x1402bfcf8]
lea rcx, [rdi + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rdi], r12w
test rsi, rsi
je 0x1401740cc
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.1401e3aa0
mov rax, rbx
jmp 0x1401742c2
test rsi, rsi
jne 0x1401740e3
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rdi, rax
jmp 0x14017411a
mov rdx, qword [0x1402bfcf8]
lea rcx, [rsi + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rsi
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rsi + rax], r12w
test rbx, rbx
je 0x14017411a
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbx
call fcn.1401e3aa0
mov rax, qword [rdi + 8]
mov rsi, rdi
mov rbx, 0xffffffffffffffff
cmp word [rax], 0x25
jne 0x140174153
mov rcx, rdi
call sym.SystemInformer.exe_PhExpandEnvironmentStrings
test rax, rax
je 0x140174153
mov rsi, rax
lea rcx, [rdi - 0x10]
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140174153
call fcn.14013d2a0
mov rcx, rsi
call sym.SystemInformer.exe_PhDetermineDosPathNameType
nop dword [rax + rax]
cmp eax, 5
jne 0x14017419a
mov rcx, qword [rsi + 8]
lea rdx, str..dll
call fcn.14013ad00
test rax, rax
je 0x14017419a
mov rcx, rsi
mov rsi, rax
test rcx, rcx
je 0x14017419a
add rcx, 0xfffffffffffffff0
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14017419a
call fcn.14013d2a0
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call sym.SystemInformer.exe_PhLoadLibraryAsImageResource
test eax, eax
js 0x1401742ac
mov rdi, qword [rsp + 0x20]
lea r9, [rsp + 0x38]
neg ebp
mov qword [rsp + 0x48], 6
movzx eax, bp
mov qword [rsp + 0x58], r12
shr ax, 4
lea rdx, [rsp + 0x48]
inc ax
mov r8d, 3
movzx eax, ax
mov rcx, rdi
mov qword [rsp + 0x50], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14017429c
lfence
mov rdi, qword [rsp + 0x20]
lea r9, [rsp + 0x2c]
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14017429c
mov rcx, qword [rsp + 0x40]
and ebp, 0xf
jbe 0x140174246
mov edx, ebp
nop dword [rax]
movzx eax, word ds:[rcx]
lea rcx, [rcx + rax*2]
add rcx, 2
sub rdx, 1
jne 0x140174230
movzx eax, word [rcx]
test ax, ax
je 0x14017429c
mov edx, 0xfffe
cmp ax, dx
jae 0x14017429c
mov rdx, qword [0x1402bfcf8]
lea rbp, [rcx + 2]
mov r15d, eax
add r15, r15
lea rcx, [r15 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r14, rax
mov qword [rax], r15
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [r15 + rcx], r12w
test rbp, rbp
je 0x140174299
mov rcx, qword [rax + 8]
mov r8, r15
mov rdx, rbp
call fcn.1401e3aa0
mov r12, r14
and rdi, 0xfffffffffffffffd
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
lea rcx, [rsi - 0x10]
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
jne 0x1401742bf
call fcn.14013d2a0
mov rax, r12
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401dd6a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret