Function at 0x140002710
Capabilities:
Delete file
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400940c0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [0x140095698], rbx
lea rax, [0x140095688]
cmp qword [0x1400956a0], 0xf
cmova rax, qword [0x140095688]
mov byte [rax], bl
mov qword [0x1400953c0], rbx
lea rax, [0x1400953b0]
cmp qword [0x1400953c8], 0xf
cmova rax, qword [0x1400953b0]
mov byte [rax], bl
mov qword [0x1400956b8], rbx
lea rax, [0x1400956a8]
cmp qword [0x1400956c0], 0xf
cmova rax, qword [0x1400956a8]
mov byte [rax], bl
mov qword [0x1400953a0], rbx
lea rax, [0x140095390]
cmp qword [0x1400953a8], 0xf
cmova rax, qword [0x140095390]
mov byte [rax], bl
mov qword [0x1400953e0], rbx
lea rax, [0x1400953d0]
cmp qword [0x1400953e8], 0xf
cmova rax, qword [0x1400953d0]
mov byte [rax], bl
lea rcx, [0x1400953f0]
call fcn.140018120
cmp byte [0x140095620], bl
jne 0x14000286e
lea rdx, [rsp + 0x28]
call fcn.140002cd0
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140002839
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x36
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x38
xor byte [rax + 8], 0x39
xor byte [rax + 9], 0x3a
xor cl, 0x3b
mov byte [rax + 0xa], cl
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x140095628]
call fcn.1400048c0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], bl
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rsi, [0x140000000]
lea rax, [rsi + 0x87968]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x70], rdi
mov byte [rbp + 0xc], 0
mov byte [rbp + 1], 0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x10], rbx
mov rax, qword [0x140095700]
mov qword [rbp + 4], rax
mov qword [rbp - 8], rbx
mov r9d, 0x40
mov r8d, 1
lea rdx, str.license_key.txt
lea rcx, [rbp - 0x70]
call fcn.140004190
test rax, rax
jne 0x140002972
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
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]
nop
cmp qword [rbp + 0x10], 0
je 0x1400029f5
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.1400051f0
lea rcx, [rbp - 0x70]
call fcn.1400040d0
test rax, rax
jne 0x1400029cd
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
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 rdx, str.Auto_Logged_in.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x1400048e0]
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]
jmp 0x140002bae
lea rdx, str.Enter_License:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x1400048e0]
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]
lea rdx, [rsp + 0x58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004920
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsi + 0x87958]
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x98], rdi
mov byte [rbp + 0x114], 0
mov byte [rbp + 0x109], 0
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x118], rbx
mov rax, qword [0x140095700]
mov qword [rbp + 0x10c], rax
mov qword [rbp + 0x100], rbx
mov r9d, 0x40
mov r8d, 2
lea rdx, str.license_key.txt
lea rcx, [rbp + 0x98]
call fcn.140004190
test rax, rax
jne 0x140002b41
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
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]
nop
cmp qword [rbp + 0x118], 0
je 0x140002ba2
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [rbp + 0x90]
call fcn.140005030
lea rcx, [rbp + 0x98]
call fcn.1400040d0
test rax, rax
jne 0x140002ba2
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
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]
nop
lea rcx, [rbp + 0x90]
call fcn.140002dc0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140003db0
mov rdx, rax
lea rcx, [0x1400953f0]
call fcn.14001a080
cmp byte [0x140095620], 0
jne 0x140002c5a
lea rdx, [rsp + 0x28]
call fcn.140002cd0
movzx edx, byte [rax + 0xa]
test dl, dl
je 0x140002c18
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x36
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x38
xor byte [rax + 8], 0x39
xor byte [rax + 9], 0x3a
xor dl, 0x3b
mov byte [rax + 0xa], dl
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x140095628]
call fcn.1400048c0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.license_key.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rbp - 0x80]
call fcn.140002d00
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140002ca4
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006fa10
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14006f750
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret