Function at 0x1401b67d0
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.1401f5470
mov r15, rax
test rax, rax
jns 0x1401b6814
xor al, al
jmp 0x1401b6bd5
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 0x1401b6bbb
cmp dword [rbp - 0x20], 0x200
jl 0x1401b6bbb
cmp byte [r8 + 0x1fe], 0x55
jne 0x1401b6bbb
cmp byte [r8 + 0x1ff], 0xaa
jne 0x1401b6bbb
mov eax, dword [str.NTFSP]
cmp eax, dword [r8 + 3]
je 0x1401b6bbb
mov edx, 0x1be
mov r9d, edx
mov ecx, r9d
cmp byte [rcx + r8], 0x80
je 0x1401b68bf
add r9d, 0x10
cmp r9d, 0x1fe
jl 0x1401b68a3
jmp 0x1401b6bbb
cmp eax, dword [r8 + 3]
je 0x1401b68f3
mov eax, edx
cmp byte [rax + r8], 0x80
je 0x1401b68db
add edx, 0x10
cmp edx, 0x1fe
jl 0x1401b68c5
jmp 0x1401b68f3
cmp byte [r8 + 0x1b6], 0xb0
jne 0x1401b68f3
cmp byte [r8 + 0x1b7], 0xb
je 0x1401b6bbb
mov r8d, 0x64
mov rdx, rsi
mov rcx, rdi
call fcn.1401b6d60
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 0x1401b6b8b
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 0x1401b6b8b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov ecx, dword [rbp - 0x40]
cmp ebx, ecx
je 0x1401b69d6
mov r8, qword [rbp - 0x38]
test ebx, ebx
jne 0x1401b6992
test r8, r8
je 0x1401b69ef
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 0x1401b69ef
mov edx, 8
mov rcx, qword [rbp - 0x30]
test r8, r8
jne 0x1401b69b9
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1401b69d2
mov ecx, ebx
mov dword [rbp - 0x40], ebx
jmp 0x1401b69da
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1401b69d2
mov qword [rbp - 0x38], rax
mov ecx, ebx
mov dword [rbp - 0x40], ebx
jmp 0x1401b69da
xor bl, bl
jmp 0x1401b69f1
mov rax, qword [rbp - 0x38]
test ebx, ebx
jle 0x1401b69ef
mov r9, rbx
movsxd rdx, ecx
mov r8, r14
mov rcx, rax
call fcn.1402b8dd0
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test bl, bl
je 0x1401b6b8b
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x1401b6a2d
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 0x1401b6b8f
jmp 0x1401b6a5b
cmp dword [rbp - 0x40], 0x200
je 0x1401b6a62
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 0x1401b6b8b
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x200
mov byte [rax + 0x1b6], 0xb0
mov eax, dword [rbp - 0x40]
cmp eax, 0x1b7
jle 0x1401b6a81
mov rax, qword [rbp - 0x38]
mov byte [rax + 0x1b7], 0xb
mov eax, dword [rbp - 0x40]
cmp eax, 0x200
jge 0x1401b6ade
mov r8, qword [rbp - 0x38]
mov edx, 8
mov rcx, qword [rbp - 0x30]
test r8, r8
jne 0x1401b6abc
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1401b6b8f
mov dword [rbp - 0x40], 0x200
jmp 0x1401b6ae2
mov r9d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1401b6b8b
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x200
jmp 0x1401b6ae2
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x18]
test r8, r8
je 0x1401b6b93
cmp dword [rbp - 0x20], 0x200
jl 0x1401b6b93
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 0x1401b6b8b
mov rax, qword [rsi]
lea r8, [rbp - 0x48]
mov rdx, r15
mov rcx, rsi
call qword [rax + 0x60]
test al, al
je 0x1401b6b8b
lea rcx, str.SinowalEraser_r_n
call fcn.1401b1eb0
mov bl, 1
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp - 0x38]
jmp 0x1401b6b95
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x18]
xor bl, bl
mov qword [rbp - 0x48], r13
test rax, rax
je 0x1401b6bbd
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 0x1401b6bbd
xor bl, bl
mov qword [rbp - 0x28], r13
test r8, r8
je 0x1401b6bd2
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