Function at 0x1400563cc
Capabilities:
Create thread
Delete file
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
xor esi, esi
mov dword [rbp + 0x5e0], esi
lea r14d, [rsi + 1]
cmp ecx, r14d
jg 0x140056404
mov eax, r14d
jmp 0x140057174
call fcn.140053a4c
test al, al
jne 0x14005643c
lea rcx, [0x14006a060]
call fcn.1400571c0
xor r9d, r9d
lea r8, [0x140069fc0]
lea rdx, [0x14006a078]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140020ecc
test al, al
je 0x14005647b
lea rdx, [0x14006a090]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002be0
xor r9d, r9d
lea r8, [0x140069fc0]
lea rdx, [0x14006a0a8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x1400814f0]
call fcn.1400545ac
test al, al
jne 0x140056549
lea rdx, [0x14006a0c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002be0
xor r9d, r9d
lea r8, [0x140069fc0]
lea rdx, [0x14006a0e8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea r8, [0x140081430]
lea rdx, str.http:__
lea rcx, [rbp]
call fcn.140003094
nop
lea r8, [0x140068130]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140003034
nop
lea r8, [0x140081450]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140002f4c
nop
lea r8, str._help.html
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140003034
nop
mov rcx, rax
call fcn.14004044c
nop
lea rcx, [rbp - 0x20]
call fcn.140019590
nop
lea rcx, [rbp + 0x40]
call fcn.140019590
nop
lea rcx, [rbp - 0x60]
call fcn.140019590
nop
lea rcx, [rbp]
call fcn.140019590
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x14006a120]
call fcn.1400571c0
lea rdx, [0x140081410]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400025e8
lea rcx, [0x140081410]
call fcn.1400555e0
test al, al
jne 0x1400565a7
lea rcx, [0x14006a138]
call fcn.1400571c0
xor r9d, r9d
lea r8, [0x140069fc0]
lea rdx, str._u7b
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r15d, reloc.WS2_32.dll_ntohs
lea r12d, [r15 + 1]
mov r13d, 0x1000
cmp dword [0x1400870b0], r14d
jne 0x140056706
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x60], sil
lea r9, str.C:WindowsTempSange.sys
mov r8b, sil
lea edx, [r15 + 0xa]
lea rcx, [rsp + 0x60]
call fcn.140007040
nop
mov ebx, r14d
mov dword [rbp + 0x5e0], ebx
lea rcx, [rsp + 0x60]
call fcn.14005397c
test eax, eax
je 0x140056651
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x40], sil
lea r9, str.C:WindowsTempFileDriver.sys
mov r8b, sil
lea edx, [r15 + 0xf]
lea rcx, [rsp + 0x40]
call fcn.140007040
nop
lea ebx, [r15 - 0xc]
mov dword [rbp + 0x5e0], ebx
lea rcx, [rsp + 0x40]
call fcn.14005397c
cmp eax, r14d
mov dil, r14b
jne 0x140056654
mov dil, sil
test bl, 2
je 0x1400566a6
and ebx, 0xfffffffd
mov rdx, qword [rsp + 0x58]
cmp rdx, r12
jb 0x140056697
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x140056692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056692
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x40], sil
test r14b, bl
je 0x1400566e6
mov rdx, qword [rsp + 0x78]
cmp rdx, r12
jb 0x1400566e6
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r13
jb 0x1400566e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400566e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
test dil, dil
je 0x140056720
xor r9d, r9d
lea r8, [0x140069fc0]
lea rdx, str.:__R
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140056720
lea rcx, str.C:WindowsTempSange.sys
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.C:WindowsTempFileDriver.sys
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140052c6c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140053e54]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x14006a168]
call fcn.1400571c0
xor r9d, r9d
lea r8, [0x140069fc0]
lea rdx, str._tc_vNnx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov ebx, 7
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x60], si
lea r8d, [rbx + 6]
lea rdx, str.crossfire.exe
lea rcx, [rsp + 0x60]
call fcn.1400281fc
nop
lea rcx, [rsp + 0x60]
call fcn.1400548c4
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400567fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r13
jb 0x1400567f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400567f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov rcx, qword [reloc.WS2_32.dll_ntohl]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, rbx
jb 0x14005719d
lea rax, [0x140081430]
cmp qword [reloc.WS2_32.dll_ntohs], r12
cmovae rax, qword [0x140081430]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, str.http:__
lea r8, [0x140081430]
mov dl, byte [rbp + 0x5e0]
lea rcx, [rbp]
call fcn.140012018
nop
mov r8, r14
lea rdx, [0x140068130]
lea rcx, [rbp]
call fcn.140027c98
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r15
mov byte [rax], sil
lea rdx, [0x140081450]
cmp qword [reloc.WS2_32.dll_ntohs], r12
cmovae rdx, qword [0x140081450]
mov r8, qword [reloc.WS2_32.dll_getpeername]
lea rcx, [rsp + 0x60]
call fcn.140027c98
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r15
mov byte [rax], sil
mov r8d, 6
lea rdx, str.__key
lea rcx, [rbp - 0x40]
call fcn.140027c98
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r15
mov byte [rax], sil
lea rdx, [0x140081410]
cmp qword [reloc.WS2_32.dll_ntohs], r12
cmovae rdx, qword [0x140081410]
mov r8, qword [0x140081420]
lea rcx, [rsp + 0x40]
call fcn.140027c98
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r15
mov byte [rax], sil
mov rdx, qword [rsp + 0x58]
cmp rdx, r12
jb 0x1400569b1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x1400569ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400569ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x40], sil
mov rdx, qword [rbp - 0x28]
cmp rdx, r12
jb 0x1400569f9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x1400569f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400569f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r15
mov byte [rbp - 0x40], sil
mov rdx, qword [rsp + 0x78]
cmp rdx, r12
jb 0x140056a40
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r13
jb 0x140056a3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056a3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x60], sil
mov rdx, qword [rbp + 0x18]
cmp rdx, r12
jb 0x140056a88
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, r13
jb 0x140056a83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056a83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r15
mov byte [rbp], sil
lea rcx, [rbp + 0x20]
call fcn.14004044c
lea rcx, [0x140081410]
call fcn.140054a5c
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140056ac7
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140069fb0]
call fcn.140020e44
test eax, eax
mov ebx, eax
je 0x140056abc
lea rcx, [0x140069fb0]
call fcn.140020e44
test eax, eax
je 0x140056aed
cmp eax, ebx
jne 0x140056afa
mov ecx, reloc.WS2_32.dll_WSAGetLastError
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140056ad9
lea rcx, [0x140069fb0]
call fcn.140053ef8
test al, al
jne 0x140056b51
lea rdx, str.crossfire.exe
lea rcx, [rbp - 0x20]
call fcn.140012124
nop
lea rcx, [rbp - 0x20]
call fcn.1400548c4
nop
lea rcx, [rbp - 0x20]
call fcn.1400195ec
xor r9d, r9d
lea r8, [0x140069fc0]
lea rdx, [0x14006a1c0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140053e7c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x3a98
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 8
movabs r15, 0x7ff000000000
mov rdx, qword [0x140081160]
test rdx, rdx
jne 0x140056b99
mov rax, rsi
jmp 0x140056bd4
lea r8, [rbp + 0x5f0]
cmp dword [0x1400870b0], esi
jne 0x140056bbf
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov rcx, qword [0x1400870e8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x140056bcd
mov ecx, dword [0x1400870f0]
mov r9d, ebx
call fcn.140020f10
mov rax, qword [rbp + 0x5f0]
mov qword [0x1400870b8], rax
lea rdx, [0x14006a1d8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002be0
mov rdx, qword [0x1400870b8]
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x14000b11c]
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]
mov rax, qword [0x1400870b8]
cmp rax, r15
ja 0x140056c42
mov qword [rbp + 0x5f8], 5
lea rdx, [rbp + 0x5f8]
lea rcx, [rbp - 0x80]
call fcn.1400087b4
mov rcx, rax
call fcn.1400106ac
jmp 0x140056b88
sub rax, qword [0x140081138]
mov qword [0x1400870b8], rax
mov byte [0x1400870b6], r14b
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
mov rdx, qword [0x1400870b8]
cmp rdx, r15
mov r15d, reloc.WS2_32.dll_ntohs
jbe 0x140057139
mov byte [0x1400870b6], r14b
mov rax, qword [0x140081110]
mov qword [0x1400870d8], rax
mov rax, qword [0x140081118]
mov qword [0x1400870e0], rax
mov rcx, qword [0x140081120]
add rcx, rdx
mov qword [0x1400870c8], rcx
add rdx, qword [0x140081128]
mov qword [0x1400870c0], rdx
jne 0x140056ce4
mov rcx, rsi
jmp 0x140056d1f
lea r8, [rbp + 0x5f0]
cmp dword [0x1400870b0], esi
jne 0x140056d0a
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov rcx, qword [0x1400870e8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x140056d18
mov ecx, dword [0x1400870f0]
mov r9d, ebx
call fcn.140020f10
mov rcx, qword [rbp + 0x5f0]
add rcx, qword [0x140081130]
mov qword [0x1400870d0], rcx
lea rdx, [0x140081510]
lea rcx, [0x1400814b0]
call fcn.14001d674
mov rcx, qword [reloc.WS2_32.dll_ntohl]
mov rax, rdi
sub rax, rcx
cmp rax, 5
jb 0x1400571a3
lea rax, [0x1400814b0]
cmp qword [reloc.WS2_32.dll_ntohs], r12
cmovae rax, qword [0x1400814b0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 5
lea r9, str.ws:__
lea r8, [0x1400814b0]
mov dl, byte [rbp + 0x5e0]
lea rcx, [rbp - 0x60]
call fcn.140012018
nop
mov r8, r14
lea rdx, [0x140068130]
lea rcx, [rbp - 0x60]
call fcn.140027c98
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r15
mov byte [rax], sil
lea rdx, [0x1400814d0]
cmp qword [reloc.WS2_32.dll_ntohs], r12
cmovae rdx, qword [0x1400814d0]
mov r8, qword [reloc.WS2_32.dll_getpeername]
lea rcx, [rbp - 0x80]
call fcn.140027c98
mov qword [rbp - 0x20], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r15
mov byte [rax], sil
mov rdx, qword [rbp - 0x68]
cmp rdx, r12
jb 0x140056e5c
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r13
jb 0x140056e57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056e57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], r15
mov byte [rbp - 0x80], sil
mov rdx, qword [rbp - 0x48]
cmp rdx, r12
jb 0x140056ea1
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r13
jb 0x140056e9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056e9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x60], sil
lea rcx, [rbp + 0x60]
call fcn.140016560
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov rcx, r12
call fcn.14005d2c0
test rax, rax
je 0x140056ee1
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rax], xmm0
jmp 0x140056ee4
mov rax, rsi
mov qword [rbp + 0x5f0], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400067b8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14005718f
cmp dword [rbp - 0x78], esi
je 0x1400571a9
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400571b2
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x140081420]
sub rdi, rcx
cmp rdi, rbx
jb 0x1400571ba
lea rax, [0x140081410]
cmp qword [reloc.WS2_32.dll_ntohs], r12
cmovae rax, qword [0x140081410]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, str._key_:_
lea r8, [0x140081410]
mov dl, byte [rbp + 0x5e0]
lea rcx, [rbp - 0x60]
call fcn.140012018
nop
mov r8d, 2
lea rdx, [0x14006a1f0]
lea rcx, [rbp - 0x60]
call fcn.140027c98
mov qword [rbp + 0x40], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r15
mov byte [rax], sil
mov rdx, qword [rbp - 0x48]
cmp rdx, r12
jb 0x140057014
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r13
jb 0x14005700f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005700f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x60], sil
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.14004a390
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140053e54]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r15, [0x140000000]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbp + 0x60], sil
je 0x140057089
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rbp + 0x60], sil
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.14004a390
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x1400570ab
call fcn.140053f40
test al, al
je 0x1400570ab
lea rdx, [0x1400813f0]
lea rcx, [rbp + 0x60]
call fcn.14004a390
mov ecx, 0x4b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14005705c
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14005705c
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
xor byte [0x1400870b4], r14b
mov rbx, rsi
mov rdx, qword [r15 + rbx*8 + 0x81170]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002be0
lea rdx, [0x14000b11c]
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]
mov byte [rbx + r15 + 0x812d0], sil
lea rdx, [0x140081370]
lea rcx, [0x140081350]
call fcn.14001d674
add rbx, r14
cmp rbx, 0x2c
jl 0x1400570e1
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14005705c
mov rdx, qword [rbp + 0x38]
cmp rdx, r12
jb 0x140057172
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r13
jb 0x14005716d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005716d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d304
xor eax, eax
mov rbx, qword [rsp + 0x6e8]
add rsp, 0x6a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x78], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.140027548
nop
call fcn.140027548
nop
mov ecx, r14d
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
call fcn.140027548
int3