Function at 0x1400205a0
Capabilities:
Create thread
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x120], rax
or rsi, 0xffffffffffffffff
mov eax, edx
mov dword [rsp + 0x44], edx
mov r14, rsi
mov rdi, rcx
inc r14
cmp byte [rcx + r14], 0
jne 0x1400205e0
imul r14d, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r8, [0x1400ed4d4]
mov edx, r14d
xor ecx, ecx
mov r9, rax
mov qword [rsp + 0x28], 0
mov r13, rax
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x20], 0x20
call fcn.140061240
lea rbx, str.c0a2
movzx r12d, al
mov byte [rsp + 0x40], al
cmp r14d, 0x20
jne 0x140020815
mov r15, rsi
nop word [rax + rax]
inc r15
cmp byte [rdi + r15], 0
jne 0x140020640
sub r15d, 0x1e
mov qword [rsp + 0x60], r13
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x140020656
xor ecx, ecx
add eax, 2
mov edx, 0x3a1
lea r8d, [rcx + 0x1a]
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r12, rsi
mov rcx, rax
mov qword [rsp + 0x50], rax
inc r12
cmp byte [rdi + r12], 0
jne 0x140020682
mov eax, dword [rsp + 0x44]
movaps xmm0, xmmword [rsp + 0x60]
lea r9, [rsp + 0x60]
add eax, 0xffffffe0
movzx r8d, r13b
mov edx, r15d
movdqa xmmword [rsp + 0x60], xmm0
add r12d, eax
lea rax, [0x1400ed4d4]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov qword [rsp + 0x20], rax
call fcn.1400c9150
mov r13, rsi
mov r8, rax
inc r13
cmp byte [rdi + r13], 0
jne 0x1400206d1
mov rax, rsi
nop
inc rax
cmp byte [r8 + rax], 0
jne 0x1400206e0
add r13b, al
movzx eax, byte [rsp + 0x50]
movzx ecx, r15b
add al, al
sub cl, al
add r13b, cl
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140020700
mov rdx, rsi
nop dword [rax]
inc rdx
cmp byte [r8 + rdx], 0
jne 0x140020710
add ecx, r12d
mov r12, qword [rsp + 0x50]
add ecx, edx
mov eax, r12d
sub eax, dword [rsp + 0x44]
add eax, 4
add eax, ecx
mov rcx, rsi
mov dword [rbp - 0x40], eax
inc rcx
cmp byte [r8 + rcx], 0
jne 0x140020736
movzx eax, byte [rsp + 0x48]
mov edx, 0xfffffffc
imul ecx, eax
mov rax, rsi
sub edx, ecx
sub edx, r15d
inc rax
cmp byte [rdi + rax], 0
jne 0x140020755
add edx, eax
mov dword [rbp - 0x3c], edx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0x16
mov qword [rbp - 0x38], rax
lea rax, str.blood
lea r8d, [rdx - 0x14]
xor ecx, ecx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8, [0x140001b00]
xor edx, edx
mov qword [rbp - 0x20], rax
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea r9d, [rax + 0x20]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov dword [rbp - 0x10], eax
mov rax, rsi
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbp - 0x20]
movsd xmm1, qword [rbp - 0x10]
movaps xmmword [rbp - 0x70], xmm0
movsd qword [rbp - 0x60], xmm1
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400207e4
sub r12b, byte [rsp + 0x48]
lea rdx, [rsp + 0x70]
movzx ecx, r13b
lea r8d, [r12 + rax]
add r8b, 0x1e
call fcn.1400ab860
mov r13, qword [rsp + 0x48]
movzx r12d, byte [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r15, rax
call fcn.1400c4620
mov r9, rax
test r15b, r15b
je 0x140020870
mov r8, rsi
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x140020830
movsx eax, r12b
movzx ecx, r15b
imul r8d, r14d
imul ecx, eax
mov rax, rsi
sub r8d, ecx
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x140020850
lea rdx, [0x1400ed4d4]
lea rcx, str.blood
add r8d, eax
call fcn.140086d00
lea rax, str.flare
lea r9, str.atelier
lea r8, str.c3ret
mov qword [rsp + 0x30], rax
lea rax, str.altitude
lea rdx, str.snakebite
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400b86d0
mov ecx, r14d
mov qword [rsp + 0x70], r13
movzx r12d, al
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rbp + 0x10]
mov edx, 0x104
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x174
lea r8d, [rcx + 0x10]
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x10]
mov edx, 0x104
mov qword [rbp - 0x78], rax
lea rax, str.c5a6
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0x20
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x50], rax
mov rbx, rsi
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140020930
movsx rax, r12b
lea ecx, [rax + rax*4]
movsx rax, byte [rsp + 0x40]
sub r14d, ecx
sub r14d, eax
sub r14d, 9
add ebx, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [0x1400ee230]
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rbp - 0x80]
lea rcx, [rbp - 0x40]
mov edx, ebx
mov r9, rax
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x30], xmm1
mov r12, rax
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [rbp - 0x50]
movsd qword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm1
call fcn.1400ce200
lea rcx, [rbp + 0x10]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rdx, rax
mov r14, rax
call fcn.1400bfd70
inc rsi
cmp byte [rdi + rsi], 0
jne 0x1400209c2
imul r14d, r12d
movzx edi, r15b
sub edi, r14d
sub edi, dword [rsp + 0x44]
add edi, esi
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rdi + 0x16]
mov r9, r13
movzx edx, bl
movzx r8d, al
mov dword [rsp + 0x28], 8
mov byte [rsp + 0x20], 0
call fcn.1400971e0
call fcn.1400ab1e0
lea rax, str.demur
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret