Function at 0x1400dfe50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14026eff8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13, rdx
mov r12, rcx
xor r14d, r14d
mov dword [rbp - 0x51], r14d
movzx eax, byte [rcx]
nop
test al, al
je 0x1400dfa7e
mov r8d, 0x84
lea rdx, str.C:.conan2980411_srci18n.cpp
lea rcx, [0x140222660]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x1400dfdbc
mov eax, 1
xchg byte [rcx], al
mov rcx, qword [str.i18n_lan]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r15, [r12 + 8]
mov rdi, 0xffffffffffffffff
test rax, rax
je 0x1400dfaba
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x1400dfaa6
mov rdx, rax
mov rcx, r15
call fcn.14000baa0
mov qword [rbp - 0x49], r14
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.1400e0360
cmp qword [r12 + 0x18], r14
jne 0x1400dfb74
mov rax, qword [rbp - 0x49]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400dfb14
cmp byte [rbx], r14b
je 0x1400dfb14
mov rsi, qword [str.i18n_lan]
mov qword [rbp - 0x59], r14
mov r9, rsi
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv_s]
test eax, eax
jne 0x1400dfb4b
cmp qword [rbp - 0x59], r14
jne 0x1400dfb4b
mov rdx, rbx
mov rcx, rsi
jmp 0x1400dfb45
mov rbx, qword [str.i18n_lan]
mov qword [rbp - 0x59], r14
mov r9, rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv_s]
test eax, eax
jne 0x1400dfb4b
cmp qword [rbp - 0x59], r14
jne 0x1400dfb4b
lea rdx, [0x140142a30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv_s]
mov rcx, qword [str.i18n_lan]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x1400dfb60
mov rdx, rax
mov rcx, r15
call fcn.14000baa0
mov ecx, 8
call fcn.140101b00
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400dfb92
mov rcx, rax
call fcn.1400e93c0
mov r14, rax
mov rbx, r14
mov qword [rbp - 0x59], rbx
mov esi, 1
mov ecx, 0x168
call fcn.140101b00
mov qword [rbp - 0x31], rax
test rax, rax
je 0x1400dfc07
mov qword [rbp - 0x21], 0
mov qword [rbp - 9], SafeArrayGetLBound
mov qword [rbp - 0x11], 5
mov ecx, dword [str.UTF_8]
mov dword [rbp - 0x21], ecx
movzx ecx, byte [0x1402226c0]
mov byte [rbp - 0x1d], cl
mov byte [rbp - 0x1c], 0
mov esi, 3
mov dword [rbp - 0x51], esi
xor ebx, ebx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x41], r14
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x41]
mov rcx, rax
call fcn.1400e7350
mov r14, rax
jmp 0x1400dfc0a
xor r14d, r14d
or esi, 4
test sil, 2
je 0x1400dfc51
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400dfc51
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfc4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfc4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140101b3c
lea rsi, [r12 + 0x28]
lea rax, [rbp - 0x31]
cmp rsi, rax
je 0x1400dfd14
mov r15, qword [rsi]
mov qword [rsi], r14
test r15, r15
je 0x1400dfc83
mov rcx, r15
call fcn.1400e7770
mov edx, 0x168
mov rcx, r15
call fcn.140101b3c
lea r15, [r12 + 8]
test rbx, rbx
je 0x1400dfc9a
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsi]
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], SafeArrayGetLBound
mov byte [rbp - 1], al
mov r8, rdi
inc r8
cmp byte [r8 + r13], al
jne 0x1400dfcb5
mov rdx, r13
lea rcx, [rbp - 1]
call fcn.14000baa0
nop
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.1400e7c10
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400dfd3c
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfd37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfd37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test r14, r14
je 0x1400dfc88
mov rcx, r14
call fcn.1400e7770
mov edx, 0x168
mov rcx, r14
call fcn.140101b3c
jmp 0x1400dfc88
call fcn.140101b3c
mov rdx, r15
lea rcx, [rbp - 0x39]
call fcn.1400e43f0
cmp qword [rbp - 0x39], 0
je 0x1400dfd5a
lea rdx, [rbp - 0x39]
mov rcx, qword [r12 + 0x28]
jmp 0x1400dfdae
lea rdx, [0x140142a30]
mov rcx, qword [str.i18n_lan]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv_s]
mov rcx, qword [str.i18n_lan]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400dfd80
mov r8, rdi
mov rdx, rax
mov rcx, r15
call fcn.14000baa0
mov rbx, qword [r12 + 0x28]
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.1400e43f0
mov rdx, rax
mov rcx, rbx
call fcn.1400e8b10
lea rcx, [rbp - 0x49]
call fcn.1400e05d0
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140102140
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1400df740]
call fcn.1400e8dd0
lea rcx, [0x1400df780]
call fcn.1400e8de0
lea rcx, [0x1400df700]
call fcn.1400e8df0
call fcn.1400df9a0
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1400dfa20