Function at 0x1400f3a08
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
cmp dword [rcx + 0xc8], 0
mov r15d, r8d
mov r14, rdx
mov rbx, rcx
jne 0x1400f3a48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
jmp 0x1400f3b83
cmp qword [rcx + 0xe8], 0
je 0x1400f3a63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 1
jmp 0x1400f3b83
test r15d, 0xffffffe0
jne 0x1400f3a37
mov r12d, r15d
and r12d, 8
je 0x1400f3a96
test r15b, 1
jne 0x1400f3a37
mov rdx, qword [rcx + 0x1c0]
mov rcx, r14
call fcn.1400fd314
test eax, eax
je 0x1400f3a37
mov ebp, r15d
and ebp, 0x10
jmp 0x1400f3ab1
mov ebp, r15d
and ebp, 0x10
jne 0x1400f3a37
mov rdx, qword [rcx + 0x1b8]
mov rcx, r14
call fcn.1400fd314
test eax, eax
je 0x1400f3a37
call fcn.1400fca04
mov rsi, rax
call fcn.1400fca04
mov rdi, rax
test rsi, rsi
je 0x1400f3b73
test rax, rax
je 0x1400f3b73
mov rdx, r14
test r12d, r12d
je 0x1400f3c01
mov rcx, rax
call fcn.1400fd710
test ebp, ebp
je 0x1400f3bb3
mov edx, 3
mov rcx, rbx
call fcn.1400fe090
cmp eax, 0xffffffff
jne 0x1400f3b05
xor ebp, ebp
jmp 0x1400f3b1a
cmp eax, 0xfffffffe
je 0x1400f3b01
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call fcn.1400fdf80
mov rbp, rax
mov rcx, qword [rbp + 0xb8]
call fcn.1400fd580
test eax, eax
jne 0x1400f3b3d
mov rcx, qword [rbp + 0xc8]
mov rdx, rdi
call fcn.1400fd490
test eax, eax
je 0x1400f3b48
mov edx, dword [rbp + 0x10]
mov rcx, rsi
call fcn.1400fd97c
mov rbp, qword [rbp + 0x38]
test rbp, rbp
jne 0x1400f3b1a
lea r14, [rbx + 0x1b8]
mov rdx, rsi
mov rcx, qword [r14]
call fcn.1400fd490
test eax, eax
je 0x1400f3ba5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
mov rcx, rsi
call fcn.1400fd1fc
mov rcx, rdi
call fcn.1400fd1fc
or eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov rcx, rsi
call fcn.1400fd580
test eax, eax
je 0x1400f3bc4
jmp 0x1400f3bba
lea r14, [rbx + 0x1b8]
mov rcx, rsi
call fcn.1400fd1fc
xor esi, esi
mov r8, qword [rbx + 0x18]
mov r9, rsi
mov edx, r15d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov r8, qword [r8]
call fcn.1400f49ec
mov rcx, qword [rbx + 0x1c0]
mov r8, rdi
mov rdx, rcx
call fcn.1400fcbac
test rsi, rsi
je 0x1400f3ced
mov r8, rsi
jmp 0x1400f3ce2
mov rcx, rsi
call fcn.1400fd710
test r15b, 1
je 0x1400f3c9d
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.1400fe090
cmp eax, 0xffffffff
jne 0x1400f3c29
xor ebp, ebp
jmp 0x1400f3c3e
cmp eax, 0xfffffffe
je 0x1400f3c25
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call fcn.1400fdf80
mov rbp, rax
mov rcx, qword [rbp + 0xb8]
call fcn.1400fd580
test eax, eax
jne 0x1400f3c61
mov rcx, qword [rbp + 0xb8]
mov rdx, rsi
call fcn.1400fd490
test eax, eax
je 0x1400f3c6c
mov edx, dword [rbp + 0x10]
mov rcx, rdi
call fcn.1400fd97c
mov rbp, qword [rbp + 0x38]
test rbp, rbp
jne 0x1400f3c3e
lea r14, [rbx + 0x1c0]
mov rdx, rdi
mov rcx, qword [r14]
call fcn.1400fd490
test eax, eax
jne 0x1400f3b67
mov rcx, rdi
call fcn.1400fd580
test eax, eax
je 0x1400f3cae
jmp 0x1400f3ca4
lea r14, [rbx + 0x1c0]
mov rcx, rdi
call fcn.1400fd1fc
xor edi, edi
mov r8, qword [rbx + 0x18]
mov r9, rsi
mov edx, r15d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov r8, qword [r8]
call fcn.1400f482c
mov rcx, qword [rbx + 0x1b8]
mov r8, rsi
mov rdx, rcx
call fcn.1400fcbac
test rdi, rdi
je 0x1400f3ced
mov r8, rdi
mov rdx, qword [r14]
mov rcx, rdx
call fcn.1400fcbac
mov rcx, rsi
call fcn.1400fd1fc
mov rcx, rdi
call fcn.1400fd1fc
mov rcx, rbx
call fcn.1400f2518
test eax, eax
jns 0x1400f3d1e
mov rcx, rbx
call fcn.1400f3434
mov rcx, rbx
call fcn.1400f3d84
jmp 0x1400f3b83
test byte [rbx + 0x20], 0x80
jne 0x1400f3d2c
mov rcx, rbx
call fcn.1401016e0
test dword [rbx + 0x20], 0x100
jne 0x1400f3d3d
mov rcx, rbx
call fcn.140103058
test dword [rbx + 0x20], 0x200
jne 0x1400f3d4e
mov rcx, rbx
call fcn.140104184
mov rax, qword [rbx + 0x18]
mov rcx, rbx
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.1400f3174
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400f4200
lea rcx, str.HWLOC_DEBUG_CHECK
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor eax, eax
jmp 0x1400f3b86