Function at 0x140051f10
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x250
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14057b2a8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rcx
mov qword [rbp], rcx
xor r14d, r14d
movabs rax, 0x84ce2a40ccc4353c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0xb84476c2c91a01d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xf72a76cba788ffad
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x78e61c266cc2cd2a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xe5fca5ca529d96ea
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rcx, 0x635bee37f6479c6d
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs r13, 0xe1ba4b36a5b66560
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
movabs r15, 0x48d8310347e3c149
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movabs rax, 0x847605acceee91c2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
movabs rax, 0x183777908a7bb4b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
movabs rax, 0xe5fca5ca26e5e2c4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqa ymmword [rbp + 0xc0], ymm1
vmovdqa xmm0, xmmword [rbp + 0xe0]
vpxor xmm0, xmm0, xmmword [rbp + 0x1a0]
vmovdqa xmmword [rbp + 0xe0], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x70], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x80], xmm1
lea rax, [rbp + 0xc0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
vzeroupper
nop
inc r8
cmp byte [rax + r8], r14b
jne 0x1400520d0
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x70]
call fcn.140048220
nop
movabs r12, 0xe1fb1f77e1e63521
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movdqa xmm0, xmmword [rbp + 0x50]
pxor xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r8, [rbp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140049a60
nop
mov rcx, rax
call fcn.1400516d0
movzx esi, al
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x1400521a0
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005219b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005219b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7258
movdqa xmm0, xmmword [0x140132010]
movdqu xmmword [rbp + 0x150], xmm0
mov byte [rbp + 0x140], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400521f8
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400521f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400521f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7258
movdqa xmm0, xmmword [0x140132010]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
test sil, sil
je 0x1400525f2
movabs rax, 0x84ce2a40ccc4353c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0xb84476c2c91a01d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0xf72a76cba788ffad
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x78e61c266cc2cd2a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0xe5fca5ca529d96ea
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rcx, 0x635bee37f6479c6d
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
movabs rax, 0x847605acceee91c2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
movabs rax, 0x183777908a7bb4b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
movabs rax, 0xe5fca5ca26e5e2c4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0x100], ymm1
vmovdqa xmm0, xmmword [rbp + 0x120]
vpxor xmm0, xmm0, xmmword [rbp + 0x1e0]
vmovdqa xmmword [rbp + 0x120], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x90], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xa0], xmm1
lea rax, [rbp + 0x100]
vzeroupper
inc rbx
cmp byte [rax + rbx], 0
jne 0x140052375
mov r8, rbx
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x90]
call fcn.140048220
nop
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movdqa xmm0, xmmword [rbp + 0x60]
pxor xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r8, [rbp + 0x90]
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.140049a60
nop
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140052640
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x140052446
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052441
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7258
movdqa xmm0, xmmword [0x140132010]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400524a1
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005249c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005249c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7258
movdqa xmm0, xmmword [0x140132010]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rcx, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
cmp rcx, rax
jne 0x140052531
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
test rcx, rcx
je 0x140052607
lea r8, [rbp + 8]
mov rdx, rax
call fcn.140049c70
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 8]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400525eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400525e1
call fcn.1400b7258
jmp 0x140052607
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14005263a
mov rdx, rcx
mov rcx, rdi
call fcn.140049600
nop
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x140052607
mov rsi, qword [rbp + 0x10]
cmp rbx, rsi
je 0x1400525b5
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140052599
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140052594
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400525e1
mov rcx, r8
call fcn.1400b7258
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rsi
jne 0x140052563
mov rbx, qword [rbp + 8]
mov rdx, qword [rbp + 0x18]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400525e8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400525e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400b7258
jmp 0x140052607
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400b72f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140053970
nop