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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], 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
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rdi, 0xffffffffffffffff
mov r14, rdi
inc r14
cmp byte [rbx + r14], 0
jne 0x1400d7eb1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rdi
nop word [rax + rax]
inc rbp
cmp byte [rbx + rbp], 0
jne 0x1400d7ef0
mov rsi, rdi
nop dword [rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1400d7f00
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15, rax
cmp sil, bpl
ja 0x1400d7f4e
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1400d7f26
movzx eax, r14b
lea rcx, [rsp + 0x70]
imul dil
movzx r9d, al
movzx eax, sil
imul r15b
sub r9b, al
call fcn.1400db4d0
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
movzx r12d, sil
mov dword [rsp + 0x60], eax
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
mov r9d, r12d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
movsxd rdi, ebp
mov rcx, rbx
mov qword [rsp + 0x68], rdi
movzx r13d, r14b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, r13d
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov dword [rsp + 0x64], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp r15d, ebp
jae 0x1400d7fd8
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea rcx, [0x1400ed4d4]
mov r8d, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movzx eax, byte [rsp + 0x60]
movzx edi, sil
movzx esi, r14b
xor r14d, r14d
lea r8, [0x1400ed4d4]
mov r9d, ebp
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edi
mov rdx, rbx
mov ecx, esi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, qword [rsp + 0x68]
lea rdx, [0x1400ed4d4]
mov rcx, rax
mov r9, r12
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea r8, [0x140001b00]
mov r9, r15
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400ed4d4]
mov r9, r12
mov rcx, rax
mov r8, r13
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
movsxd rbx, eax
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r9d, dword [rsp + 0x64]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r14d
lea r8, str.c2a5
lea rdx, str.alcove
mov ecx, esi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8d, [r14 + 0x11]
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp r15d, esi
jne 0x1400d813d
lea r8d, [r14 + 0x11]
mov edx, 0x228
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov edx, 0x382
lea r8d, [rcx + 0xd]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret