Function at 0x1400ae630
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14013bf80]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor esi, esi
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x1400ae6ad
lea rdx, str.Hata:_Kullan
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140016950
mov rcx, rax
lea rdx, [0x14001e9d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x1400aeac1
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400ae6c5
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140017d50
nop
lea r8, str.C:Users_
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14008a960
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rsi
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1e
jb 0x1400ae76f
lea rax, [rcx + 0x1e]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, rdi
cmova rbx, qword [rsp + 0x30]
add rbx, rcx
lea r8d, [rdi + 0xf]
lea rdx, str.AppDataLocalGrowtopiacache
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1e], 0
lea rax, [rsp + 0x30]
jmp 0x1400ae790
mov qword [rsp + 0x20], 0x1e
lea r9, str.AppDataLocalGrowtopiacache
xor r8d, r8d
lea edx, [r8 + 0x1e]
lea rcx, [rsp + 0x30]
call fcn.14000b800
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x68], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm6
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400ae7ea
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ae7e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ae7e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3458
movdqa xmm0, xmmword [0x1400fa040]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400ae83d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ae838
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ae838
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3458
movdqa xmm0, xmmword [0x1400fa040]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
movq r14, xmm6
sub rax, r14
cmp rax, 0xd
jb 0x1400aeafb
lea r13, [rbp - 0x68]
movq rsi, xmm7
psrldq xmm6, 8
movq r15, xmm6
cmp r15, 0xf
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea r12, [r14 + 0xd]
lea rbx, [rsp + 0x78]
cmp r12, 0xf
jbe 0x1400ae923
mov rdi, r12
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400ae8e5
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400d341c
test rax, rax
je 0x1400aea66
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400ae91e
mov eax, reloc.WS2_32.dll_shutdown
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400ae90d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400aeb01
jmp 0x1400ae8c6
test rcx, rcx
je 0x1400ae91c
call fcn.1400d341c
mov rbx, rax
jmp 0x1400ae91e
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rdi
mov r8, r14
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._roulette.txt]
movsd qword [r14 + rbx], xmm0
mov eax, dword [0x140106890]
mov dword [r14 + rbx + 8], eax
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [r14 + rbx + 0xc], al
mov byte [rbx + r12], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.1400246a0
nop
cmp qword [rbp + 0x48], 0
jne 0x1400ae9c3
lea rdx, str.Hata:_Dosya_a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140016950
mov rcx, rax
lea rdx, [0x14001e9d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
jmp 0x1400ae9ef
lea rcx, [rbp - 0x38]
call fcn.14003cdb0
test rax, rax
jne 0x1400ae9ed
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
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]
mov bl, 1
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.140028c20
lea rcx, [rbp - 0x30]
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 + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400aea72
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aea6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aea6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3458
movdqa xmm0, xmmword [0x1400fa040]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
cmp r15, 0xf
jbe 0x1400aeabe
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400aeab6
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aeab6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400d3458
movzx eax, bl
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400d3570
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000c630
nop
call fcn.14000c610
int3