Function at 0x140058190
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14010c080]
xor rax, rsp
mov qword [rbp + 0xe8], rax
xor r14d, r14d
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rsi, rax
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1400581e2
call fcn.1400c0e78
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp + 0xc8]
call fcn.140055720
nop
call fcn.1400c0e78
lea rcx, str.LucaModzZ
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 9
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140055720
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xc8]
call fcn.140055970
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140058292
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005828c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005828c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c0044
nop
mov byte [rbp + 0xa8], 0
mov qword [rbp + 0xb0], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14005c5c0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c0358
mov rbx, rax
lea rax, [rbp + 0xa0]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rdx, str.Enter_your_token
nop dword [rax + rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140058310
mov r8, rdi
mov rcx, rbx
call fcn.14004b770
nop
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov r8d, 6
lea rdx, [0x1400f789c]
lea rcx, [rsp + 0x68]
call fcn.14004b770
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xa8]
call fcn.140064c80
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8d, 8
lea rdx, str.Password
lea rcx, [rsp + 0x48]
call fcn.14004b770
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140064c80
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14005c5c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0xb8], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
movsxd rbx, dword [0x14010c3d8]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14005c5c0
mov byte [rsp + 0x30], 5
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8d, 6
lea rdx, [0x1400f789c]
lea rcx, [rsp + 0x48]
call fcn.14004b770
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.140064c80
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Injection_Delay
lea rcx, [rsp + 0x68]
call fcn.14004b770
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140064c80
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14005c5c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0xb8], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx ebx, byte [0x14010c3d4]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14005c5c0
mov byte [rsp + 0x30], 4
mov byte [rsp + 0x40], bl
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8d, 6
lea rdx, [0x1400f789c]
lea rcx, [rsp + 0x48]
call fcn.14004b770
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.140064c80
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Inject_On_Launch
lea rcx, [rsp + 0x68]
call fcn.14004b770
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140064c80
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14005c5c0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 7
cmova rdx, qword [rbp + 0xc8]
lea rcx, [rbp - 0x70]
call fcn.140064fc0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
cmp dword [rbp + rcx - 0x60], 0
jne 0x14005865a
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.14005a200
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14005860c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400658c0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14005865a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058654
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058654
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c0044
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.14005b120
lea rcx, [rbp - 0x60]
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 + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp + 0xa8]
lea rcx, [rbp + 0xb0]
call fcn.14005c5c0
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x1400586f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400586ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400586ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c0044
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.1400bfc30
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret