Function at 0x14008fc70
Capabilities:
Check for time delay via gettickcount
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x238
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r12, qword [rsp + 0x2a0]
mov rsi, qword [rsp + 0x2a8]
mov rbp, r9
mov qword [rsp + 0x70], r8
mov rbx, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x78], r12
mov r15, rcx
mov qword [rsp + 0x68], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov edx, 0x238
lea r8d, [rcx + 0x11]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xe0]
xor edx, edx
mov r8d, 0x140
mov r14, rax
mov qword [rsp + 0x58], rax
call fcn.1400e27d0
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
lea r8d, [rcx + 7]
mov edx, 0x152
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, r12d
sub ecx, ebp
mov r13, rax
mov qword [rsp + 0x60], rax
sub ecx, ebx
add ecx, 9
add ecx, r15d
mov dword [rsp + 0xb8], ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea edi, [rbp + 1]
mov qword [rsp + 0x50], rax
imul edi, r12d
add edi, r15d
mov dword [rsp + 0x3c], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 0x1c]
mov edx, 0x279
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rax, qword [rsp + 0x50]
mov edx, 0x2a4
lea ecx, [rax + rax]
lea eax, [rdi + 9]
sub ecx, ebx
add ecx, r13d
add eax, ecx
xor ecx, ecx
lea r8d, [rcx + 0x15]
mov dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, edi
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, str.racer
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, r14
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea r8, [0x140001b00]
movsxd r9, edi
mov r14, rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or rdi, 0xffffffffffffffff
mov r10, rax
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x14008fe50
mov r11, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x3c]
mov eax, ebx
imul eax, dword [rsp + 0x48]
mov edx, ebp
imul ecx, eax, 0xfffffffb
movzx eax, bl
imul r8d, r11d
shl al, 2
imul edx, dword [rsp + 0x40]
sub ecx, edx
lea edx, [r15 + 1]
sub r15b, 0x1e
add r8d, ecx
lea ecx, [rax + rbx]
movzx eax, r11b
sub r8d, r9d
movzx ebx, r12b
mov byte [rsp + 0x30], cl
imul bpl
sub bl, al
add edx, r8d
movzx eax, r13b
mov dword [rsp + 0x34], edx
imul r14b
sub bl, al
sub bl, r9b
sub bl, cl
lea rcx, [rsp + 0xe0]
sub bl, dl
mov edx, 0x104
add bl, r15b
add bl, r10b
add bl, byte [rsp + 0xc0]
movsx rax, bl
mov qword [rsp + 0x98], rax
lea r15d, [rax*2]
add r15d, r13d
add r15d, r15d
sub r15d, r14d
inc r15d
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, 0xffff
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
xor ecx, ecx
lea r8d, [rcx + 0x1b]
mov edx, 0x1ec
movsxd r12, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x3e2
lea r8d, [rcx + 0x11]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp bl, byte [rsp + 0x34]
jl 0x140090027
xor ecx, ecx
mov edx, 0x380
lea r8d, [rcx + 0xb]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x148
lea r8d, [rcx + 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0x12]
mov edx, 0x1c4
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0x17]
mov edx, 0x2cf
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x148
lea r8d, [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14008ffb7
add cl, cl
movzx eax, r14b
xor ebx, ebx
add cl, r12b
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rbx
imul byte [rsp + 0x38]
movzx edx, al
movzx eax, byte [rsp + 0x60]
add cl, cl
add cl, r13b
mov dword [rsp + 0x20], ebx
imul byte [rsp + 0xb8]
add cl, cl
sub dl, cl
xor ecx, ecx
sub dl, al
sub dl, bpl
sub dl, byte [rsp + 0x30]
sub dl, byte [rsp + 0x34]
sub dl, byte [rsp + 0x50]
add dl, 0x17
add dl, byte [rsp + 0x40]
add dl, byte [rsp + 0x78]
add dl, byte [rsp + 0x68]
movsx r9, dl
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x140090029
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea r8, [0x140001b00]
mov r9, r12
movzx eax, ax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov edx, 0x207
lea r8d, [rcx + 0xd]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xe0]
xor edx, edx
mov r8d, 0x140
mov qword [rsp + 0xb0], rax
call fcn.1400e27d0
lea rdx, [rsp + 0xe0]
lea rcx, str.kohlrabi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
test r15d, r15d
je 0x1400900c5
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
imul r14d, r13d
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x1400900d0
imul ebp, dword [rsp + 0x40]
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
add eax, ecx
imul ebp, dword [rsp + 0x68]
imul ebx, dword [rsp + 0xb0]
lea ecx, [rax + rax*4]
mov rax, qword [rsp + 0xa8]
add ebp, 0x13
imul eax, r12d
imul ebp, dword [rsp + 0x70]
add ebp, ecx
sub ebp, eax
mov rax, qword [rsp + 0x80]
imul eax, r15d
sub ebp, eax
mov eax, dword [rsp + 0x48]
lea ecx, [rax*8 + 0x28]
sub ebp, ebx
add ecx, ebp
imul eax, dword [rsp + 0x60], 7
sub ecx, eax
lea eax, [r14 + r14]
mov r14, qword [rsp + 0x58]
sub ecx, eax
mov rax, qword [rsp + 0x78]
sub ecx, dword [rsp + 0x88]
sub ecx, dword [rsp + 0x90]
sub ecx, dword [rsp + 0x38]
sub ecx, r14d
add eax, ecx
add eax, edi
add eax, dword [rsp + 0xa0]
add eax, dword [rsp + 0x50]
add eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret