Function at 0x1401b7de0
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.1401f7b90
mov r15, rax
test rax, rax
jns 0x1401b7e24
xor al, al
jmp 0x1401b81e5
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 0x1401b81cb
cmp dword [rbp - 0x20], 0x200
jl 0x1401b81cb
cmp byte [r8 + 0x1fe], 0x55
jne 0x1401b81cb
cmp byte [r8 + 0x1ff], 0xaa
jne 0x1401b81cb
mov eax, dword [str.NTFS]
cmp eax, dword [r8 + 3]
je 0x1401b81cb
mov edx, 0x1be
mov r9d, edx
mov ecx, r9d
cmp byte [rcx + r8], 0x80
je 0x1401b7ecf
add r9d, 0x10
cmp r9d, 0x1fe
jl 0x1401b7eb3
jmp 0x1401b81cb
cmp eax, dword [r8 + 3]
je 0x1401b7f03
mov eax, edx
cmp byte [rax + r8], 0x80
je 0x1401b7eeb
add edx, 0x10
cmp edx, 0x1fe
jl 0x1401b7ed5
jmp 0x1401b7f03
cmp byte [r8 + 0x1b6], 0xb0
jne 0x1401b7f03
cmp byte [r8 + 0x1b7], 0xb
je 0x1401b81cb
mov r8d, 0x64
mov rdx, rsi
mov rcx, rdi
call fcn.1401b8370
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 0x1401b819b
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 0x1401b819b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov ecx, dword [rbp - 0x40]
cmp ebx, ecx
je 0x1401b7fe6
mov r8, qword [rbp - 0x38]
test ebx, ebx
jne 0x1401b7fa2
test r8, r8
je 0x1401b7fff
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 0x1401b7fff
mov edx, 8
mov rcx, qword [rbp - 0x30]
test r8, r8
jne 0x1401b7fc9
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1401b7fe2
mov ecx, ebx
mov dword [rbp - 0x40], ebx
jmp 0x1401b7fea
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1401b7fe2
mov qword [rbp - 0x38], rax
mov ecx, ebx
mov dword [rbp - 0x40], ebx
jmp 0x1401b7fea
xor bl, bl
jmp 0x1401b8001
mov rax, qword [rbp - 0x38]
test ebx, ebx
jle 0x1401b7fff
mov r9, rbx
movsxd rdx, ecx
mov r8, r14
mov rcx, rax
call fcn.1402bb6a0
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test bl, bl
je 0x1401b819b
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x1401b803d
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 0x1401b819f
jmp 0x1401b806b
cmp dword [rbp - 0x40], 0x200
je 0x1401b8072
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 0x1401b819b
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x200
mov byte [rax + 0x1b6], 0xb0
mov eax, dword [rbp - 0x40]
cmp eax, 0x1b7
jle 0x1401b8091
mov rax, qword [rbp - 0x38]
mov byte [rax + 0x1b7], 0xb
mov eax, dword [rbp - 0x40]
cmp eax, 0x200
jge 0x1401b80ee
mov r8, qword [rbp - 0x38]
mov edx, 8
mov rcx, qword [rbp - 0x30]
test r8, r8
jne 0x1401b80cc
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1401b819f
mov dword [rbp - 0x40], 0x200
jmp 0x1401b80f2
mov r9d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1401b819b
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x200
jmp 0x1401b80f2
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x18]
test r8, r8
je 0x1401b81a3
cmp dword [rbp - 0x20], 0x200
jl 0x1401b81a3
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 0x1401b819b
mov rax, qword [rsi]
lea r8, [rbp - 0x48]
mov rdx, r15
mov rcx, rsi
call qword [rax + 0x60]
test al, al
je 0x1401b819b
lea rcx, str.SinowalEraser_r_n
call fcn.1401b34f0
mov bl, 1
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp - 0x38]
jmp 0x1401b81a5
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x18]
xor bl, bl
mov qword [rbp - 0x48], r13
test rax, rax
je 0x1401b81cd
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 0x1401b81cd
xor bl, bl
mov qword [rbp - 0x28], r13
test r8, r8
je 0x1401b81e2
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