Function at 0x140002200
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
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400d3058]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
mov qword [rbp - 0x29], rcx
xor edi, edi
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 7], dil
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140002266
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.1400063f0
nop
mov dword [rbp - 0x2d], reloc.WS2_32.dll_select
mov word [rbp - 0x31], 0x5c
lea rax, [rbp - 0x31]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002290
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r12, qword [rbp + 0x17]
sub rax, r12
cmp rax, rbx
jb 0x140002492
lea rdx, [rbp + 7]
mov r13, qword [rbp + 0x1f]
cmp r13, 0x10
setae byte [rbp - 0x39]
mov r14, qword [rbp + 7]
cmovae rdx, r14
mov qword [rbp - 0x29], rdx
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rdi
lea rax, [r12 + rbx]
mov esi, reloc.WS2_32.dll_ntohs
lea rdi, [rbp - 0x21]
cmp rax, rsi
jbe 0x14000237d
mov rsi, rax
or rsi, 0xf
cmp rsi, rcx
jbe 0x140002305
mov rsi, rcx
jmp 0x140002311
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rsi, rcx
cmovb rsi, rcx
mov rcx, rsi
add rcx, 1
mov r8, 0xffffffffffffffff
cmovb rcx, r8
cmp rcx, 0x1000
jb 0x140002360
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000248c
mov rcx, rax
call fcn.1400a63e0
test rax, rax
je 0x140002415
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
lea rax, [r12 + rbx]
mov rdx, qword [rbp - 0x29]
jmp 0x140002379
test rcx, rcx
je 0x140002377
call fcn.1400a63e0
mov rdi, rax
lea rax, [r12 + rbx]
mov rdx, qword [rbp - 0x29]
jmp 0x140002379
xor edi, edi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rsi
mov r8, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r12 + rdi]
mov r8, rbx
lea rdx, [rbp - 0x31]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [r12 + rbx]
mov byte [rdi + rax], 0
lea rdx, [0x1400d3e90]
lea rcx, [rbp - 0x21]
call fcn.1400061e0
xor ecx, ecx
mov qword [r15], rcx
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x18], rcx
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140002422
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000241c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000241c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a6674
nop
cmp byte [rbp - 0x39], 0
je 0x14000245c
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140002454
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002454
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400a6674
mov rax, r15
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400a63c0
lea r11, [rsp + 0x90]
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.140001600
nop
call fcn.1400016a0
int3