Function at 0x180072600
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov ebx, dword [rbp + 0x68]
mov r14, r9
mov r9d, dword [rbp + 0x68]
mov r15, rcx
imul eax, r9d, 0x142
mov r13d, r9d
mov dword [rbp - 0x30], eax
cmp r9d, eax
ja 0x1800727b0
mov r12, qword [rbp + 0x70]
mov rdi, qword [rbp - 0x10]
lea rax, str.Frenchi_Polynesia
cmp r13d, 0x1e1c
ja 0x18007292e
je 0x1800727b0
mov eax, r13d
sub eax, 0xa4
je 0x1800727c3
sub eax, 0x31
je 0x180072743
cmp eax, 0x36
jne 0x1800729ce
mov rax, qword [r12]
cmp byte [rax + 0x7a], 0
je 0x1800729ce
mov esi, reloc.SHELL32.dll_SHSetFolderPathA
nop
mov eax, esi
sub eax, 0xe5
je 0x180072725
sub eax, 1
je 0x1800726ed
cmp eax, 1
jne 0x180072730
mov rax, qword [r12]
mov ecx, 0x40
call qword [rax + 0xa8]
mov rdi, rax
test rax, rax
je 0x1800729ec
mov r8, qword [rbp + 0x58]
lea rax, [0x18007dfa0]
mov rdx, qword [rbp + 0x50]
mov qword [rdi], rax
lea rax, [0x18009e090]
mov qword [rdi + 8], rax
jmp 0x180072730
mov rax, qword [r12]
lea r9, [rbp - 0x38]
xor r8d, r8d
mov qword [rbp - 0x28], rdi
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x38], rax
lea edx, [r8 + 0x52]
call fcn.18006e400
movzx eax, byte [r15]
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
mov byte [rdi + 0x30], al
movzx eax, byte [r14]
mov byte [rdi + 0x31], al
jmp 0x180072730
mov eax, dword [r8]
mov dword [rdi + 0x34], eax
mov eax, dword [rdx]
mov dword [rdi + 0x38], eax
dec esi
cmp esi, 0xe4
ja 0x1800726a0
jmp 0x1800729ca
test dword [0x1801ef0ec], 0x8000
jne 0x1800727b0
lea rcx, str.BooleanBoxes
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180072795
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov dword [0x1801ef0ec], eax
mov rax, qword [rbp - 0x20]
cmp byte [rax], 0
jne 0x18007278b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0
je 0x180072795
mov dword [0x1801ef0ec], 0
mov eax, dword [0x1801ef0ec]
bts eax, 0xf
mov dword [0x1801ef0ec], eax
cmp eax, 0x8000
jne 0x1800729ca
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [r12]
mov rax, qword [rdx + 0x2d0]
mov r8d, dword [rdx + 0x30c]
mov rsi, qword [rdx + 0x358]
mov rcx, qword [rax + 0x70]
mov eax, dword [rdx + 0x304]
imul r8d, dword [rcx + 0x4a4]
imul eax, dword [rcx + 0x4a8]
add r8, rax
movzx eax, byte [rdx + 0x9f1]
add r8, qword [rcx + 0x4b0]
cmp al, 5
jne 0x180072881
xor r14d, r14d
cmp dword [rdx + 0x314], r14d
jle 0x180072923
lea rbx, [r8 + 6]
nop
mov r9d, 0x6a
mov qword [rbp - 0x28], rsi
xor r8d, r8d
lea rcx, [rbp - 0x28]
xor edx, edx
call fcn.180006190
lea r9, [rbp - 0x18]
mov word [rbp - 0x38], ax
xor r8d, r8d
mov qword [rbp - 0x18], rbx
xor edx, edx
mov dword [rsp + 0x20], 0x103
lea rcx, [rbp - 0x38]
call fcn.18006e120
mov rax, qword [r12]
add rbx, 8
add rsi, 2
inc r14d
cmp r14d, dword [rax + 0x314]
jl 0x180072820
mov r14, qword [rbp + 0x60]
xor ebx, ebx
mov r9d, dword [rbp + 0x68]
jmp 0x1800729ce
cmp al, 2
jne 0x18007291c
xor r15d, r15d
cmp dword [rdx + 0x314], r15d
jle 0x180072918
lea r14, [r8 + 6]
nop dword [rax]
mov r9d, 0x6a
mov qword [rbp - 0x18], r14
xor r8d, r8d
lea rcx, [rbp - 0x18]
xor edx, edx
call fcn.180006190
mov r9d, 0x6a
mov qword [rbp - 0x28], rsi
xor r8d, r8d
lea rcx, [rbp - 0x28]
xor edx, edx
movzx ebx, ax
call fcn.180006190
add ax, bx
mov qword [rbp - 0x10], r14
lea r9, [rbp - 0x10]
mov word [rbp - 0x38], ax
xor r8d, r8d
mov dword [rsp + 0x20], 0x103
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.18006e120
mov rax, qword [r12]
add r14, 8
add rsi, 2
inc r15d
cmp r15d, dword [rax + 0x314]
jl 0x1800728a0
mov r14, qword [rbp + 0x60]
mov r9d, dword [rbp + 0x68]
mov r15, qword [rbp + 0x48]
xor ebx, ebx
jmp 0x1800729ce
mov r14, qword [rbp + 0x60]
xor ebx, ebx
jmp 0x1800729ce
cmp r13d, 0x271b
je 0x18007294f
cmp r13d, 0x3105
je 0x18007291c
cmp r13d, 0x60ff
je 0x1800727b0
jmp 0x1800729ce
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x7c
xor edx, edx
xor ecx, ecx
call fcn.1800a6770
test rax, rax
je 0x180072989
lea rdx, [0x1801df7ec]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x1801ef130], rax
jmp 0x180072990
mov rax, qword [0x1801ef130]
test rax, rax
jne 0x1800729c1
lea rdx, [0x1801df7ec]
lea rcx, str._dev_tty
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x1801ef130], rax
test rax, rax
jne 0x1800729c1
mov dword [0x1801ef0ec], 0x8000
jmp 0x1800729ca
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov r9d, dword [rbp + 0x68]
imul eax, r9d, 0x2e
add r13d, eax
cmp r13d, dword [rbp - 0x30]
ja 0x1800727b0
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
jmp 0x180072652
mov dword [rbp + 0x68], eax
lea r8, [rbp - 0x10]
mov dword [rbp - 0x30], eax
lea rdx, [rbp - 0x30]
mov rax, qword [r12]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov r9d, 0x75
lea rax, [rbp + 0x68]
mov dword [rbp - 0x38], 1
mov qword [rsp + 0x20], rax
call fcn.180063bc0
mov eax, 1
jmp 0x1800727b2