Function at 0x180121010
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 0x18012106f
mov r8d, esi
jmp 0x18012107c
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x180121073
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.18003d620
nop
mov ecx, 0x20
call fcn.1801e6074
mov rdi, rax
mov qword [rsp + 0x68], rax
mov edx, dword [0x180344be4]
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.1800a9640
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.1800cf720
mov rbx, rax
mov rcx, qword [rbp - 0x30]
cmp rcx, 0x10
jb 0x18012116a
inc rcx
mov rdx, qword [rbp - 0x48]
cmp rcx, 0x1000
jb 0x180121162
test dl, 0x1f
je 0x180121132
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 0x180121142
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 0x180121152
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0x27
jbe 0x18012115f
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.1801e6034
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], 0
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x1801211d4
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, 0x1000
jb 0x1801211cf
test cl, 0x1f
je 0x18012119f
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 0x1801211af
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 0x1801211bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1801211cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x28], 0
mov rax, qword [rbp + 0x10]
cmp rax, 0x10
jb 0x18012123e
inc rax
mov rcx, qword [rbp - 8]
cmp rax, 0x1000
jb 0x180121239
test cl, 0x1f
je 0x180121209
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 0x180121219
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 0x180121229
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x180121236
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
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, [0x18020a73c]
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 r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344c1c], eax
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, [0x18022ed34]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344c08], eax
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, [0x18020a740]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344c10], eax
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, [0x18020ce84]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344bf8], eax
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, [0x18022ed40]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344c04], eax
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, [0x18021047c]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344c14], eax
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, [0x18020a744]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344bfc], eax
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, [0x180210480]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344c00], eax
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, [0x18020a748]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344bf0], eax
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, [0x180210484]
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 r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800cf9f0
mov dword [0x180344bf4], eax
test rbx, rbx
je 0x180121719
mov rcx, rbx
call fcn.18003d070
mov edx, 0x20
mov rcx, rbx
call fcn.1801e60b0
nop
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x180121773
inc rax
mov rcx, qword [rbp - 0x68]
cmp rax, 0x1000
jb 0x18012176e
test cl, 0x1f
je 0x18012173e
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 0x18012174e
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 0x18012175e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18012176b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1801e6050
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