Function at 0x1400911c0
Capabilities:
Copy file
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movsxd rsi, dword [rsp + 0x258]
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x30], r9
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x3c], esi
mov r12, rcx
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x140091210
lea r14d, [rcx + rdx]
mov rcx, qword [r9 + 8]
add r14d, esi
sub r14d, eax
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140091230
sub r14d, eax
mov rax, rdi
nop
inc rax
cmp byte [r8 + rax], 0
jne 0x140091240
mov r13d, dword [rsp + 0x250]
mov r15d, r12d
sub r15d, r13d
sub r15d, eax
cmp r14d, esi
jae 0x1400912ac
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x57
xor ecx, ecx
lea r8d, [rdx - 0x55]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0x16]
mov edx, 0x33f
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.overcharge
lea rcx, str.retina
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor r8d, r8d
mov edx, 0x1b4
xor ecx, ecx
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x376
lea r8d, [rcx + 0xd]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rdi
mov qword [rsp + 0x60], rax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400912f7
imul ecx, r13d
lea edx, [r12 + r12]
mov r8d, 0x140
lea eax, [rcx + rcx*2]
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], edx
mov r13d, dword [rcx]
add eax, eax
lea rcx, [rsp + 0x90]
sub eax, ebp
sub eax, 5
imul r13d, dword [rsp + 0x250]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x78], eax
imul eax, r12d, 0x31
sub r13d, eax
sub r13d, edx
xor edx, edx
sub r13d, esi
add r13d, r14d
mov dword [rsp + 0x7c], r13d
call fcn.1400e27d0
lea rdx, [rsp + 0x90]
lea rcx, str.inlay
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdx, qword [rsp + 0x30]
lea ecx, [r12 - 5]
add cl, cl
lea eax, [r12 + r12*2]
mov r8, rsi
sub eax, dword [rdx + 0x10]
sub cl, byte [rsp + 0x250]
sub cl, byte [rdx]
sub eax, ebp
lea edx, [rsi - 1]
sub eax, r14d
add edx, eax
movsx rax, cl
lea ecx, [rax*4]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x40], ecx
shr rax, 0x20
mov dword [rsp + 0x24], edx
mov r9d, edx
lea rdx, str.c0a3
imul eax, ecx
mov ecx, 7
sub ecx, eax
mov dword [rsp + 0x28], ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400913e0
imul eax, dword [rsp + 0x250]
imul ebp, r13d, 0xffffffc4
sub ebp, eax
mov rax, qword [rsp + 0x260]
sub ebp, dword [rsp + 0x48]
sub ebp, esi
mov rsi, qword [rsp + 0x50]
add ebp, r12d
add ebp, esi
add ebp, dword [rsp + 0x28]
add ebp, dword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov rax, qword [rsp + 0x260]
mov rcx, qword [rax + 0x20]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140091431
mov ecx, dword [rsp + 0x24]
inc eax
add ecx, 0xfffffffb
imul eax, r12d
sub eax, dword [rsp + 0x60]
sub eax, esi
mov rsi, rdi
sub eax, r14d
add eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
nop dword [rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140091460
lea eax, [r14 + r12*2]
add eax, eax
sub r13d, eax
sub r13d, 5
add esi, r13d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea r8d, [rcx + 5]
mov edx, 0x372
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x3b5
lea r8d, [rcx + 0xa]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r8, rax
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1400914a7
mov rdx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x20]
imul r15d, r14d
add eax, edx
shl eax, 2
sub r13d, eax
mov rax, qword [rsp + 0x260]
add r13d, 0xfffffffe
imul r15d, dword [rax + 0x28]
imul eax, r12d, 7
lea ecx, [r15 + r13*2]
add ecx, eax
lea eax, [rdx + 0x10]
imul eax, r8d
lea eax, [rax + rcx*2]
mov ecx, dword [rsp + 0x3c]
imul ecx, dword [rsp + 0x250]
add eax, ecx
mov rcx, qword [rsp + 0x30]
sub eax, dword [rcx + 0x18]
mov ecx, dword [rsp + 0x40]
imul ecx, dword [rsp + 0x38]
add eax, ecx
sub eax, edx
add eax, esi
add eax, ebp
add eax, dword [rsp + 0x58]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x24]
sub eax, edi
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret