Function at 0x1400b9d20
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12d, dword [rsp + 0x218]
mov r15d, r8d
mov rdi, r9
sub r15d, r9d
mov qword [rsp + 0x68], r9
mov r14, r8
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x60], rdx
mov r13, rcx
add r15d, ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
mov qword [rsp + 0x78], rax
cmp r12d, r15d
jne 0x1400b9e98
movzx esi, r15b
shl sil, 2
sub sil, r14b
add sil, 2
add sil, r13b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx r14d, sil
lea ebp, [r14 + r13]
mov rbx, rax
add ebp, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx eax, byte [rsp + 0x70]
shl dil, 2
lea rcx, [0x1400ed3b4]
add bl, 2
imul byte [rsp + 0x60]
sub dil, al
sub dil, r15b
sub dil, sil
add dil, bpl
add dil, r12b
add dil, bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx eax, dil
xor edi, edi
lea r8, str.c0a0
lea rdx, [0x1400ed3b4]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], 2
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r12d
mov r9d, r12d
mov ecx, r14d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [rsp + 0x80]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r8, [0x140001b00]
mov r9d, ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea ecx, [r13 + 1]
movzx esi, ax
movzx eax, r14b
imul cl
lea rcx, str.c0a2
movzx edi, al
sub dil, r15b
sub dil, byte [rsp + 0x68]
add dil, r12b
add dil, bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
movzx ebp, dil
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp r15d, 8
je 0x1400b9f7a
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov edx, 0x3d3
lea r8d, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, r14d
add ebx, 0xfffffffa
mov edx, 0x1a4
imul eax, r13d
lea ecx, [rax + rsi*4]
sub ecx, ebp
sub ecx, r15d
add ebx, ecx
xor ecx, ecx
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov eax, ebx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
lea r8, [0x1400ed3b4]
lea rdx, str.c0a0
mov r9d, ebp
mov ecx, r12d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
cmp dil, 0x20
jne 0x1400b9fed
xor eax, eax
lea r8, str.c6a0
lea rdx, [0x1400ed3b4]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], r12d
mov r9d, ebp
mov ecx, esi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rdx, str.c0a0
lea rcx, [0x1400ed3f4]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
shl bl, 3
inc r15b
movzx eax, r14b
add bl, sil
add bl, bl
imul r15b
add bl, byte [rsp + 0x78]
add bl, bl
sub bl, al
movzx eax, r13b
imul byte [rsp + 0x60]
add bl, al
lea eax, [rsi + 0xe]
add eax, ebp
sub bl, al
sub bl, byte [rsp + 0x68]
lea eax, [r12 + rbx]
add al, dil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret