Function at 0x140007620
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 - 0x2850]
mov eax, 0x2950
call fcn.1400105a0
sub rsp, rax
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rbp + 0x2840], 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 0x1400076aa
lea rcx, str.Unable_to_initialize_Winsock._r_n
call fcn.140003890
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 0x140007717
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 0x1400079db
nop dword [rax]
cmp dword [r12 + 0x218], 0xffffffff
je 0x1400079db
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 0x140007760
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 0x1400079cc
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 0x140007c83
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 0x1400078ec
lea rcx, str.getpeername
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140007908
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 0x1400086c9
mov ecx, dword [r12 + 0x210]
inc ecx
mov dword [r12 + 0x210], ecx
mov ebx, 1
mov esi, ebx
cmp ecx, ebx
jl 0x1400079aa
lea rax, [0x140017d68]
cmp dword [rax], 0
je 0x140007a0b
inc ebx
inc rsi
add rax, 0x20
cmp ebx, ecx
jle 0x140007998
xor r14d, r14d
mov ebx, 2
mov rcx, qword [rsp + 0x58]
inc rcx
mov qword [rsp + 0x58], rcx
cmp rcx, qword [rbp + 0x200]
jl 0x140007800
cmp byte [r12 + 0x22c], 0
jne 0x140007740
mov rcx, qword [rbp + 0x2840]
xor rcx, rsp
call fcn.14000f4d0
lea r11, [rsp + 0x2950]
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 + 0x17d48], 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 0x140007a4d
nop dword [rax]
cmp qword [rbp + rdx*8 - 0x18], r14
je 0x140007a4d
inc edx
cmp edx, edi
jb 0x140007a40
cmp edx, edi
jne 0x140007a63
cmp edi, 0x40
jae 0x140007a63
mov qword [rbp + rdx*8 - 0x18], r14
mov edi, dword [rbp - 0x20]
inc edi
mov dword [rbp - 0x20], edi
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x840]
call sub.VCRUNTIME140.dll_memset
mov qword [rsi + r13 + 0x17d38], r15
call fcn.1400066c0
mov qword [rsi + r13 + 0x17d30], rax
lea rcx, [rbp + 0x7f8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [0x140029c30]
add rcx, 0x1868
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
mov r9, r15
mov r8, qword [rsi + r13 + 0x17d30]
lea rdx, [0x1400123a0]
call fcn.1400031a0
mov r15d, dword [rsi + r13 + 0x17d48]
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 + 0x17d30]
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 + 0x17d40], 0
jne 0x140007b61
mov dword [rcx + r8 + 0x17d48], r15d
movsxd rax, dword [rax + 0x210]
shl rax, 5
mov dword [rax + r8 + 0x17d40], r12d
mov r12, qword [rsp + 0x50]
movsxd rax, dword [r12 + 0x210]
shl rax, 5
mov qword [rax + r8 + 0x17d38], rdx
movsxd rax, dword [r12 + 0x210]
shl rax, 5
mov qword [rax + r8 + 0x17d30], r13
jmp 0x140007b64
mov r12, rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, qword [rsi + r8 + 0x17d30]
lea r8, str.The_Voodoo:__s___i____s__r_n
mov edx, 0x1000
lea rcx, [rbp + 0x840]
call fcn.1400064b0
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.14000b450
mov rdx, qword [rbp + 0x218]
test rdx, rdx
jne 0x140007bf1
xor r8d, r8d
jmp 0x140007c11
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140007c00
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 0x140007c4b
call fcn.14000f76c
xor r14d, r14d
mov qword [rbp + 0x218], r14
jmp 0x140007c4e
xor r14d, r14d
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140007c66
call fcn.14000f76c
mov qword [rbp + 0x220], r14
mov dword [rbp + 0x228], r14d
lea rcx, [rbp + 0x230]
call fcn.140001560
mov r13d, dword [rsp + 0x48]
jmp 0x1400079ad
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1840]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov r8d, 0xfff
lea rdx, [rbp + 0x1840]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, r15
test eax, eax
jg 0x140007d04
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, r14d
test edi, edi
je 0x1400079b2
cmp qword [rbp + rcx*8 - 0x18], r15
je 0x140007cda
inc ecx
cmp ecx, edi
jb 0x140007cc8
jmp 0x1400079b2
lea eax, [rdi - 1]
cmp ecx, eax
jae 0x140007cfa
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 0x140007ce1
dec edi
mov dword [rbp - 0x20], edi
jmp 0x1400079b2
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 0x140007d54
lea rcx, str.getpeername
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140007d70
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 + 0x1840]
lea rdx, [0x140012318]
lea rcx, [rbp + 0x1840]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
je 0x140007e22
nop word [rax + rax]
mov byte [rbx], 0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rsi
call fcn.140006ee0
lea rsi, [rbx + 2]
lea rdx, [0x140012318]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
jne 0x140007df0
cmp byte [rbp + 0x1840], 0
je 0x1400079ad
mov esi, r14d
cmp dword [r12 + 0x210], 0
jl 0x140007f40
lea rbx, [0x140017d40]
lea rdi, vtable.cString.0
nop
movsxd rax, dword [rbx + 8]
cmp rax, r15
jne 0x140007f29
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 + 0x1840]
lea rcx, [rbp + 0x2b0]
call fcn.14000b450
mov rcx, qword [0x140029c30]
add rcx, 0x1868
lea rax, [rbp + 0x1840]
mov qword [rsp + 0x28], rax
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov r9, qword [rbx - 8]
mov r8, qword [rbx - 0x10]
lea rdx, [0x140012440]
call fcn.1400031a0
mov qword [rbp + 0x2b0], rdi
mov rcx, qword [rbp + 0x2b8]
test rcx, rcx
je 0x140007efe
call fcn.14000f76c
mov qword [rbp + 0x2b8], r14
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140007f16
call fcn.14000f76c
mov qword [rbp + 0x2c0], r14
mov dword [rbp + 0x2c8], r14d
lea rcx, [rbp + 0x2d0]
call fcn.140001560
inc esi
add rbx, 0x20
cmp esi, dword [r12 + 0x210]
jle 0x140007e50
mov edi, dword [rbp - 0x20]
mov r14d, 1
cmp edi, r14d
jbe 0x1400081d3
nop
mov eax, r14d
mov rsi, qword [rbp + rax*8 - 0x18]
movsxd rax, dword [r12 + 0x218]
cmp rsi, rax
je 0x1400081c7
cmp rsi, r15
je 0x1400081c7
lea rbx, [0x140017d50]
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 0x1400081b3
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x840]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140000000]
lea rax, [rax + 0x12570]
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, 0x10
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.140009470
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.140009470
mov rcx, rax
mov rdx, qword [rbx]
call fcn.140009470
mov rcx, rax
lea rdx, str.___Message:
call fcn.140009470
mov rcx, rax
lea rdx, [rbp + 0x1840]
call fcn.140009470
mov rcx, rax
lea rdx, [0x1400124b4]
call fcn.140009470
lea rdx, [rbp + 0x7f8]
lea rcx, [rbp + 0x848]
call fcn.140009370
or r13d, 0x20
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 0x14000813e
inc rdx
mov rcx, qword [rbp + 0x7f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400086d1
call fcn.14000f76c
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.1400090f0
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, [0x140019d10]
cmp rbx, rax
jl 0x140007f80
inc r14d
cmp r14d, edi
jb 0x140007f50
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 + 0x1840]
lea rcx, [rbp + 0x330]
call fcn.14000b450
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, [0x140011748]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x330]
call fcn.14000ba30
or r13d, 2
lea r9, [0x1400118b8]
xor r8d, r8d
lea rdx, [rbp + 0x2b0]
lea rcx, [rsp + 0x60]
call fcn.14000ba30
or r13d, 4
mov rdx, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x210]
call fcn.14000b450
nop
lea rbx, vtable.cString.0
mov qword [rbp + 0x2b0], rbx
mov rcx, qword [rbp + 0x2b8]
test rcx, rcx
je 0x1400082da
call fcn.14000f76c
xor r14d, r14d
mov qword [rbp + 0x2b8], r14
jmp 0x1400082dd
xor r14d, r14d
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x1400082f5
call fcn.14000f76c
mov qword [rbp + 0x2c0], r14
mov dword [rbp + 0x2c8], r14d
lea rcx, [rbp + 0x2d0]
call fcn.140001560
nop
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140008322
call fcn.14000f76c
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140008336
call fcn.14000f76c
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], r14d
lea rcx, [rbp - 0x80]
call fcn.140001560
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, [0x1400118b8]
mov r8d, 1
lea rdx, [rbp + 0x840]
lea rcx, [rbp + 0x330]
call fcn.14000ba30
or r13d, 8
mov dword [rsp + 0x48], r13d
mov rdx, qword [rbp + 0x848]
lea rcx, [rbp + 0x3b0]
call fcn.14000b450
nop
mov qword [rbp + 0x840], rbx
mov rcx, qword [rbp + 0x848]
test rcx, rcx
je 0x1400083db
call fcn.14000f76c
mov qword [rbp + 0x848], r14
mov rcx, qword [rbp + 0x850]
test rcx, rcx
je 0x1400083f3
call fcn.14000f76c
mov qword [rbp + 0x850], r14
mov dword [rbp + 0x858], r14d
lea rcx, [rbp + 0x860]
call fcn.140001560
lea rbx, [0x140017d68]
mov esi, 0xff
movsxd rax, dword [rbx]
cmp rax, r15
jne 0x1400085ca
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 0x1400084d0
lea r9, [0x1400118b8]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x210]
call fcn.14000ba30
or r13d, 1
mov rcx, qword [0x140029c30]
add rcx, 0x2228
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.140006e20
lea rax, vtable.cString.0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400084ae
call fcn.14000f76c
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400084c2
call fcn.14000f76c
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], r14d
lea rcx, [rbp - 0x80]
call fcn.140001560
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x1400084ed
lea rdx, str.p2p.status
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000850f
call fcn.1400075b0
mov rcx, qword [0x140029c30]
add rcx, 0x2228
mov r8d, eax
lea rdx, str._cServer:Module__P2P_Server_State__UP__i__
call fcn.140008740
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x140008530
lea rdx, str.P2P.QUIT
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400085ca
movsxd rax, dword [rbx]
test eax, eax
je 0x1400085ca
cmp qword [rbx - 0x18], 0
je 0x1400085ca
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, r14d
test edi, edi
je 0x1400085a3
movsxd rdx, dword [rbx]
nop dword [rax]
mov ecx, eax
cmp qword [rbp + rcx*8 - 0x18], rdx
je 0x140008571
inc eax
cmp eax, edi
jb 0x140008560
jmp 0x1400085a3
lea ecx, [rdi - 1]
cmp eax, ecx
jae 0x14000859e
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 0x140008580
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.1400075b0
mov dword [r12 + 0x210], eax
add rbx, 0x20
sub rsi, 1
jne 0x140008412
mov dword [rsp + 0x48], r13d
lea rbx, vtable.cString.0
mov qword [rbp + 0x3b0], rbx
mov rcx, qword [rbp + 0x3b8]
test rcx, rcx
je 0x140008603
call fcn.14000f76c
mov qword [rbp + 0x3b8], r14
mov rcx, qword [rbp + 0x3c0]
test rcx, rcx
je 0x14000861b
call fcn.14000f76c
mov qword [rbp + 0x3c0], r14
mov dword [rbp + 0x3c8], r14d
lea rcx, [rbp + 0x3d0]
call fcn.140001560
nop
mov qword [rbp + 0x210], rbx
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x14000864e
call fcn.14000f76c
mov qword [rbp + 0x218], r14
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140008666
call fcn.14000f76c
mov qword [rbp + 0x220], r14
mov dword [rbp + 0x228], r14d
lea rcx, [rbp + 0x230]
call fcn.140001560
nop
mov qword [rbp + 0x330], rbx
mov rcx, qword [rbp + 0x338]
test rcx, rcx
je 0x140008699
call fcn.14000f76c
mov qword [rbp + 0x338], r14
mov rcx, qword [rbp + 0x340]
test rcx, rcx
je 0x1400086b1
call fcn.14000f76c
mov qword [rbp + 0x340], r14
mov dword [rbp + 0x348], r14d
lea rcx, [rbp + 0x350]
call fcn.140001560
jmp 0x1400079ad
xor r14d, r14d
jmp 0x1400079b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3