Function at 0x1400b6f80
Capabilities:
Check for time delay via gettickcount
Copy file
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movsxd rdi, edx
cmp dil, 0x10
ja 0x1400b6fcb
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rdx, str.c0a0
lea rcx, str.rank
mov r8d, edi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea ebx, [rdi*4]
lea rdx, str.c0a0
lea rcx, str.c0a0
mov r8d, 0x10
lea r13d, [rbx + 0x14]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r15d, 4
sub r15d, ebx
sub r15d, dword [rsp + 0x320]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, dword [rsp + 0x80]
sub ecx, ebp
lea esi, [r13 - 0x42]
add ecx, r12d
add esi, ecx
cmp esi, edi
jge 0x1400b70d8
mov eax, dword [rsp + 0x320]
lea r8, [0x140001b00]
xor edx, edx
lea ebx, [rax*8]
xor ecx, ecx
sub ebx, esi
add ebx, ebx
sub ebx, r12d
xor r12d, r12d
add ebx, dword [rsp + 0x60]
lea r9d, [r12 + 0x10]
mov qword [rsp + 0x28], r12
add ebx, ebp
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x140001b00]
movsxd r9, ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
jmp 0x1400b70db
xor r12d, r12d
imul r14d, ebp
mov eax, esi
lea ebx, [r15 + 4]
imul r14d, dword [rsp + 0x320]
xor edx, edx
xor ecx, ecx
shl r14d, 4
sub eax, r14d
add ebx, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], edi
lea r8, [0x1400ed4fc]
lea rdx, str.demur
mov r9d, ebp
mov ecx, esi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0x1b0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movzx eax, byte [rsp + 0x320]
imul r13b
movzx ecx, al
mov al, 0xfa
imul bl
sub al, cl
sub al, 0x11
movsx eax, al
cmp r13d, eax
jl 0x1400b71a4
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [0x140001b00]
movsxd r9, esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rax, str.c4a1
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret