Function at 0x140007f50
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x30], xmm6
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [0x14004921a]
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400085a9
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
js 0x1400085c7
mov rdi, rax
cmp rax, 0xf
ja 0x140007fe1
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], recvfrom
lea rcx, [rbp - 0x20]
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, rbp
add rdi, 0xffffffffffffffe0
jmp 0x14000803f
mov rax, rdi
or rax, 0xf
cmp rax, 0x17
mov r14d, socket
cmovae r14, rax
cmp r14, 0xfff
jb 0x140008016
lea rcx, [r14 + 0x28]
call fcn.14003ae80
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140008022
lea rcx, [r14 + 1]
call fcn.14003ae80
mov rbx, rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r14
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, rbx
mov byte [rdi], 0
mov rbx, qword [rbp - 0x10]
movabs rax, 0x7ffffffffffffffb
cmp rbx, rax
jge 0x1400085cc
mov r14, qword [rbp - 0x20]
mov rdi, qword [rbp - 8]
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
lea r12, [rbx + 5]
cmp r12, 0x10
jb 0x140008084
cmp rbx, 0xfffffffffffffffb
jge 0x14000808f
movabs r13, 0x7fffffffffffffff
jmp 0x1400080ad
mov r15, rbp
mov r13d, recvfrom
jmp 0x1400080d7
mov rax, r12
or rax, 0xf
cmp rax, 0x17
mov r13d, socket
cmovae r13, rax
cmp r13, 0xfff
jb 0x1400080c7
lea rcx, [r13 + 0x28]
call fcn.14003ae80
mov r15, rax
add r15, 0x27
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x1400080d3
lea rcx, [r13 + 1]
call fcn.14003ae80
mov r15, rax
mov qword [rbp], r15
cmp rdi, 0x10
lea rax, [rbp - 0x20]
cmovb r14, rax
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r13
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [r15 + rbx], 0x7461645c
mov word [r15 + rbx + 4], 0x61
lea rdi, [rsi + 0x150]
mov rax, qword [rsi + 0x168]
cmp rax, 0x10
jb 0x140008151
mov rcx, qword [rdi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000814c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400085c1
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rbx, qword [rbp - 0x10]
movabs rax, 0x7ffffffffffffff5
cmp rbx, rax
jge 0x1400085d1
mov r14, qword [rbp - 0x20]
mov r12, qword [rbp - 8]
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
lea r13, [rbx + 0xb]
cmp r13, 0x10
jb 0x1400081a2
cmp rbx, 0xfffffffffffffff5
jge 0x1400081ac
movabs rdi, 0x7fffffffffffffff
jmp 0x1400081c9
mov r15, rbp
mov edi, recvfrom
jmp 0x1400081f3
mov rax, r13
or rax, 0xf
cmp rax, 0x17
mov edi, socket
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x1400081e3
lea rcx, [rdi + 0x28]
call fcn.14003ae80
mov r15, rax
add r15, 0x27
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x1400081ef
lea rcx, [rdi + 1]
call fcn.14003ae80
mov r15, rax
mov qword [rbp], r15
cmp r12, 0x10
lea rax, [rbp - 0x20]
cmovb r14, rax
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], rdi
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x2e6769666e6f635c
mov qword [r15 + rbx], rax
mov dword [r15 + rbx + 7], 0x696e692e
mov byte [r15 + rbx + 0xb], 0
lea rdi, [rsi + 0x110]
mov rax, qword [rsi + 0x128]
cmp rax, 0x10
jb 0x14000827a
mov rcx, qword [rdi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140008275
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400085c1
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rcx, rsi
call fcn.140007370
mov rbx, qword [rbp - 0x10]
movabs rax, 0x7ffffffffffffffa
cmp rbx, rax
jge 0x1400085d6
mov r15, qword [rbp - 0x20]
mov r12, qword [rbp - 8]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea r13, [rbx + 6]
cmp r13, 0x10
jb 0x1400082d7
cmp rbx, 0xfffffffffffffffa
jge 0x1400082e2
movabs rdi, 0x7fffffffffffffff
jmp 0x1400082ff
lea r14, [rbp - 0x40]
mov edi, recvfrom
jmp 0x140008329
mov rax, r13
or rax, 0xf
cmp rax, 0x17
mov edi, socket
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x140008319
lea rcx, [rdi + 0x28]
call fcn.14003ae80
mov r14, rax
add r14, 0x27
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140008325
lea rcx, [rdi + 1]
call fcn.14003ae80
mov r14, rax
mov qword [rbp - 0x40], r14
cmp r12, 0x10
lea rdx, [rbp - 0x20]
cmovae rdx, r15
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rdi
mov rcx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + rbx], 0x7461645c
mov word [r14 + rbx + 4], 0x5c61
mov byte [r14 + rbx + 6], 0
mov r8, qword [rsi + 0x188]
cmp qword [rsi + 0x190], 0x10
jb 0x140008378
mov r9, qword [rsi + 0x178]
jmp 0x14000837f
lea r9, [rsi + 0x178]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x1400083a8
mov qword [rsp + 0x20], r8
lea rcx, [rbp - 0x40]
mov rdx, r8
call fcn.140002070
mov rdi, rax
jmp 0x1400083d1
lea rbx, [rcx + r8]
mov qword [rbp - 0x30], rbx
lea rdi, [rbp - 0x40]
mov r14, rdi
cmp rax, 0x10
jb 0x1400083c1
mov r14, qword [rbp - 0x40]
add rcx, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recvfrom
mov byte [rdi], 0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jae 0x140008426
mov qword [rsp + 0x20], 5
lea r9, [0x1400491af]
mov rcx, rbp
mov edx, 5
call fcn.140002070
jmp 0x14000844e
lea rax, [rcx + 5]
mov qword [rbp + 0x10], rax
mov rax, rbp
mov r8, rax
cmp rdx, 0x10
jb 0x14000843e
mov r8, qword [rbp]
mov dword [r8 + rcx], 0x7461642e
mov word [r8 + rcx + 4], 0x61
movzx ebx, byte [rax]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x49], rcx
mov rcx, qword [rax + 1]
mov qword [rbp - 0x50], rcx
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], recvfrom
mov byte [rax], 0
mov rax, qword [rsi + 0x148]
cmp rax, 0x10
jb 0x1400084bd
mov rcx, qword [rsi + 0x130]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400084b8
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400085c1
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov byte [rsi + 0x130], bl
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x49]
mov qword [rsi + 0x131], rax
mov qword [rsi + 0x138], rcx
movups xmmword [rsi + 0x140], xmm6
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x14000851f
mov rcx, qword [rbp]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000851a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400085c1
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], recvfrom
mov byte [rbp], 0
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x14000856e
mov rcx, qword [rbp - 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140008569
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400085c1
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x1400085a9
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400085a4
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400085c1
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
movaps xmm6, xmmword [rbp + 0x30]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.140001d10
call fcn.140001d10
call fcn.140001d10
call fcn.140001d10
int3