Function at 0x140095e90
Capabilities:
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
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r15, qword [rsp + 0x288]
mov r14, qword [rsp + 0x280]
mov rsi, rcx
mov rbp, rdx
lea rcx, [rsp + 0xd0]
mov edx, 0x104
mov qword [rsp + 0x70], r15
mov r12, r9
mov qword [rsp + 0x80], r8
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
or rdi, 0xffffffffffffffff
mov rbx, rax
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x140095f00
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140095f10
imul eax, ecx
mov ecx, r15d
sub ecx, eax
mov rax, rdi
inc rax
cmp byte [rsi + rax], 0
jne 0x140095f25
add ecx, eax
mov dword [rsp + 0x78], ecx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0xc0], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15d, dword [rsp + 0xc0]
lea r13d, [rax + 0xb]
imul ecx, eax, 7
mov qword [rsp + 0x88], rax
lea eax, [rbx + rbx]
sub eax, ecx
sub eax, r15d
mov dword [rsp + 0x64], eax
cmp r13b, al
jae 0x140095fa0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
lea r8d, [rcx + 1]
mov edx, 0xa9
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx eax, r13b
mov ecx, eax
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r13, qword [rsp + 0x70]
mov rdx, r13
xor ecx, ecx
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rdi
mov qword [rsp + 0x98], rax
inc rcx
cmp byte [rcx + rbp], 0
jne 0x140095fe1
imul eax, dword [rsp + 0x60], 7
imul r15d, ebx
imul ecx, r13d
add r15d, r15d
sub r15d, eax
mov rax, rdi
sub r15d, ecx
sub r15d, dword [rsp + 0x88]
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140096010
add eax, 0xfffffec0
lea rcx, [rsp + 0xd0]
xor edx, edx
add eax, r15d
mov r8d, 0x140
mov dword [rsp + 0x68], eax
call fcn.1400e27d0
lea rdx, [rsp + 0xd0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rax, rdi
nop
inc rax
cmp byte [rax + rbp], 0
jne 0x140096050
mov r15, qword [rsp + 0x80]
mov rcx, rdi
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140096064
imul eax, ecx
mov ecx, r13d
sub ecx, eax
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140096080
sub ecx, eax
mov rax, rdi
nop
cmp byte [rsi + rax + 1], 0
lea rax, [rax + 1]
jne 0x140096090
lea r13d, [rax + 4]
mov edx, 0x18e
add r13d, ecx
xor ecx, ecx
lea r8d, [rcx + 0x1b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rsp + 0x60]
lea r8, [0x1400ed3f4]
mov qword [rsp + 0x80], rax
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x64]
mov rdx, r12
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x20], ecx
mov ecx, eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, rdi
nop dword [rax]
inc rdx
cmp byte [r12 + rdx], 0
jne 0x140096110
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140096120
imul edx, eax
mov eax, dword [rsp + 0x60]
add eax, 0x34
lea ecx, [rax + rax*2]
imul eax, r13d, 7
add ecx, eax
mov rax, qword [rsp + 0xa0]
sub eax, dword [rsp + 0x64]
sub ecx, dword [rsp + 0x78]
add ecx, dword [rsp + 0x98]
add eax, 2
lea edx, [rdx + rcx*2]
imul eax, dword [rsp + 0x88]
add edx, eax
mov rax, rdi
sub edx, dword [rsp + 0x80]
sub edx, dword [rsp + 0x90]
add edx, dword [rsp + 0x70]
add edx, ebx
nop dword [rax + rax]
inc rax
cmp byte [rax + rbp], 0
jne 0x140096180
sub edx, eax
mov rax, rdi
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x140096190
add edx, eax
nop dword [rax + rax]
cmp byte [r15 + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x1400961a0
lea eax, [rdi + rdx]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret