Function at 0x140018510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
xor ebx, ebx
mov dword [rbp + 0x1a0], ebx
lea rdx, str.C:Windowskey.txt
lea rcx, [rsp + 0x70]
call fcn.14001bc30
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], bl
mov dword [rbp + 0x1a0], 1
cmp qword [rbp], rbx
je 0x1400185c1
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
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 + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14001fd80
lea rcx, [rbp - 0x80]
call fcn.14001d370
test rax, rax
jne 0x1400185c1
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [rbx + 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 [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.14001bbc0
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop word [rax + rax]
lea rcx, [0x140474060]
call fcn.140068630
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140018350
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14001867e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018679
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400187f5
call fcn.1401263f0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x40], 0
jne 0x14001879e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14001e4a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140002b90
mov rdx, rax
lea rcx, [0x140474060]
call fcn.140069b60
cmp byte [0x140474270], 0
je 0x1400187c0
mov r8d, 2
lea rdx, str.C:Windowskey.txt
lea rcx, [rbp + 0x80]
call fcn.14001af30
nop
cmp qword [rbp + 0x108], 0
je 0x1400187fc
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.14001fbc0
lea rcx, [rbp + 0x88]
call fcn.14001d370
test rax, rax
jne 0x140018744
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
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 + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_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 - 0xa8]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x88]
call fcn.14001bbc0
lea rcx, [rbp + 0x90]
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 + 0x128]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x1400188cc
lea rcx, [rsp + 0x50]
call fcn.140002b90
mov rdx, rax
lea rcx, [0x140474060]
call fcn.140069b60
cmp byte [0x140474270], 0
jne 0x140018838
lea rcx, [0x140474278]
call fcn.140018350
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov byte [rax], 0
jmp 0x140018610
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.Erro_ao_salvar_a_chave.
lea rcx, [rsp + 0x50]
call fcn.1400027d0
lea rcx, [rsp + 0x50]
call fcn.140018350
lea rcx, [rsp + 0x50]
call fcn.140002770
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov qword [rsp + 0x58], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14012616c
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x68], Ordinal_32
movups xmm0, xmmword [str.Checking_License.]
movups xmmword [rax], xmm0
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rax + 0x10], cl
mov byte [rax + 0x11], 0
lea rcx, [rsp + 0x50]
call fcn.140018350
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400188c0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400188bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400188bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401263f0
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001890c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018907
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018907
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401263f0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rbp
ret