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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
movsx r15, cl
or rbx, 0xffffffffffffffff
mov r14, r15
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140098004
movsx rax, r15b
add ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, r14d
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0xa]
mov edx, 0x1d6
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r13d, [r14 - 2]
movzx r12d, r15b
add r13b, r15b
lea rdx, str.clasp
lea rcx, [0x1400ed3f4]
add r13b, dil
mov r8d, r12d
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x60], r13b
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
lea r8d, [rcx + 7]
mov edx, 0x23d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 0x1b]
mov edx, 0x3e3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, esi
lea r8, [0x1400ed3f4]
mov rdi, rax
xor eax, eax
lea rdx, [0x1400ed3f4]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebx
mov r9d, esi
mov ecx, ebx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0x4f
lea r8d, [rdx - 0x3b]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, r14d
mov edx, 0x62
sub eax, r14d
lea r8d, [rdx - 0x48]
xor ecx, ecx
sub eax, 2
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx r13d, r13b
mov eax, r13d
add edi, 0xfffffffb
imul eax, dword [rsp + 0x68]
add eax, edi
mov dword [rsp + 0x64], eax
movzx eax, byte [rsp + 0x70]
sub al, r14b
sub al, 2
add al, r15b
add al, sil
movzx esi, al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov edi, eax
imul edi, esi
imul edi, ebp
cmp ebx, r13d
jbe 0x140098190
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov edx, 0x2db
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
lea rcx, str.master
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x39e
lea r8d, [rcx + 0xc]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx rax, byte [rsp + 0x60]
xor ebp, ebp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r13d
lea r8, [0x1400ed3f4]
lea rdx, [0x1400ed3f4]
mov r9d, edi
mov ecx, r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
lea rcx, str.clasp
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea edx, [rbp + 0x54]
lea r8d, [rbp + 0x19]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8d, [rbp + 0xc]
mov edx, 0x124
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
movsxd rax, edi
lea r8, str.clasp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
lea rdx, str.clasp
mov r9d, r12d
mov ecx, edi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp ebx, 2
jae 0x1400982dc
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r8d, [rbp + 3]
mov edx, 0x3e6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8, [0x140001b00]
mov r9, r14
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
lea rax, str.c8a0
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret