Function at 0x18007ccf0
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x180357660]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rbp + 0x70]
mov r14d, r8d
mov dword [rsp + 0x38], r8d
mov r12, r9
mov r8, rdx
mov qword [rsp + 0x58], rdx
mov rdx, rcx
mov qword [rsp + 0x40], rcx
lea esi, [r14 - 0xb]
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x30], esi
cmp r14d, esi
jbe case.0x18007cd9e.1
movsxd rsi, dword [rsp + 0x70]
lea r15d, [r14 - 0x7b]
movss xmm6, dword [0x18034d524]
lea r9, [0x180000000]
movzx r13d, byte [rsp + 0x60]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x68], r15d
nop dword [rax]
cmp r15d, 0x2c
ja case.default.0x18007cd9e
movzx eax, byte [r9 + r15 + 0x7d238]
mov ecx, dword [r9 + rax*4 + 0x7d20c]
add rcx, r9
jmp rcx
mov eax, dword [rdi]
test eax, eax
je case.0x18007cd9e.10
xor edx, edx
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x38]
lea ecx, [rdx + 0x7a]
call fcn.18001bd20
jmp 0x18007cf7a
mov rax, qword [rdx]
lea r9, [rsp + 0x68]
mov qword [rbp - 0x78], rax
lea r8, [rsp + 0x38]
mov rax, qword [rdi]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x50]
mov rax, qword [r12]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x20], 0xbe
call fcn.180036d60
mov byte [rsp + 0x48], al
jmp 0x18007cf7a
mov rax, qword [r12 + 0x10]
mov rdx, rdi
mov rcx, qword [r12]
call qword [rax + 0x108]
xor r15d, r15d
mov qword [rbp - 0x70], rax
cmp dword [rdi], r15d
jle 0x18007cf75
lea r14, [rax + 8]
nop word [rax + rax]
mov edi, 0xfa
nop word [rax + rax]
cmp edi, 0xfa
je 0x18007cef9
cmp edi, 0x1be
jne 0x18007cf4a
cmp rsi, 0x50
jae 0x18007d206
lea rcx, [rbp - 0x60]
mov byte [rbp + rsi - 0x60], 0
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18007cf4a
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x78]
mov rcx, rax
lea r8, [rsp + 0x74]
lea rdx, str._2x_2x_2x
call fcn.1800bf090
cmp eax, 3
jne 0x18007cf4a
mov eax, dword [rsp + 0x74]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x78]
cvtsi2ss xmm1, rax
mov eax, dword [rsp + 0x70]
divss xmm0, xmm6
divss xmm1, xmm6
movss dword [r14 - 8], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss dword [r14 - 4], xmm1
divss xmm0, xmm6
movss dword [r14], xmm0
jmp 0x18007cf4a
mov r8, qword [r12 + 0x10]
lea rdx, str.maxVariation
mov r9d, r15d
lea rcx, [rbp - 0x60]
mov r8, qword [r8]
call fcn.1800bf030
movzx eax, byte [rbp - 0x60]
xor esi, esi
test al, al
je 0x18007cf4a
lea rbx, [rbp - 0x60]
movzx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x18007cf3f
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbp + rsi - 0x60], al
inc rsi
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x18007cf22
add edi, 0xc4
cmp edi, 0x282
jb 0x18007ce50
mov rdi, qword [rbp - 0x80]
inc r15d
add r14, 0xc
cmp r15d, dword [rdi]
jl 0x18007ce40
mov r14d, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
lea r9, [0x180000000]
mov eax, dword [rsp + 0x30]
dec r14d
dec r15d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x68], r15d
cmp r14d, eax
ja 0x18007cd80
jmp case.0x18007cd9e.1
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x48], rax
jmp case.0x18007cd9e.10
mov rbx, qword [r8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
call fcn.1800bed10
mov r8, qword [rsp + 0x40]
xor r9d, r9d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
mov r8, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
mov qword [r8], 0
inc dword [0x180358574]
jmp 0x18007cf7f
mov rax, qword [rdx]
cmp qword [rax + 0x18], 0
jne 0x18007d087
mov ebx, 0xe9
nop
cmp ebx, 0xe9
je 0x18007d05c
cmp ebx, 0x2d82
je 0x18007d02e
cmp ebx, 0x5a1b
je case.0x18007cd9e.1
jmp 0x18007d074
mov rax, qword [r12]
lea rdx, [rsp + 0x50]
mov r9d, 0x1e
mov qword [rsp + 0x50], rax
cmp qword [rax + 0x18], 0
sete r13b
xor r8d, r8d
xor ecx, ecx
call fcn.18006acf0
mov byte [rsp + 0x48], r13b
jmp 0x18007d074
mov rax, qword [r12]
lea rdx, [rsp + 0x50]
mov ecx, 0xc3
mov qword [rsp + 0x50], rax
call fcn.18005ae30
add ebx, 0x2c99
cmp ebx, 0x85cb
jbe 0x18007d010
jmp 0x18007cf7a
mov rax, qword [rdi]
cmp qword [rax + 0x18], 0
jne case.0x18007cd9e.10
mov ebx, 0x2a
nop word [rax + rax]
mov eax, ebx
sub eax, 0x28
je case.0x18007cd9e.1
sub eax, 1
je 0x18007d0f6
cmp eax, 1
jne 0x18007d0fb
mov rax, qword [r12]
lea rdx, [rsp + 0x50]
mov ecx, 0xc3
mov qword [rsp + 0x50], rax
call fcn.18005ae30
mov rax, qword [r12]
lea rdx, [rsp + 0x50]
mov r9d, 0x1e
mov qword [rsp + 0x50], rax
cmp qword [rax + 0x18], 0
sete r13b
xor r8d, r8d
xor ecx, ecx
call fcn.18006acf0
jmp 0x18007d0fb
mov byte [rsp + 0x48], r13b
dec ebx
cmp ebx, 0x27
ja 0x18007d0a0
jmp 0x18007cf7a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, dword [r12]
test ecx, ecx
je 0x18007cf7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp qword [0x180357750], 0
je 0x18007d162
cmp qword [0x180357748], 0
je 0x18007d162
mov byte [rsp + 0x48], 1
jmp case.0x18007cd9e.1
mov byte [rsp + 0x48], 0
jmp case.0x18007cd9e.1
test rdi, rdi
je 0x18007d195
test rdx, rdx
je 0x18007d195
xor edx, edx
lea rax, [r12 + 0x60]
xor ecx, ecx
nop dword [rax]
cmp qword [rax], 0
je 0x18007d1d1
inc edx
inc rcx
add rax, 0x18
cmp rcx, 0xa
jl 0x18007d180
mov dword [rsp + 0x48], 2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800bfa40
mov rbx, qword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, edx
mov r9d, 0x11f
xor edx, edx
mov r8, rdi
xor ecx, ecx
call fcn.180087160
lea rcx, [rbx + rbx*2]
mov dword [rsp + 0x48], 0
mov qword [r12 + rcx*8 + 0x60], rax
lea rax, [rbx + rbx*2]
mov rcx, qword [rsp + 0x40]
mov qword [r12 + rax*8 + 0x70], rcx
jmp case.0x18007cd9e.1
call fcn.1800bf72c
int3