Function at 0x1400b1e70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x14014b600]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
xor ebx, ebx
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x1400b1ee6
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.14001c8d0
mov rcx, rax
lea rdx, [0x1400233c0]
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 0x1400b2638
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov r8d, 4
lea rdx, str.logs
lea rcx, [rbp - 0x68]
call fcn.14001da00
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r15, qword [rbp - 0x58]
sub rax, r15
cmp rax, 0xd
jb 0x1400b2668
lea rax, [rbp - 0x68]
mov r14, qword [rbp - 0x68]
mov r13, qword [rbp - 0x50]
cmp r13, 0xf
cmova rax, r14
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea r12, [r15 + 0xd]
mov ebx, reloc.WS2_32.dll_ntohs
mov edi, ebx
lea rsi, [rsp + 0x78]
movabs rdx, 0x8000000000000000
mov r8d, reloc.WS2_32.dll_shutdown
cmp r12, rbx
jbe 0x1400b1fe7
mov rdi, r12
or rdi, rbx
cmp rdi, rcx
jbe 0x1400b1fa9
mov rdi, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.1400dd510
test rax, rax
je 0x1400b25dd
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400b1fdd
cmp rdi, r8
cmovb rdi, r8
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400b1fbd
xor esi, esi
jmp 0x1400b1fe2
cmp rcx, 0x1000
jb 0x1400b1fd5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400b266e
jmp 0x1400b1f8a
call fcn.1400dd510
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rdi
mov r8, r15
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._roulette.txt]
movsd qword [r15 + rsi], xmm0
mov eax, dword [0x140115608]
mov dword [r15 + rsi + 8], eax
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [r15 + rsi + 0xc], al
mov byte [rsi + r12], 0
lea rax, [rbp - 0x68]
cmp r13, 0xf
cmova rax, r14
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea r12, [r15 + 0xc]
mov rdi, rbx
lea rsi, [rsp + 0x58]
cmp r12, rbx
jbe 0x1400b20e8
mov rdi, r12
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x1400b20a4
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400dd510
test rax, rax
je 0x1400b258b
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400b20de
cmp rdi, 0x16
mov ecx, reloc.WS2_32.dll_shutdown
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400b20be
xor esi, esi
jmp 0x1400b20e3
cmp rcx, 0x1000
jb 0x1400b20d6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400b2674
jmp 0x1400b2085
call fcn.1400dd510
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rdi
mov r8, r15
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.droplog.txt]
movsd qword [r15 + rsi], xmm0
mov eax, dword [0x140115648]
mov dword [r15 + rsi + 8], eax
mov byte [rsi + r12], 0
lea rsi, [rbp - 0x68]
cmp r13, 0xf
cmova rsi, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rdi, [rsp + 0x38]
cmp r12, 0xf
jbe 0x1400b21cf
mov rbx, r12
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1400b2190
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400dd510
test rax, rax
je 0x1400b2538
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400b21ca
cmp rbx, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400b21aa
xor edi, edi
jmp 0x1400b21ca
cmp rcx, 0x1000
jb 0x1400b21c2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400b267a
jmp 0x1400b2171
call fcn.1400dd510
mov rdi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rbx
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.droplog.txt]
movsd qword [r15 + rdi], xmm0
mov eax, dword [0x140115648]
mov dword [r15 + rdi + 8], eax
mov byte [rdi + r12], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rcx, [rbp + 0x1e0]
call fcn.1400258c0
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1e0], rdi
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1dc], edx
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rcx, [rbp + 0xd0]
call fcn.1400258c0
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xd0], rdi
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xcc], edx
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rcx, [rbp - 0x40]
call fcn.1400258c0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], rdi
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
cmp qword [rbp + 0x268], 0
je 0x1400b2364
cmp qword [rbp + 0x158], 0
je 0x1400b2364
cmp qword [rbp + 0x48], 0
jne 0x1400b238e
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.14001c8d0
lea rdx, [0x1400233c0]
mov rcx, rax
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 0x1400b2423
lea rcx, [rbp - 0x38]
call fcn.14003e4d0
test rax, rax
jne 0x1400b23b9
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp + 0xd8]
call fcn.14003e4d0
test rax, rax
jne 0x1400b23ed
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp + 0x1e8]
call fcn.14003e4d0
test rax, rax
jne 0x1400b2421
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1e0]
add rcx, rax
xor r8d, r8d
mov edx, 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]
mov qword [rbp + rcx - 0x40], rdi
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.1400298f0
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 rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xd0], rdi
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xd8]
call fcn.1400298f0
lea rcx, [rbp + 0xe0]
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 + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1e0], rdi
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1e8]
call fcn.1400298f0
lea rcx, [rbp + 0x1f0]
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 + 0x288]
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 [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400b2544
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b253f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b253f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dd54c
movdqa xmm0, xmmword [0x1401093b0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400b259f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2592
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b2592
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dd54c
movdqa xmm0, xmmword [0x1401093b0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400b25f1
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b25e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b25e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dd54c
movdqa xmm0, xmmword [0x1401093b0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
cmp r13, 0xf
jbe 0x1400b2635
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400b262d
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b262d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400dd54c
movzx eax, bl
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400dd660
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140011f90
nop
call fcn.140011f70
nop
call fcn.140011f70
nop
call fcn.140011f70
int3