Function at 0x180120980
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rbp + 0x18], rax
xor esi, esi
mov dword [rsp + 0x20], esi
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x68], sil
cmp byte [rax], sil
jne 0x1801209df
mov r8d, esi
jmp 0x1801209ec
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1801209e3
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.18003d620
nop
mov ecx, 0x20
call fcn.1801e61b4
mov rdi, rax
mov qword [rsp + 0x68], rax
mov edx, dword [0x180344bec]
lea rcx, [rbp - 8]
call fcn.18003c8d0
mov rbx, rax
mov dword [rsp + 0x20], 1
lea r8, str..exFilLocatOutfits_
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.1800a97a0
nop
mov dword [rsp + 0x20], 3
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180035870
nop
mov dword [rsp + 0x20], 7
lea r8, str..ini
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180035800
mov rdx, rax
mov rcx, rdi
call fcn.1800cf800
mov rbx, rax
mov rcx, qword [rbp - 0x30]
cmp rcx, 0x10
jb 0x180120ada
inc rcx
mov rdx, qword [rbp - 0x48]
cmp rcx, 0x1000
jb 0x180120ad2
test dl, 0x1f
je 0x180120aa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rdx - 8]
cmp rax, rdx
jb 0x180120ab2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rdx, rax
cmp rdx, 8
jae 0x180120ac2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0x27
jbe 0x180120acf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rax
mov rcx, rdx
call fcn.1801e6174
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], 0
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x180120b44
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, 0x1000
jb 0x180120b3f
test cl, 0x1f
je 0x180120b0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180120b1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x180120b2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x180120b3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x28], 0
mov rax, qword [rbp + 0x10]
cmp rax, 0x10
jb 0x180120bae
inc rax
mov rcx, qword [rbp - 8]
cmp rax, 0x1000
jb 0x180120ba9
test cl, 0x1f
je 0x180120b79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180120b89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x180120b99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x180120ba6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 0x10], 0xf
mov qword [rbp + 8], rsi
mov byte [rbp - 8], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 1
lea rdx, [0x18020a6ec]
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x48]
mov edx, dword [0x180344c14]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x18022ec70]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344c0c]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x18020a6f0]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344bfc]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x18020ce64]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344be8]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x18022ec88]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344bf0]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x1802103d4]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344c00]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x18020a6f4]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344c04]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x1802103d8]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344c08]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x18020a6f8]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344bf4]
mov rcx, rbx
call fcn.1801179b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
mov r8d, 2
lea rdx, [0x1802103dc]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], 0
mov r8d, 6
lea rdx, str.Outfit
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov edx, dword [0x180344bf8]
mov rcx, rbx
call fcn.1801179b0
nop
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x1801210c9
inc rax
mov rcx, qword [rbp - 0x68]
cmp rax, 0x1000
jb 0x1801210c4
test cl, 0x1f
je 0x180121094
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1801210a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1801210b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1801210c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1801e6190
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret