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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, qword [rbp + 0x240]
mov r15, rcx
lea rcx, str.coat
mov r14d, r9d
mov dword [rsp + 0x48], r9d
mov r12, r8
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x78], r8
mov r13, rdx
call fcn.1400d37b0
mov esi, edi
mov rbx, rax
mov qword [rbp - 0x30], rax
imul esi, r12d
imul esi, r15d
imul esi, r14d
add esi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, r15d
sub ecx, edi
mov r14d, eax
lea rax, str.farmer
mov qword [rsp + 0x30], rax
add ecx, 0xfffffffc
lea rax, [rbp - 0x20]
add ecx, ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], 2
lea r9, str.saviour
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, str.rack
mov r8d, r14d
mov edx, esi
mov dword [rsp + 0x20], 1
call fcn.14008f980
movzx ecx, bl
mov dword [rsp + 0x4c], eax
shl cl, 2
movzx eax, r15b
imul r12b
movzx edi, al
mov al, 7
imul r14b
add dil, al
add dil, cl
mov rcx, rbx
sub dil, byte [rsp + 0x50]
add dil, 3
add dil, sil
call qword [sym.imp.KERNEL32.dll_LockResource]
lea r9, str.c1a6
lea r8, str.mustard
xor edx, edx
movzx ecx, dil
mov qword [rbp - 0x20], rax
mov dword [rsp + 0x20], eax
call fcn.140068b90
mov byte [rsp + 0x40], al
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp + 0x80]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov r8d, dword [rsp + 0x4c]
cmp r8d, dword [rsp + 0x48]
ja 0x14002fffc
movsx rax, byte [rsp + 0x40]
add r8d, 0xfffffffc
imul ecx, r14d, 7
mov edx, r13d
imul edx, r15d
add edx, ecx
movzx ecx, dil
sub edx, eax
lea eax, [r12 + rdx]
lea rdx, str.dirndl
add ecx, eax
add r8d, ecx
lea rcx, str.washtub
add r8d, ebx
add r8d, esi
call fcn.140086d00
call fcn.140075100
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, str.c4a0
lea r9, str.terrapin
mov qword [rsp + 0x30], rdx
lea rdx, str.c5ret
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rdx
lea rdx, str.question
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rdx, rax
call fcn.140086ec0
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
movzx ebx, r14b
mov r12d, r13d
mov edx, eax
mov dword [rsp + 0x44], eax
movzx eax, byte [rsp + 0x50]
imul r12d, r15d
shl bl, 2
imul r13b
sub bl, al
movzx eax, dil
sub bl, byte [rsp + 0x68]
lea ecx, [rax + rax*4]
lea eax, [rcx + rsi*4]
mov rcx, qword [rsp + 0x78]
add bl, r15b
sub eax, dword [rsp + 0x48]
add ecx, 6
movzx r8d, bl
add eax, r12d
add eax, ecx
xor ecx, ecx
mov r9d, eax
mov dword [rsp + 0x58], eax
call fcn.14007d210
lea rdx, str.c2a2
lea rcx, str.c1a3
mov byte [rsp + 0x41], al
call fcn.140094c80
lea r8, [0x140001b00]
mov rdi, rax
xor eax, eax
movzx r9d, bl
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, str.faucet
mov r8, rax
mov rcx, r13
mov qword [rsp + 0x60], rax
call fcn.14005f880
mov r9, rax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x44]
cmp r14d, eax
jbe 0x1400300dc
mov rcx, qword [rsp + 0x60]
lea r8, str.cameo
lea rdx, str.uniform
call fcn.1400d2190
mov eax, dword [rsp + 0x44]
mov r9, qword [rsp + 0x70]
movzx edx, bl
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x44], edx
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400300e7
mov rdi, qword [rbp - 0x30]
imul ecx, eax
mov r8d, r12d
imul r8d, dword [rsp + 0x48]
imul ecx, edx
mov eax, r14d
sub r8d, ecx
imul eax, edi
lea ebx, [r8 + rax*4]
sub ebx, r13d
sub ebx, dword [rsp + 0x4c]
add ebx, 0xfffffff6
add ebx, r9d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rbp + 0x80]
mov dword [rbp - 0x10], eax
lea rax, str.cleric
mov edx, 0x104
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, dword [rsp + 0x44]
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
movsx edx, byte [rsp + 0x40]
imul edx, dword [rbp - 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x10], rax
mov r8d, 0x140
imul eax, edi
sub edx, eax
mov eax, r13d
imul eax, dword [rsp + 0x70]
lea ecx, [rax + rax*2]
imul eax, r14d, 0xe
add ecx, ecx
sub edx, ecx
lea rcx, [rbp + 0x80]
add edx, eax
lea eax, [r15 + 1]
sub edx, dword [rsp + 0x48]
sub edx, dword [rsp + 0x4c]
add edx, dword [rsp + 0x78]
add eax, edx
xor edx, edx
mov dword [rbp + 0x18], eax
call fcn.1400e27d0
lea rdx, [rbp + 0x80]
lea rcx, str.demur
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [rbp - 0x80], eax
lea rax, str.cord
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [rbp - 0x68], 8
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x30], xmm0
mov qword [rbp - 0x70], rax
movzx eax, byte [rsp + 0x41]
mov qword [rbp - 0x60], 0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x40], xmm1
shl eax, 2
mov qword [rbp - 0x40], r13
sub r12d, eax
lea eax, [rsi - 5]
sub r12d, r13d
sub r12d, dword [rsp + 0x50]
sub r12d, dword [rsp + 0x58]
sub r12d, r14d
add r12d, dword [rsp + 0x44]
add r12d, edi
add eax, r12d
mov dword [rbp - 0x58], eax
lea rax, str.july
mov qword [rbp - 0x50], rax
lea rax, str.c8a0
movaps xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x48], rax
movaps xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x50], xmm0
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x70], xmm0
movups xmm0, xmmword [rbp - 0x10]
lea r9, [rbp + 0x30]
lea r8, str.compulsion
lea rdx, [rbp - 0x80]
mov ecx, ebx
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbp]
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rbp + 0x20]
movsd qword [rbp - 0x50], xmm1
call fcn.1400bf9b0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret