Function at 0x140081eb0
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r15, r9
mov qword [rsp + 0x58], r9
mov rbp, r8
mov rsi, rdx
mov r14, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
xor ecx, ecx
lea r8d, [rcx + 4]
mov edx, 0x13c
movsx rbx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea edx, [r14 + r14*2]
movsx r13, bl
shl edx, 4
mov qword [rsp + 0x30], rax
sub edx, r13d
add eax, edx
add eax, r12d
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x220], r14d
jle 0x140081f66
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x80]
lea rcx, [0x1400ed4fc]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rdi, 0xffffffffffffffff
mov rcx, rax
mov qword [rsp + 0x70], rax
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rsi + rdx], 0
jne 0x140081f80
imul edx, dword [r15 + 8]
mov eax, dword [rsp + 0x30]
mov r8d, 1
imul eax, r12d
imul eax, dword [rsp + 0x220]
add eax, eax
sub r8d, eax
lea eax, [rcx + rdx]
lea rcx, [rsp + 0x80]
xor edx, edx
imul r8d, r14d
add r8d, eax
lea eax, [r12*4]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x40], r8d
mov r8d, 0x140
imul eax, r12d
mov dword [rsp + 0x20], eax
call fcn.1400e27d0
lea rdx, [rsp + 0x80]
lea rcx, [0x1400ed4fc]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rsp + 0x80]
mov edx, 0x104
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, 0xffff
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov dword [rsp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r8, qword [rsp + 0x48]
movsx r9d, r8b
mov r11, rax
mov qword [rsp + 0x60], rax
movsx r10d, bl
add eax, r9d
mov rcx, rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x3c], r10d
nop word [rax + rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140082060
mov rdx, qword [rsp + 0x58]
mov rax, rdi
mov rdx, qword [rdx + 0x10]
inc rax
cmp byte [rdx + rax], 0
jne 0x140082075
imul ecx, eax
movsx eax, byte [rsp + 0x24]
lea r15d, [r15 + r15*2]
imul ecx, r14d
mov rbx, rdi
imul eax, r11d
imul eax, r9d
add ecx, eax
lea eax, [rcx + r10*4]
mov rcx, qword [rsp + 0x30]
add ecx, 0xfffffff7
sub eax, r12d
add eax, ecx
lea rcx, [0x1400ed4d4]
mov dword [rsp + 0x38], eax
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400820b7
imul ebx, eax
movsx rax, r8b
shl ebx, 2
sub ebx, eax
mov rax, rdi
sub ebx, r13d
mov r13, qword [rsp + 0x70]
sub ebx, r15d
sub ebx, dword [rsp + 0x20]
sub ebx, r13d
add ebx, r12d
inc rax
cmp byte [rax + rbp], 0
jne 0x1400820e4
sub ebx, eax
lea rdx, str.rain
lea rcx, [0x1400ee0dc]
mov r8d, r9d
sub ebx, 6
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov r8, rdi
mov edx, eax
nop
inc r8
cmp byte [rsi + r8], 0
jne 0x140082110
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rax + rbp], 0
jne 0x140082120
mov r9d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
imul r15d, dword [rsp + 0x68]
imul r8d, eax
lea eax, [r9 + r10]
imul ecx, r13d
imul ecx, dword [rsp + 0x30]
imul ecx, dword [rsp + 0x40]
lea ecx, [rcx + rax*2]
lea eax, [rbx*2]
add eax, r13d
add eax, eax
sub eax, r10d
add eax, edx
lea eax, [rax + rax*2]
lea edx, [rax + rcx*2]
mov eax, 0xa
sub eax, dword [rsp + 0x20]
imul eax, r12d
add edx, eax
mov rax, qword [rsp + 0x60]
imul eax, dword [rsp + 0x48]
sub edx, eax
lea eax, [r14*4]
add edx, r15d
sub edx, eax
sub edx, r8d
movsxd r8, dword [rsp + 0x24]
movsx rax, r8b
sub edx, eax
mov rax, rdi
sub edx, dword [rsp + 0x28]
sub edx, dword [rsp + 0x2c]
sub edx, ebx
sub edx, r9d
sub edx, dword [rsp + 0x20]
sub edx, dword [rsp + 0x220]
add edx, r8d
inc rax
cmp byte [rsi + rax], 0
jne 0x1400821c1
sub edx, eax
mov rax, rdi
nop
inc rax
cmp byte [rax + rbp], 0
jne 0x1400821d0
sub edx, eax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400821e4
sub edx, edi
lea eax, [rdx - 0x35]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret