Function at 0x140091940
Capabilities:
Copy file
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movzx r15d, r8b
movsx esi, cl
mov qword [rsp + 0x70], r9
lea edi, [r15 + rsi]
mov byte [rsp + 0x43], r15b
mov qword [rbp - 0x80], rdx
mov r14d, r15d
mov r13d, esi
mov dword [rsp + 0x54], edi
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r12d, r12d
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rbp - 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x58], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov dword [rbp - 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [rbp - 0x38], 4
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
lea rcx, [rbp + 0x40]
mov r9, rbx
mov edx, edi
movaps xmmword [rbp - 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x10], xmm1
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x28], eax
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp], xmm0
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm1
call fcn.1400dc010
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp], xmm0
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx eax, ax
mov dword [rsp + 0x48], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdx, rax
mov qword [rsp + 0x60], rax
movzx eax, bl
imul dil
movzx ecx, al
movzx eax, byte [rbp + 0x240]
imul cl
movzx r12d, al
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0x4c], eax
add al, 5
sub r12b, r15b
add r12b, sil
add r12b, al
movzx eax, dl
imul byte [rsp + 0x48]
movzx ecx, al
movzx eax, r12b
imul cl
shl al, 2
cmp sil, r15b
mov byte [rsp + 0x41], al
jle 0x140091ad3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rbp + 0x90]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rbp + 0x90]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rbp + 0x90]
lea rcx, str.c0a5
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
movzx eax, byte [rbp + 0x240]
imul sil
movzx ecx, al
movzx eax, bl
imul byte [rsp + 0x60]
sub cl, al
sub cl, byte [rsp + 0x50]
sub cl, byte [rsp + 0x48]
sub cl, byte [rbp - 0x60]
sub cl, byte [rsp + 0x41]
add cl, 7
mov byte [rsp + 0x40], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, 1
sub cl, byte [rsp + 0x48]
mov r8d, eax
mov dword [rsp + 0x6c], eax
movzx eax, byte [rsp + 0x60]
add sil, 0xa
imul cl
movzx ecx, byte [rsp + 0x40]
movzx edx, al
movzx eax, byte [rbp + 0x240]
shl cl, 2
imul byte [rsp + 0x4c]
sub dl, al
sub dl, cl
lea rcx, str.c0a6
sub dl, bl
add dl, r15b
add dl, sil
add dl, dil
add dl, byte [rsp + 0x41]
movzx esi, dl
mov byte [rsp + 0x42], dl
lea rdx, str.c0a6
lea eax, [rsi + r8]
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov r10, qword [rsp + 0x78]
mov r11, qword [rbp - 0x80]
movsx edx, byte [rsp + 0x40]
movzx r9d, byte [rsp + 0x41]
imul edx, ebx
mov r8, qword [rsp + 0x70]
mov r15d, eax
mov rax, qword [rsp + 0x60]
add r8d, 0xfffffffb
mov ecx, r10d
imul edi, eax
imul ecx, dword [rsp + 0x50]
add edx, ecx
lea ecx, [rax + rax*4]
lea eax, [r10 + rdi*2]
add edx, ecx
mov ecx, r9d
sub edx, r11d
add edx, r13d
add r8d, edx
mov edx, r13d
imul ecx, dword [rsp + 0x48]
mov dword [rsp + 0x58], ecx
lea ecx, [rax + rax*2]
mov eax, dword [rsp + 0x70]
imul edx, r11d
sub edx, ecx
mov dword [rsp + 0x68], r8d
imul eax, dword [rsp + 0x54]
sub edx, eax
movsx rax, byte [rsp + 0x40]
sub edx, esi
mov rsi, qword [rbp]
sub edx, eax
mov eax, dword [rsp + 0x4c]
sub edx, dword [rbp - 8]
add eax, 0xb
sub edx, dword [rsp + 0x50]
add edx, dword [rsp + 0x58]
add edx, eax
or rdi, 0xffffffffffffffff
mov rbx, rdi
mov dword [rsp + 0x60], edx
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140091c40
movzx eax, byte [rsp + 0x42]
imul r14d, r11d
sub r14d, eax
mov ecx, eax
movsx rax, byte [rsp + 0x40]
sub r14d, eax
lea eax, [r13 - 3]
add r14d, dword [rsp + 0x58]
add eax, r14d
mov r14d, r15d
add ebx, eax
lea eax, [rbx*4]
sub r14d, eax
sub r14d, edx
sub r14d, r8d
cmp r8d, ecx
jne 0x140091cc2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov edx, 0x23d
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rsp + 0x68]
movzx r9d, byte [rsp + 0x41]
mov r10, qword [rsp + 0x78]
mov r11, qword [rbp - 0x80]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140091cc2
shl r15b, 3
mov al, 0x37
sub r14b, 0x25
add r15b, bl
imul dil
movzx edx, al
movzx eax, byte [rsp + 0x70]
shl r15b, 2
imul byte [rsp + 0x54]
movzx ecx, al
movzx eax, byte [rbp + 0x240]
imul cl
sub r15b, al
movzx eax, byte [rsp + 0x4c]
add dl, r15b
imul byte [rsp + 0x6c]
movzx ecx, al
movzx eax, byte [rsp + 0x42]
imul cl
add dl, al
movzx eax, r12b
imul r9b
add al, dl
sub al, r8b
sub al, byte [rsp + 0x50]
sub al, r11b
sub al, byte [rbp - 0x60]
add al, byte [rsp + 0x60]
add al, r14b
add al, byte [rsp + 0x48]
add al, byte [rsp + 0x43]
add al, r13b
add al, byte [rsp + 0x40]
add al, r10b
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret