Function at 0x140004f10
Capabilities:
Get socket status
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.14000ce50
sub rsp, rax
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov r12, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov r13d, r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r14d
mov byte [rcx + 0x22c], 1
mov ecx, 0x202
lea rdx, [rbp + 0x640]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140004f9a
lea rcx, str.Unable_to_initialize_Winsock._r_n
call fcn.1400015d0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea edx, [r8 + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov dword [r12 + 0x218], eax
cmp eax, 0xffffffff
je 0x140005007
mov word [rbp + 0x200], bx
mov ecx, 0xd2f0
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x202], ax
mov dword [rbp + 0x204], r14d
movsxd rcx, dword [r12 + 0x218]
lea r8d, [rbx + 0xe]
lea rdx, [rbp + 0x200]
call qword [sym.imp.WS2_32.dll_bind]
movsxd rcx, dword [r12 + 0x218]
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
movsxd rax, dword [r12 + 0x218]
mov qword [rbp - 0x18], rax
mov edi, 1
mov dword [rbp - 0x20], edi
cmp byte [r12 + 0x22c], r13b
je 0x1400052cb
nop dword [rax]
cmp dword [r12 + 0x218], 0xffffffff
je 0x1400052cb
lea rcx, [rbp + 0x430]
lea rax, [rbp - 0x20]
mov edx, 4
nop
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140005050
mov rax, qword [rax]
mov qword [rcx], rax
mov dword [rbp + 0x1f0], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x430]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov rcx, r14
mov qword [rsp + 0x58], rcx
cdqe
mov qword [rbp + 0x200], rax
test rax, rax
jle 0x1400052bc
nop word [rax + rax]
mov r15, qword [rbp + rcx*8 + 0x438]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x1f0]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_setsockopt]
movsxd rcx, dword [r12 + 0x218]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x1f0]
mov edx, 6
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
movsxd rcx, dword [r12 + 0x218]
cmp r15, rcx
jne 0x140005533
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_accept]
mov r14, rax
mov dword [rbp + 0x1f4], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x1f4]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov byte [rbp + 0x7e0], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x7e1], xmm0
mov dword [rbp + 0x7f1], eax
mov byte [rbp + 0x7f5], al
mov dword [rbp + 0x1f8], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x1f8]
lea rdx, [rbp + 0x290]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1400051dc
lea rcx, str.getpeername
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x1400051f8
mov r9d, 4
lea r8, [rbp + 0x7e0]
lea rdx, [rbp + 0x294]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 0x7f8]
mov qword [rsp + 0x20], rax
mov r9d, 0x401
lea r8, [rbp + 0x7e0]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x290]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov r9d, 0x401
lea r8, [rbp + 0x7e0]
lea rdx, [rbp + 0x294]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntop]
lea rcx, [rbp + 0x7f8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
je 0x140005f49
mov ecx, dword [r12 + 0x210]
inc ecx
mov dword [r12 + 0x210], ecx
mov ebx, 1
mov esi, ebx
cmp ecx, ebx
jl 0x14000529a
lea rax, [0x140013d38]
cmp dword [rax], 0
je 0x1400052fb
inc ebx
inc rsi
add rax, 0x20
cmp ebx, ecx
jle 0x140005288
xor r14d, r14d
mov ebx, 2
mov rcx, qword [rsp + 0x58]
inc rcx
mov qword [rsp + 0x58], rcx
cmp rcx, qword [rbp + 0x200]
jl 0x1400050f0
cmp byte [r12 + 0x22c], 0
jne 0x140005030
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.14000bd80
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shl rsi, 5
lea r13, [0x140000000]
mov dword [rsi + r13 + 0x13d18], r14d
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov r15, rax
mov qword [rsp + 0x40], rax
xor edx, edx
test edi, edi
je 0x14000533d
nop dword [rax]
cmp qword [rbp + rdx*8 - 0x18], r14
je 0x14000533d
inc edx
cmp edx, edi
jb 0x140005330
cmp edx, edi
jne 0x140005353
cmp edi, 0x40
jae 0x140005353
mov qword [rbp + rdx*8 - 0x18], r14
mov edi, dword [rbp - 0x20]
inc edi
mov dword [rbp - 0x20], edi
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x840]
call sub.VCRUNTIME140.dll_memset
mov qword [rsi + r13 + 0x13d08], r15
call fcn.140003fb0
mov qword [rsi + r13 + 0x13d00], rax
mov r15d, dword [rsi + r13 + 0x13d18]
lea rcx, [rbp + 0x7f8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r12d, eax
mov r13, qword [rsi + r13 + 0x13d00]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rdx, rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 0x210]
shl rcx, 5
lea r8, [0x140000000]
cmp dword [rcx + r8 + 0x13d10], 0
jne 0x140005416
mov dword [rcx + r8 + 0x13d18], r15d
movsxd rax, dword [rax + 0x210]
shl rax, 5
mov dword [rax + r8 + 0x13d10], r12d
mov r12, qword [rsp + 0x50]
movsxd rax, dword [r12 + 0x210]
shl rax, 5
mov qword [rax + r8 + 0x13d08], rdx
movsxd rax, dword [r12 + 0x210]
shl rax, 5
mov qword [rax + r8 + 0x13d00], r13
jmp 0x140005419
mov r12, rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, qword [rsi + r8 + 0x13d00]
lea r8, str.The_Voodoo:__s___i____s__r_n
mov edx, 0x400
lea rcx, [rbp + 0x840]
call fcn.140003de0
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x280], xmm0
lea rdx, [rbp + 0x840]
lea rcx, [rbp + 0x210]
call fcn.140008640
mov rdx, qword [rbp + 0x218]
test rdx, rdx
jne 0x1400054a6
xor r8d, r8d
jmp 0x1400054c1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400054b0
mov dword [rbp + 0x228], r8d
inc r8d
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
lea rbx, vtable.cString.0
mov qword [rbp + 0x210], rbx
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x1400054fb
call fcn.14000c01c
xor r14d, r14d
mov qword [rbp + 0x218], r14
jmp 0x1400054fe
xor r14d, r14d
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140005516
call fcn.14000c01c
mov qword [rbp + 0x220], r14
mov dword [rbp + 0x228], r14d
lea rcx, [rbp + 0x230]
call fcn.140001370
mov r13d, dword [rsp + 0x48]
jmp 0x14000529d
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xc40]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov r8d, 0x3ff
lea rdx, [rbp + 0xc40]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, r15
test eax, eax
jg 0x1400055b4
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, r14d
test edi, edi
je 0x1400052a2
cmp qword [rbp + rcx*8 - 0x18], r15
je 0x14000558a
inc ecx
cmp ecx, edi
jb 0x140005578
jmp 0x1400052a2
lea eax, [rdi - 1]
cmp ecx, eax
jae 0x1400055aa
lea edx, [rcx + 1]
mov rax, qword [rbp + rdx*8 - 0x18]
mov qword [rbp + rcx*8 - 0x18], rax
mov ecx, edx
mov edi, dword [rbp - 0x20]
lea eax, [rdi - 1]
cmp edx, eax
jb 0x140005591
dec edi
mov dword [rbp - 0x20], edi
jmp 0x1400052a2
mov byte [rbp + 0x7e0], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x7e1], xmm0
mov dword [rbp + 0x7f1], eax
mov byte [rbp + 0x7f5], al
mov dword [rbp + 0x1fc], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x1fc]
lea rdx, [rbp + 0x2a0]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x140005604
lea rcx, str.getpeername
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140005620
mov r9d, 4
lea r8, [rbp + 0x7e0]
lea rdx, [rbp + 0x2a4]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 0x818]
mov qword [rsp + 0x20], rax
mov r9d, 0x401
lea r8, [rbp + 0x7e0]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov r9d, 0x401
lea r8, [rbp + 0x7e0]
lea rdx, [rbp + 0x2a4]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntop]
lea rsi, [rbp + 0xc40]
lea rdx, [0x14000ecd8]
lea rcx, [rbp + 0xc40]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
je 0x1400056d2
nop word [rax + rax]
mov byte [rbx], 0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rsi
call fcn.1400047d0
lea rsi, [rbx + 2]
lea rdx, [0x14000ecd8]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
jne 0x1400056a0
cmp byte [rbp + 0xc40], 0
je 0x14000529d
mov esi, r14d
cmp dword [r12 + 0x210], 0
jl 0x1400057bb
lea rbx, [0x140013d18]
lea rdi, vtable.cString.0
nop
movsxd rax, dword [rbx]
cmp rax, r15
jne 0x1400057a4
xorps xmm0, xmm0
movups xmmword [rbp + 0x2b0], xmm0
movups xmmword [rbp + 0x2c0], xmm0
movups xmmword [rbp + 0x2d0], xmm0
movups xmmword [rbp + 0x2e0], xmm0
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
movups xmmword [rbp + 0x310], xmm0
movups xmmword [rbp + 0x320], xmm0
lea rdx, [rbp + 0xc40]
lea rcx, [rbp + 0x2b0]
call fcn.140008640
mov qword [rbp + 0x2b0], rdi
mov rcx, qword [rbp + 0x2b8]
test rcx, rcx
je 0x140005779
call fcn.14000c01c
mov qword [rbp + 0x2b8], r14
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140005791
call fcn.14000c01c
mov qword [rbp + 0x2c0], r14
mov dword [rbp + 0x2c8], r14d
lea rcx, [rbp + 0x2d0]
call fcn.140001370
inc esi
add rbx, 0x20
cmp esi, dword [r12 + 0x210]
jle 0x140005700
mov edi, dword [rbp - 0x20]
mov r14d, 1
cmp edi, r14d
jbe 0x140005a53
nop word [rax + rax]
mov eax, r14d
mov rsi, qword [rbp + rax*8 - 0x18]
movsxd rax, dword [r12 + 0x218]
cmp rsi, rax
je 0x140005a47
cmp rsi, r15
je 0x140005a47
lea rbx, [0x140013d20]
nop dword [rax]
lea rcx, [rbp + 0x818]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp dword [rbx + 0x10], eax
jne 0x140005a33
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x840]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140000000]
lea rax, [rax + 0xee38]
mov qword [rbp + 0x840], rax
lea rcx, [rbp + 0x8c8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r13d, 0x20
mov dword [rsp + 0x40], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x848]
lea rcx, [rbp + 0x840]
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 + 0x840]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x840], rax
mov rax, qword [rbp + 0x840]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x83c], edx
lea rcx, [rbp + 0x848]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x848], rax
mov qword [rbp + 0x8b0], 0
mov dword [rbp + 0x8b8], 4
lea rdx, str._SID:
lea rcx, [rbp + 0x840]
call fcn.140006cf0
mov rcx, rax
mov rdx, r15
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]
mov rcx, rax
lea rdx, str.___Name:
call fcn.140006cf0
mov rcx, rax
mov rdx, qword [rbx]
call fcn.140006cf0
mov rcx, rax
lea rdx, str.___Message:
call fcn.140006cf0
mov rcx, rax
lea rdx, [rbp + 0xc40]
call fcn.140006cf0
mov rcx, rax
lea rdx, [0x14000ed7c]
call fcn.140006cf0
lea rdx, [rbp + 0x7f8]
lea rcx, [rbp + 0x848]
call fcn.140006bf0
or r13d, 0x10
lea rdx, [rbp + 0x7f8]
cmp qword [rbp + 0x810], 0xf
cmova rdx, qword [rbp + 0x7f8]
mov r8d, dword [rbp + 0x808]
inc r8d
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x810]
cmp rdx, 0xf
jbe 0x1400059be
inc rdx
mov rcx, qword [rbp + 0x7f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f51
call fcn.14000c01c
mov qword [rbp + 0x808], 0
mov qword [rbp + 0x810], select
mov byte [rbp + 0x7f8], 0
mov rax, qword [rbp + 0x840]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x840], rax
mov rax, qword [rbp + 0x840]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x83c], edx
lea rcx, [rbp + 0x848]
call fcn.140006970
lea rcx, [rbp + 0x850]
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 + 0x8c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
add rbx, 0x20
lea rax, [0x140015ce0]
cmp rbx, rax
jl 0x140005800
inc r14d
cmp r14d, edi
jb 0x1400057d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x330], xmm0
movups xmmword [rbp + 0x340], xmm0
movups xmmword [rbp + 0x350], xmm0
movups xmmword [rbp + 0x360], xmm0
movups xmmword [rbp + 0x370], xmm0
movups xmmword [rbp + 0x380], xmm0
movups xmmword [rbp + 0x390], xmm0
movups xmmword [rbp + 0x3a0], xmm0
lea rdx, [rbp + 0xc40]
lea rcx, [rbp + 0x330]
call fcn.140008640
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x280], xmm0
lea r9, [0x14000e718]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x330]
call fcn.140008b20
or r13d, 8
lea r9, [0x14000e71c]
xor r8d, r8d
lea rdx, [rbp + 0x2b0]
lea rcx, [rsp + 0x60]
call fcn.140008b20
or r13d, 2
mov rdx, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x210]
call fcn.140008640
nop
lea rbx, vtable.cString.0
mov qword [rbp + 0x2b0], rbx
mov rcx, qword [rbp + 0x2b8]
test rcx, rcx
je 0x140005b5a
call fcn.14000c01c
xor r14d, r14d
mov qword [rbp + 0x2b8], r14
jmp 0x140005b5d
xor r14d, r14d
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140005b75
call fcn.14000c01c
mov qword [rbp + 0x2c0], r14
mov dword [rbp + 0x2c8], r14d
lea rcx, [rbp + 0x2d0]
call fcn.140001370
nop
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140005ba2
call fcn.14000c01c
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140005bb6
call fcn.14000c01c
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], r14d
lea rcx, [rbp - 0x80]
call fcn.140001370
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b0], xmm0
movups xmmword [rbp + 0x3c0], xmm0
movups xmmword [rbp + 0x3d0], xmm0
movups xmmword [rbp + 0x3e0], xmm0
movups xmmword [rbp + 0x3f0], xmm0
movups xmmword [rbp + 0x400], xmm0
movups xmmword [rbp + 0x410], xmm0
movups xmmword [rbp + 0x420], xmm0
lea r9, [0x14000e71c]
mov r8d, 1
lea rdx, [rbp + 0x840]
lea rcx, [rbp + 0x330]
call fcn.140008b20
or r13d, 4
mov dword [rsp + 0x48], r13d
mov rdx, qword [rbp + 0x848]
lea rcx, [rbp + 0x3b0]
call fcn.140008640
nop
mov qword [rbp + 0x840], rbx
mov rcx, qword [rbp + 0x848]
test rcx, rcx
je 0x140005c5b
call fcn.14000c01c
mov qword [rbp + 0x848], r14
mov rcx, qword [rbp + 0x850]
test rcx, rcx
je 0x140005c73
call fcn.14000c01c
mov qword [rbp + 0x850], r14
mov dword [rbp + 0x858], r14d
lea rcx, [rbp + 0x860]
call fcn.140001370
lea rbx, [0x140013d38]
mov esi, 0xff
movsxd rax, dword [rbx]
cmp rax, r15
jne 0x140005e4a
lea rdx, str.p2p.test
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
sub eax, dword [rbp + 0x218]
add eax, 1
jne 0x140005d50
lea r9, [0x14000e71c]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x210]
call fcn.140008b20
or r13d, 1
mov rcx, qword [0x140025c00]
add rcx, 0x1868
mov rax, qword [rbp + 0x3b8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
lea r8, str._cServer:__s____s__r_n
mov edx, r15d
call fcn.140004710
lea rax, vtable.cString.0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140005d2e
call fcn.14000c01c
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140005d42
call fcn.14000c01c
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], r14d
lea rcx, [rbp - 0x80]
call fcn.140001370
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x140005d6d
lea rdx, str.p2p.status
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005d8f
call fcn.140004ea0
mov rcx, qword [0x140025c00]
add rcx, 0x1868
mov r8d, eax
lea rdx, str._cServer:Module__P2P_Server_State__UP__i__
call fcn.140005fc0
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x140005db0
lea rdx, str.P2P.QUIT
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005e4a
movsxd rax, dword [rbx]
test eax, eax
je 0x140005e4a
cmp qword [rbx - 0x18], 0
je 0x140005e4a
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, r14d
test edi, edi
je 0x140005e23
movsxd rdx, dword [rbx]
nop dword [rax]
mov ecx, eax
cmp qword [rbp + rcx*8 - 0x18], rdx
je 0x140005df1
inc eax
cmp eax, edi
jb 0x140005de0
jmp 0x140005e23
lea ecx, [rdi - 1]
cmp eax, ecx
jae 0x140005e1e
nop dword [rax + rax]
lea r8d, [rax + 1]
mov edx, eax
mov rax, qword [rbp + r8*8 - 0x18]
mov qword [rbp + rdx*8 - 0x18], rax
mov eax, r8d
mov edi, dword [rbp - 0x20]
lea ecx, [rdi - 1]
cmp r8d, ecx
jb 0x140005e00
dec edi
mov dword [rbp - 0x20], edi
mov dword [rbx], r14d
mov qword [rbx - 0x10], r14
mov qword [rbx - 0x18], r14
mov dword [rbx - 8], r14d
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140004ea0
mov dword [r12 + 0x210], eax
add rbx, 0x20
sub rsi, 1
jne 0x140005c92
mov dword [rsp + 0x48], r13d
lea rbx, vtable.cString.0
mov qword [rbp + 0x3b0], rbx
mov rcx, qword [rbp + 0x3b8]
test rcx, rcx
je 0x140005e83
call fcn.14000c01c
mov qword [rbp + 0x3b8], r14
mov rcx, qword [rbp + 0x3c0]
test rcx, rcx
je 0x140005e9b
call fcn.14000c01c
mov qword [rbp + 0x3c0], r14
mov dword [rbp + 0x3c8], r14d
lea rcx, [rbp + 0x3d0]
call fcn.140001370
nop
mov qword [rbp + 0x210], rbx
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x140005ece
call fcn.14000c01c
mov qword [rbp + 0x218], r14
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140005ee6
call fcn.14000c01c
mov qword [rbp + 0x220], r14
mov dword [rbp + 0x228], r14d
lea rcx, [rbp + 0x230]
call fcn.140001370
nop
mov qword [rbp + 0x330], rbx
mov rcx, qword [rbp + 0x338]
test rcx, rcx
je 0x140005f19
call fcn.14000c01c
mov qword [rbp + 0x338], r14
mov rcx, qword [rbp + 0x340]
test rcx, rcx
je 0x140005f31
call fcn.14000c01c
mov qword [rbp + 0x340], r14
mov dword [rbp + 0x348], r14d
lea rcx, [rbp + 0x350]
call fcn.140001370
jmp 0x14000529d
xor r14d, r14d
jmp 0x1400052a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3