Function at 0x1800db430
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x18021c8c0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdx, qword [0x18025db48]
add rdx, 0x74
xor esi, esi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], sil
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800db490
lea rcx, [rbp - 0x40]
call fcn.180025c30
nop
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x1800db726
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800db4d2
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180025c30
nop
movabs rax, 0x7fffffffffffffff
sub rax, rdi
cmp rax, 0x13
jb 0x1800db783
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rax, qword [rbp - 0x40]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_send
lea r9, str._LucaModzZ_Profile_
lea rcx, [rsp + 0x60]
call fcn.180026570
nop
mov r8d, 5
lea rdx, str..json
lea rcx, [rsp + 0x60]
call fcn.180032ae0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x60]
call fcn.180032ae0
nop
lea rcx, [rsp + 0x40]
call fcn.180004430
nop
lea rcx, [rsp + 0x60]
call fcn.180004430
mov rdi, qword [rbp - 0x50]
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rbx, qword [rbp - 0x60]
call fcn.180171828
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.180085030
nop
lea rcx, [rsp + 0x40]
call fcn.1800867f0
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.180087b30
test bl, bl
je 0x1800db675
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov r8d, Ordinal_46
lea rdx, str.A_profile_with_this_name_already_exists._:_
lea rcx, [rsp + 0x60]
call fcn.180025c30
nop
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov r8d, 7
lea rdx, str.Profile
lea rcx, [rsp + 0x40]
call fcn.180025c30
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1802e2660]
call fcn.1800991b0
jmp 0x1800db71d
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.1800df200
nop
cmp qword [rbp + 0x68], 0
je 0x1800db6d6
lea rdx, [0x1801db9f0]
lea rcx, [rbp - 0x20]
call fcn.18003f140
lea rcx, [rbp - 0x18]
call fcn.180087920
test rax, rax
jne 0x1800db6d6
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.1800879d0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x60]
call fcn.180004430
mov rax, qword [0x18025db48]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax + 0x74], xmm0
movups xmmword [rax + 0x84], xmm0
movups xmmword [rax + 0x94], xmm0
movups xmmword [rax + 0xa4], xmm0
mov qword [rax + 0xb4], rcx
lea rcx, [rbp - 0x40]
call fcn.180004430
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.180172080
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180025c10
nop
int3
jmp 0x1800db430