Function at 0x140013960
Capabilities:
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x240], rax
lea rdx, str.reading
lea rcx, [rbp]
xor r8d, r8d
call fcn.14003da20
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
mov dword [rsp + 0x68], eax
movsd qword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.c0a0
xor ecx, ecx
mov r8, rax
mov r13, rax
mov qword [rsp + 0x48], rax
call fcn.140024210
mov r12d, eax
lea r15, str.c1a1
test eax, eax
jne 0x140013aac
mov r14d, dword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x30], r13
xor r13d, r13d
lea r8, [0x140001b00]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov rbx, rax
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8d, [r12 + 9]
mov edx, 0x209
xor ecx, ecx
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x10], r13
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov dword [rbp - 8], 7
mov dword [rbp - 4], 4
movaps xmmword [rbp - 0x60], xmm0
imul eax, dword [rsp + 0x64], 7
movups xmm0, xmmword [rbp - 0x10]
mov dword [rbp - 0x18], eax
lea rax, [rbp - 0x60]
lea rdx, str.c0a0
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea ecx, [r14 + 0xb]
movzx r9d, dil
movaps xmmword [rbp - 0x50], xmm1
mov r8, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
call fcn.14004e220
lea rcx, [rbp + 0x130]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbx, rax
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rbp + 0x20]
mov edx, 0x104
mov rsi, rax
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r9, rsi
xor edx, edx
mov rcx, rbx
mov r14, rax
mov qword [rbp], rax
mov qword [rsp + 0x28], rax
call fcn.140045520
mov r13, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, str.attendant
lea rcx, str.soup
mov rdx, rbx
mov r9, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], r15
call fcn.1400316a0
or rdi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140013b42
sub r14d, r13d
lea rdx, str.lamb
mov r8d, 8
sub r14d, esi
mov byte [rsp + 0x20], 0x40
sub r14d, ecx
sub r14d, 0xa
mov r9d, r14d
call fcn.140022050
mov qword [rbp - 0x80], rax
call fcn.1400333f0
movzx r13d, al
cmp al, r12b
jb 0x140013dab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, str.sherry
mov r9d, 0x20
movzx edx, r12b
movzx r8d, al
mov dword [rsp + 0x40], eax
call fcn.1400344f0
movzx r11d, byte [rsp + 0x40]
movzx r8d, r13b
mov dword [rsp + 0x70], r8d
movzx r9d, r12b
mov rcx, rdi
mov dword [rsp + 0x50], r11d
mov rsi, rax
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140013be0
mov r10, qword [rsp + 0x78]
mov r13, qword [rsp + 0x48]
imul ecx, r11d
lea eax, [r10*4]
mov rdx, rdi
sub ecx, eax
sub ecx, r8d
sub ecx, r13d
sub ecx, dword [rsp + 0x58]
nop
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140013c10
mov r12, qword [rbp + 0x10]
lea eax, [r9 + rcx]
add edx, eax
lea eax, [r12 + 0xb]
add edx, dword [rbp - 0x80]
add eax, edx
mov dword [rsp + 0x48], eax
mov rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x140013c34
imul eax, r10d
dec r8d
mov edx, 0x104
imul ecx, eax, 0xfffffff7
mov eax, r9d
imul eax, r11d
sub ecx, eax
mov eax, dword [rbp - 0x70]
imul eax, r12d
sub ecx, eax
mov rax, qword [rbp]
lea eax, [rcx + rax*4]
lea rcx, [rbp + 0x20]
sub eax, dword [rbp - 0x78]
add eax, r8d
add eax, r13d
mov dword [rbp - 0x60], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r8, rdi
mov qword [rbp - 0x58], rax
lea rax, str.c5a1
mov qword [rbp - 0x50], rax
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x140013c90
mov ecx, dword [rsp + 0x58]
movups xmm0, xmmword [rbp - 0x60]
mov esi, dword [rsp + 0x70]
mov edx, dword [rsp + 0x48]
lea eax, [rsi + rsi*2]
imul ecx, r12d
movaps xmmword [rbp - 0x30], xmm0
add eax, eax
sub ecx, eax
lea eax, [rcx + 0x11c]
lea rcx, [0x1400edfa4]
add eax, r8d
lea r8, [rbp - 0x30]
mov dword [rbp - 0x48], eax
movups xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x20], xmm1
call fcn.14003bb60
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140013ce0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rbp - 0x78]
mov r9, qword [rbp - 0x80]
movzx eax, dl
add dl, 0x4b
mov qword [rbp - 0x60], r9
imul eax, dword [rsp + 0x50]
lea ecx, [rax + rax*2]
mov eax, r13d
shl ecx, 5
sub eax, ecx
lea ecx, [rax*4 + 0x20]
lea eax, [r8 + r8*8]
sub ecx, eax
mov rax, qword [rsp + 0x58]
sub ecx, esi
sub ecx, r9d
sub ecx, r12d
add eax, ecx
xor ecx, ecx
add edi, eax
movzx eax, r13b
add edi, r14d
imul r14b
movzx ebx, al
shl bl, 4
sub bl, r8b
shl bl, 2
sub bl, byte [rsp + 0x78]
sub bl, byte [rbp - 0x70]
sub bl, byte [rsp + 0x40]
sub bl, r12b
add bl, dl
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea r8d, [rcx + 0xa]
mov edx, 0x3ba
mov dword [rbp - 0x58], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r8, [rbp - 0x30]
movups xmm0, xmmword [rbp - 0x60]
movups xmm1, xmmword [rbp - 0x50]
movzx edx, bl
mov ecx, edi
mov r9, rax
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
mov dword [rsp + 0x20], 1
call fcn.14003ad50
mov rax, r15
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret