Function at 0x1401b9e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.1401fb1d0
mov r15, rax
test rax, rax
jns 0x1401b9e84
xor al, al
jmp 0x1401ba245
lea r13, vtable.Core::ByteArray.0
mov qword [rbp - 0x28], r13
xor r12d, r12d
mov dword [rbp - 0x20], r12d
mov qword [rbp - 0x18], r12
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp - 0x10], rax
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x88]
movsxd r8, eax
imul r8, r15
lea r9d, [r12 + 1]
lea rdx, [rbp - 0x28]
mov rcx, rsi
call qword [rbx + 0x50]
mov r8, qword [rbp - 0x18]
test al, al
je 0x1401ba22b
cmp dword [rbp - 0x20], 0x200
jl 0x1401ba22b
cmp byte [r8 + 0x1fe], 0x55
jne 0x1401ba22b
cmp byte [r8 + 0x1ff], 0xaa
jne 0x1401ba22b
mov eax, dword [str.NTFSpo0_]
cmp eax, dword [r8 + 3]
je 0x1401ba22b
mov edx, 0x1be
mov r9d, edx
mov ecx, r9d
cmp byte [rcx + r8], 0x80
je 0x1401b9f2f
add r9d, 0x10
cmp r9d, 0x1fe
jl 0x1401b9f13
jmp 0x1401ba22b
cmp eax, dword [r8 + 3]
je 0x1401b9f63
mov eax, edx
cmp byte [rax + r8], 0x80
je 0x1401b9f4b
add edx, 0x10
cmp edx, 0x1fe
jl 0x1401b9f35
jmp 0x1401b9f63
cmp byte [r8 + 0x1b6], 0xb0
jne 0x1401b9f63
cmp byte [r8 + 0x1b7], 0xb
je 0x1401ba22b
mov r8d, 0x64
mov rdx, rsi
mov rcx, rdi
call fcn.1401ba570
mov qword [rbp - 0x48], r13
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp - 0x30], rax
mov edx, 0x186
xor ecx, ecx
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1401ba1fb
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rbx, eax
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1401ba1fb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov ecx, dword [rbp - 0x40]
cmp ebx, ecx
je 0x1401ba046
mov r8, qword [rbp - 0x38]
test ebx, ebx
jne 0x1401ba002
test r8, r8
je 0x1401ba05f
xor edx, edx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x40], r12d
jmp 0x1401ba05f
mov edx, 8
mov rcx, qword [rbp - 0x30]
test r8, r8
jne 0x1401ba029
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1401ba042
mov ecx, ebx
mov dword [rbp - 0x40], ebx
jmp 0x1401ba04a
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1401ba042
mov qword [rbp - 0x38], rax
mov ecx, ebx
mov dword [rbp - 0x40], ebx
jmp 0x1401ba04a
xor bl, bl
jmp 0x1401ba061
mov rax, qword [rbp - 0x38]
test ebx, ebx
jle 0x1401ba05f
mov r9, rbx
movsxd rdx, ecx
mov r8, r14
mov rcx, rax
call fcn.1402beb60
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test bl, bl
je 0x1401ba1fb
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x1401ba09d
lea edx, [rax + 8]
mov r8d, 0x200
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1401ba1ff
jmp 0x1401ba0cb
cmp dword [rbp - 0x40], 0x200
je 0x1401ba0d2
mov r9d, 0x200
mov r8, rax
mov edx, 8
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1401ba1fb
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x200
mov byte [rax + 0x1b6], 0xb0
mov eax, dword [rbp - 0x40]
cmp eax, 0x1b7
jle 0x1401ba0f1
mov rax, qword [rbp - 0x38]
mov byte [rax + 0x1b7], 0xb
mov eax, dword [rbp - 0x40]
cmp eax, 0x200
jge 0x1401ba14e
mov r8, qword [rbp - 0x38]
mov edx, 8
mov rcx, qword [rbp - 0x30]
test r8, r8
jne 0x1401ba12c
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1401ba1ff
mov dword [rbp - 0x40], 0x200
jmp 0x1401ba152
mov r9d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1401ba1fb
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x200
jmp 0x1401ba152
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x18]
test r8, r8
je 0x1401ba203
cmp dword [rbp - 0x20], 0x200
jl 0x1401ba203
movups xmm0, xmmword [r8 + 0x1b8]
movups xmmword [rax + 0x1b8], xmm0
movups xmm1, xmmword [r8 + 0x1c8]
movups xmmword [rax + 0x1c8], xmm1
movups xmm0, xmmword [r8 + 0x1d8]
movups xmmword [rax + 0x1d8], xmm0
movups xmm1, xmmword [r8 + 0x1e8]
movups xmmword [rax + 0x1e8], xmm1
movsd xmm0, qword [r8 + 0x1f8]
movsd qword [rax + 0x1f8], xmm0
mov rax, qword [rsi]
lea r8, [rbp - 0x28]
mov edx, 0x3e
mov rcx, rsi
call qword [rax + 0x60]
test al, al
je 0x1401ba1fb
mov rax, qword [rsi]
lea r8, [rbp - 0x48]
mov rdx, r15
mov rcx, rsi
call qword [rax + 0x60]
test al, al
je 0x1401ba1fb
lea rcx, str.SinowalEraser_r_n
call fcn.1401b5550
mov bl, 1
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp - 0x38]
jmp 0x1401ba205
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x18]
xor bl, bl
mov qword [rbp - 0x48], r13
test rax, rax
je 0x1401ba22d
mov r8, rax
xor edx, edx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x40], r12d
mov r8, qword [rbp - 0x18]
jmp 0x1401ba22d
xor bl, bl
mov qword [rbp - 0x28], r13
test r8, r8
je 0x1401ba242
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret