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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov r15, qword [rbp + 0x70]
lea eax, [rdx + rcx]
mov r13d, ecx
mov dword [rsp + 0x60], eax
xor ecx, ecx
mov eax, r13d
sub eax, edx
mov rdi, r8
mov r8d, edx
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x68], eax
movzx edx, r9b
mov eax, edx
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x50], edx
imul eax, r15d
mov dword [rsp + 0x40], eax
imul eax, r13d
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x6c], eax
mov eax, r13d
sub eax, edx
or rsi, 0xffffffffffffffff
mov rbx, rsi
mov dword [rsp + 0x70], eax
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], cl
jne 0x14003e570
add ebx, r13d
lea r12, [0x1400ed4fc]
mov qword [rbp - 0x80], rcx
add ebx, r8d
mov qword [rsp + 0x78], r12
mov rcx, rsi
mov dword [rsp + 0x74], ebx
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14003e595
movzx eax, r13b
mov r14, rsi
imul cl
add al, r15b
add al, r9b
mov byte [rbp + 0x68], al
inc r14
cmp byte [rdi + r14], 0
jne 0x14003e5b0
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
imul r14d, edx
lea rcx, [rbp - 0x30]
movzx edx, al
add r14d, r13d
mov r8d, r14d
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x10], xmm0
call fcn.140080bb0
mov dword [rsp + 0x4c], eax
cmp r14d, r13d
ja 0x14003e5fd
mov rcx, r15
call fcn.140072f70
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov r9, r15
mov r8, r12
movzx eax, ax
mov ecx, 0x10
mov qword [rsp + 0x20], r12
mov edx, eax
mov dword [rsp + 0x48], eax
call fcn.140071090
xor ecx, ecx
mov edx, 0x1fd
lea r8d, [rcx + 0x19]
mov r12, rax
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rax
mov qword [rbp - 0x70], rax
call fcn.1400b94f0
mov r15, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rsi
mov qword [rbp - 0x68], rax
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14003e655
mov rax, rsi
inc rax
cmp byte [r12 + rax], 0
jne 0x14003e662
mov r9d, dword [rsp + 0x48]
mov r8, qword [rbp + 0x70]
imul ecx, eax
mov eax, dword [rsp + 0x4c]
add ecx, ecx
mov edx, r9d
imul edx, r8d
imul eax, dword [rsp + 0x44]
sub edx, eax
mov rax, rsi
sub edx, ecx
add edx, dword [rsp + 0x40]
add edx, r13d
movsx r13d, byte [rbp + 0x68]
add edx, dword [rbp + 0x58]
mov dword [rsp + 0x44], edx
inc rax
cmp byte [r12 + rax], 0
jne 0x14003e6a4
mov r12d, dword [rbp - 0x70]
mov ecx, dword [rbp + 0x50]
sub r12d, r13d
sub r12d, dword [rsp + 0x50]
sub r12d, r14d
add r12d, r9d
add r12d, r8d
add r12d, ecx
sub r12d, eax
mov rax, rsi
nop
inc rax
cmp byte [r15 + rax], 0
jne 0x14003e6d0
add r12d, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rsi
mov r8, rax
mov qword [rbp - 0x58], rax
nop dword [rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14003e6f0
mov rdx, qword [rbp + 0x70]
imul r13d, ebx
mov ebx, dword [rbp + 0x50]
sub r13d, dword [rsp + 0x4c]
mov rax, rsi
add r13d, dword [rbp - 0x70]
add r13d, dword [rsp + 0x48]
add r13d, edx
add r13d, ebx
sub r13d, ecx
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x14003e720
mov rcx, qword [rbp - 0x68]
mov r9, rdx
mov edx, dword [rsp + 0x44]
mov byte [rsp + 0x30], 4
add r13d, 0xfffffffc
add eax, r13d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r8d, r12d
mov dword [rsp + 0x40], eax
call fcn.140072ad0
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r8, [0x140001b00]
mov qword [rbp - 0x50], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9d, [rax + 0x10]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x70]
lea r8d, [rcx + 6]
mov edx, 0x1eb
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, qword [rbp - 0x40]
movups xmm0, xmmword [rbp - 0x30]
movsd xmm1, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x50]
lea r8, [rsp + 0x60]
mov r9, rax
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
mov qword [rbp - 0x60], rax
call fcn.1400a2d50
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x48]
mov r9, rax
mov qword [rbp - 0x48], rax
cmp r10d, r11d
jb 0x14003e8dc
lea rax, str.typewriter
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rsi
mov qword [rsp + 0x78], rax
nop dword [rax + rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x14003e820
imul ecx, dword [rbp - 0x60]
mov rax, qword [rbp - 0x58]
imul ecx, dword [rsp + 0x40]
lea r8d, [rax*2 + 0xe]
mov rax, rsi
sub r8d, ecx
inc rax
cmp byte [rdi + rax], 0
jne 0x14003e846
imul eax, ebx
mov rbx, qword [rbp - 0x48]
lea rcx, [0x1400ed4fc]
add r8d, eax
movsx rax, byte [rbp + 0x68]
add r8d, eax
sub r8d, ebx
add r8d, r14d
add r8d, dword [rsp + 0x54]
mov dword [rbp - 0x80], r8d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rdx, [0x1400ed4fc]
mov r8d, r12d
mov rcx, r15
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rcx, qword [rbp - 0x68]
mov r8, rbx
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movzx r9d, al
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x10], xmm0
call fcn.1400baa70
mov ebx, dword [rbp + 0x50]
mov r9, qword [rbp - 0x48]
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x48]
mov rcx, rsi
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14003e8e0
movsx rax, byte [rbp + 0x68]
mov r8, qword [rbp + 0x70]
lea edx, [r12 + 1]
imul ecx, eax
mov rax, rsi
imul ecx, dword [rsp + 0x50]
imul ecx, dword [rsp + 0x54]
add edx, ecx
imul edx, r8d
nop dword [rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x14003e910
imul eax, dword [rbp - 0x40]
imul eax, dword [rbp - 0x50]
sub edx, eax
mov rax, qword [rbp - 0x68]
imul eax, dword [rsp + 0x44]
sub edx, eax
mov rax, rsi
inc rax
cmp byte [r15 + rax], 0
jne 0x14003e933
mov rcx, qword [rbp]
inc rsi
cmp byte [rcx + rsi], 0
jne 0x14003e941
imul r9d, dword [rbp - 0x60]
imul eax, esi
imul eax, dword [rbp - 0x70]
add edx, eax
mov eax, 5
sub eax, r11d
add edx, r9d
lea eax, [rdx + rax*2]
sub eax, r10d
sub eax, dword [rsp + 0x4c]
add eax, dword [rbp - 0x58]
add eax, r14d
add eax, ebx
mov rbx, qword [rsp + 0x160]
add eax, dword [rbp + 0x58]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret