Function at 0x140088750
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, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movsx r14, cl
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x1a0]
mov edx, 0x104
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x40], rax
lea ebx, [r14 + rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
mov r9, r14
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov rsi, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x90]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov byte [rsp + 0x30], bl
mov r15, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx edi, bl
mov ebp, edi
lea rcx, str.bafflement
mov r12, rax
sub ebp, eax
add ebp, 3
add ebp, r15d
movsxd r13, ebp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.bafflement
mov r9, r14
mov r8, r13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor ecx, ecx
mov edx, 0xe9
lea r8d, [rcx + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x335
lea r8d, [rcx + 4]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x58], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, r15d
sub ecx, edi
sub ecx, r12d
sub ecx, dword [rsp + 0x38]
sub ecx, dword [rsp + 0x48]
add ecx, dword [rsp + 0x40]
add ecx, ebp
mov dword [rsp + 0x64], ecx
cmp ebp, edi
jl 0x14008891f
xor eax, eax
lea r8, [0x140001b00]
mov r9, r13
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
mov r9, r14
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 9]
mov edx, 0x305
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, str.bafflement
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0x385
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
imul ebx, ebp
movsx eax, r14b
imul edi, r12d
sub ebx, edi
add ebx, eax
mov dword [rsp + 0x78], ebx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx esi, r14b
sub sil, byte [rsp + 0x50]
add sil, 2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.bafflement
lea rcx, str.bafflement
mov r8d, ebp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movzx ecx, al
mov edi, eax
shl cl, 2
add dil, cl
sub dil, r15b
add dil, bl
add dil, sil
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
cmp dil, al
jne 0x1400889d1
mov edx, 7
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x1ad
lea r8d, [rcx + 0x1a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x90]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
movzx eax, byte [rsp + 0x38]
add sil, 2
imul r15b
movzx ecx, al
movzx eax, byte [rsp + 0x30]
imul cl
movzx ecx, al
movzx eax, byte [rsp + 0x58]
imul byte [rsp + 0x64]
movzx edx, al
add dl, dl
sub dl, cl
movzx eax, dl
shl al, 2
add dl, al
mov al, 7
add dl, dl
imul r12b
add al, dl
sub al, byte [rsp + 0x78]
sub al, bl
sub al, dil
sub al, byte [rsp + 0x40]
sub al, byte [rsp + 0x48]
add al, bpl
add al, r14b
add al, sil
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x2c0]
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