Function at 0x1400acb60
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r12
lea rbp, [r11 - 0x3a8]
sub rsp, 0x488
mov rax, qword [0x14039f0c0]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov qword [r11 - 0x28], rdi
mov rbx, rcx
mov qword [r11 - 0x38], r14
lea rcx, [0x1404366e8]
mov qword [r11 - 0x40], r15
mov rdi, r8
mov r15, r9
mov qword [rsp + 0x20], rdx
mov rsi, rdx
call fcn.14027ddb0
lea r9, str._5_4
mov r8, rdi
lea rdx, str._s_s
mov rcx, rbx
call fcn.140093340
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor r12d, r12d
mov r14, rax
test rax, rax
jne 0x1400acbee
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r14, rax
test rax, rax
je 0x1400acc35
mov edx, 0xfff0b9d8
mov rcx, rbx
call fcn.1400927e0
mov rdx, rax
lea r8, str.LUA_NOENV
mov rcx, rbx
call fcn.140093490
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1400927e0
movzx ecx, byte [rax + 8]
cmp cl, 1
je 0x1400acc7f
test cl, 0xf
je 0x1400acc7f
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.140092a80
test r15, r15
jne 0x1400acc44
mov rax, qword [rbx + 0x10]
mov byte [rax + 8], r12b
jmp 0x1400acc5f
mov rdx, r15
mov rcx, rbx
call fcn.1400b8890
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], r12
jle 0x1400ace83
mov rcx, rbx
call fcn.1400a6550
jmp 0x1400ace83
mov edx, 0xfffffffe
mov qword [rsp + 0x478], r13
mov rcx, rbx
call fcn.140092a80
lea rdx, [0x140365164]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov r13, rax
test rax, rax
jne 0x1400accf6
test r14, r14
jne 0x1400accbb
mov rax, qword [rbx + 0x10]
mov byte [rax + 8], r12b
jmp 0x1400accd6
mov rdx, r14
mov rcx, rbx
call fcn.1400b8890
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], r12
jle 0x1400ace7b
mov rcx, rbx
call fcn.1400a6550
jmp 0x1400ace7b
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], r12b
jne 0x1400acd00
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0x400
mov qword [rax], rcx
mov byte [rax + 8], 2
add qword [rbx + 0x10], 0x10
cmp r14, r13
jae 0x1400acdb6
mov rsi, r13
sub rsi, r14
je 0x1400acd78
mov r8d, 0xffffffff
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400959f0
mov r8, rsi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
add rcx, rsi
mov qword [rsp + 0x40], rcx
jmp 0x1400acd7d
mov rcx, qword [rsp + 0x40]
cmp rcx, qword [rsp + 0x38]
jb 0x1400acd9e
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, 0xffffffff
call fcn.1400959f0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov byte [rax + rcx], Ordinal_60
mov rcx, qword [rsp + 0x40]
inc rcx
mov qword [rsp + 0x40], rcx
jmp 0x1400acdbb
mov rcx, qword [rsp + 0x40]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r15 + rsi], r12b
jne 0x1400acdc2
test rsi, rsi
je 0x1400acdfe
mov r8d, 0xffffffff
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400959f0
mov r8, rsi
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
add rcx, rsi
mov qword [rsp + 0x40], rcx
lea rax, [r14 - 2]
add rax, rdi
cmp r13, rax
jae 0x1400ace6c
cmp rcx, qword [rsp + 0x38]
jb 0x1400ace2b
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, 0xffffffff
call fcn.1400959f0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
sub rdi, r13
add rdi, 0xfffffffffffffffe
mov byte [rax + rcx], Ordinal_60
inc qword [rsp + 0x40]
add rdi, r14
je 0x1400ace6c
mov r8d, 0xffffffff
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1400959f0
lea rdx, [r13 + 2]
mov r8, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
call fcn.140095c60
mov rsi, qword [rsp + 0x20]
mov r13, qword [rsp + 0x478]
mov r8d, 0x105
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r15, qword [rsp + 0x468]
mov r14, qword [rsp + 0x470]
mov rdi, qword [rsp + 0x480]
test eax, eax
je 0x1400acfa7
cmp eax, 0x105
je 0x1400acfa7
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400acfa7
mov edx, 0xffffffff
mov byte [rax], r12b
mov rcx, rbx
call fcn.1400927e0
movzx ecx, byte [rax + 8]
and cl, 0xf
cmp cl, 4
je 0x1400acf25
cmp cl, 3
jne 0x1400acf2c
mov rdx, rax
mov rcx, rbx
call fcn.1400af810
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], r12
jle 0x1400acf18
mov rcx, rbx
call fcn.1400a6550
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1400927e0
mov r12, qword [rax]
add r12, 0x18
lea r9, [rsp + 0x30]
mov rdx, r12
lea r8, reloc.WLDAP32.dll_Ordinal_33
mov rcx, rbx
call fcn.140097140
mov edx, 0xfffffffe
mov r8d, 0xffffffff
mov rcx, rbx
call fcn.140092bf0
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.140092a80
mov edx, 0xfffffffd
mov rcx, rbx
call fcn.1400927e0
mov rdx, rax
mov r8, rsi
mov rcx, rbx
call fcn.140093960
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.140092a80
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14027c900
add rsp, 0x488
pop r12
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rbx
call fcn.140095260
int3