Function at 0x14000d680
Capabilities:
Copy file
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
or rdi, 0xffffffffffffffff
mov rsi, rdx
mov r15, rcx
mov r14, rdi
mov dword [rbp - 0x40], ecx
inc r14
cmp byte [rdx + r14], 0
jne 0x14000d6c0
lea rax, [0x1400ed3f4]
imul r14d, r15d
lea rcx, [rbp + 0x80]
xor r12d, r12d
xor edx, edx
mov r8d, 0x140
mov dword [rbp - 0x3c], r14d
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r12
call fcn.1400e27d0
lea rdx, [rbp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rbp + 0x80]
xor edx, edx
mov r8d, 0x140
mov qword [rbp - 0x28], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rbp - 0x10], r12
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov qword [rbp - 0x18], rax
lea rdx, str.star
lea rcx, [rbp + 0x40]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rbp - 0x20]
movsd xmm1, qword [rbp - 0x10]
movaps xmmword [rbp + 0x60], xmm0
movsd qword [rbp + 0x70], xmm1
call fcn.14001d950
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [r15 - 4]
mov r13, rax
mov qword [rbp - 0x48], rax
lea rax, [0x1400ed3f4]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x40], ecx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 0x50], rax
lea rax, str.c0a1
lea r8d, [r12 + 0xd]
mov edx, 0xc4
xor ecx, ecx
mov dword [rbp + 0x58], r12d
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [0x1400ed878]
movups xmm0, xmmword [rbp + 0x40]
movups xmm1, xmmword [rbp + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x64], eax
lea rax, str.ticket
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x60]
movsd xmm1, qword [rbp + 0x70]
lea r8, [0x1400ed3f4]
lea rdx, [rbp]
mov rcx, r13
movaps xmmword [rbp + 0x20], xmm0
movsd qword [rbp + 0x30], xmm1
mov qword [rsp + 0x20], rax
call fcn.140025660
mov rcx, rdi
mov qword [rsp + 0x78], rax
inc rcx
cmp byte [rbx + rcx], r12b
jne 0x14000d827
shl ecx, 2
mov edx, r15d
sub edx, ecx
sub edx, eax
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rsi + rax], r12b
jne 0x14000d840
add edx, 3
mov r9d, 1
lea r8, str.contribution
add eax, edx
lea ecx, [r9 + 0xf]
mov rdx, r13
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x20], eax
call fcn.14004d1f0
mov dword [rsp + 0x68], eax
mov rdx, rdi
inc rdx
cmp byte [rbx + rdx], r12b
jne 0x14000d876
movzx ecx, r13b
add cl, cl
lea eax, [rcx + r13]
xor ecx, ecx
add dl, al
movzx eax, byte [rbp - 0x28]
lea r8d, [rcx + 0xc]
shl dl, 2
imul r15b
sub al, dl
mov edx, 0x37c
dec al
mov byte [rsp + 0x60], al
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsxd rdx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x6c]
mov r12, rax
mov qword [rbp - 0x50], rax
xor eax, eax
mov r9d, edx
lea r8, [0x1400ed3f4]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x40], rdx
lea rdx, str.ticket
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
movzx edx, byte [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x78], rax
lea rax, str.c0ret
lea r9, str.view
lea rcx, str.c1a4
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.14002dc90
mov r10d, dword [rsp + 0x64]
movzx r12d, al
cmp al, r10b
jae 0x14000d94b
call fcn.140024e60
mov r10d, dword [rsp + 0x64]
lea rax, str.igloo
movzx r12d, r12b
mov qword [rbp], rax
mov rax, qword [rbp - 0x50]
mov dword [rsp + 0x74], r12d
lea r11d, [rax*4]
mov rax, rdi
mov dword [rbp - 0x70], r11d
inc rax
cmp byte [rbx + rax], 0
jne 0x14000d972
add eax, 3
mov rdx, rdi
imul eax, r13d
add eax, dword [rbp - 0x78]
shl eax, 2
nop dword [rax + rax]
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14000d990
mov r8d, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x6c]
imul edx, r15d
sub edx, eax
mov eax, r8d
imul eax, r9d
sub edx, eax
mov eax, dword [rbp + 0x50]
lea ecx, [rax + rax*8]
lea eax, [rdx + rcx*2]
xor ecx, ecx
lea rdx, str.ticket
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], r8d
sub eax, r11d
mov dword [rsp + 0x30], r8d
add eax, r12d
mov dword [rsp + 0x28], r9d
add eax, r10d
lea r8, str.star
mov ecx, 1
add eax, r14d
mov dword [rsp + 0x20], r12d
mov dword [rbp + 8], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
movsx r14, byte [rsp + 0x60]
mov rdx, r14
mov r8d, r13d
mov qword [rbp + 0x10], rax
shl edx, 2
mov rax, rdi
mov qword [rbp - 0x60], rdx
imul r8d, dword [rsp + 0x78]
mov dword [rsp + 0x70], r8d
inc rax
cmp byte [rsi + rax], 0
jne 0x14000da32
imul eax, r15d
mov rcx, rdi
shl eax, 2
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14000da45
imul ecx, r13d
sub eax, ecx
sub eax, r8d
sub eax, edx
sub eax, dword [rsp + 0x64]
add eax, r12d
mov r12, qword [rbp - 0x50]
add eax, 0xb
add eax, r12d
mov dword [rbp + 0x18], eax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea edx, [r12 + r12*4]
movzx eax, ax
mov rcx, rdi
mov dword [rbp + 0x1c], eax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14000da80
mov r8, qword [rbp - 0x78]
mov eax, r15d
mov qword [rbp + 0x28], r13
sub eax, edx
sub eax, r8d
sub eax, r13d
add eax, dword [rbp - 0x20]
add eax, dword [rsp + 0x78]
sub eax, ecx
mov rcx, rdi
sub eax, 0x30
mov dword [rbp + 0x20], eax
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14000dab0
mov r10d, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x6c]
movsx eax, r14b
lea r14d, [r15 + 0xc]
imul ecx, r10d
imul eax, r9d
sub ecx, eax
sub ecx, edx
sub ecx, r8d
mov r8, rdi
add r14d, ecx
mov dword [rsp + 0x78], r14d
inc r8
cmp byte [rbx + r8], 0
jne 0x14000dae5
mov eax, r13d
mov r13d, dword [rsp + 0x68]
mov ecx, r15d
lea rdx, str.star
imul eax, r10d
add eax, 2
lea eax, [rax + rax*2]
add eax, eax
sub ecx, eax
mov rax, qword [rbp - 0x60]
imul eax, r13d
sub ecx, eax
mov eax, dword [rsp + 0x74]
sub ecx, dword [rsp + 0x70]
sub ecx, r12d
add eax, ecx
mov rcx, rsi
add r8d, eax
add r8d, r9d
mov dword [rsp + 0x7c], r8d
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea r9, [rbp - 0x60]
lea rcx, [rbp - 0x40]
movsd xmm0, qword [rsp + 0x78]
movups xmm1, xmmword [rbp + 0x10]
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x58], eax
lea rax, str.panties
movsd qword [rbp - 0x60], xmm0
movups xmm0, xmmword [rbp]
movaps xmmword [rbp - 0x30], xmm1
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rbp + 0x20]
mov qword [rsp + 0x20], r12
movaps xmmword [rbp - 0x20], xmm0
call fcn.140044ca0
mov rdx, rdi
mov dword [rsp + 0x70], eax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14000db93
mov rax, rdi
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x14000dba0
imul ecx, dword [rsp + 0x64], 0xffffffee
imul edx, eax
mov eax, dword [rsp + 0x74]
add r13d, 0xfffffffa
imul eax, dword [rbp + 0x18]
sub ecx, eax
lea eax, [r15 + rdx]
mov edx, 0x12b
add ecx, eax
add ecx, r14d
add ecx, r12d
add r13d, ecx
xor ecx, ecx
lea r8d, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rdi
mov r14, rax
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14000dbe5
add sil, sil
mov al, 7
mov ecx, 1
imul byte [rsp + 0x70]
sub cl, al
movzx eax, r12b
imul cl
add sil, al
movzx eax, byte [rsp + 0x68]
imul byte [rsp + 0x6c]
add sil, al
sub sil, byte [rbp - 0x80]
sub sil, byte [rsp + 0x60]
add sil, 3
add sil, byte [rbp - 0x48]
add sil, byte [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea r9, [0x1400ed3f4]
mov dword [rsp + 0x28], eax
mov r12, rax
lea rax, str.himalayan
movzx r8d, sil
mov rdx, r14
mov ecx, r13d
mov qword [rsp + 0x20], rax
call fcn.14005d160
xor ecx, ecx
lea r8d, [rcx + 2]
mov edx, 0x315
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r13, rax
nop
inc rdi
cmp byte [rbx + rdi], 0
jne 0x14000dc70
mov eax, r14d
movzx ebx, sil
imul eax, dword [rsp + 0x74]
imul ecx, eax, 7
sub ebx, ecx
mov rcx, r14
sub ebx, dword [rbp - 0x70]
sub ebx, dword [rbp - 0x78]
sub ebx, dword [rsp + 0x68]
add ebx, r15d
add ebx, r12d
add ebx, dword [rbp - 0x48]
sub ebx, edi
call qword [sym.imp.KERNEL32.dll_LockResource]
lea r9, str.interview
lea r8d, [rbx + 2]
lea rcx, str.coil
mov rdx, r13
mov dword [rsp + 0x20], eax
call fcn.14005d920
call fcn.140033980
call fcn.140024e60
lea rax, str.c3a3
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret