Function at 0x140097250
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x490]
sub rsp, 0x590
movaps xmmword [rsp + 0x580], xmm6
mov rax, qword [0x140128dc0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov r12, r8
mov qword [rbp + 0x40], r8
mov r15, rdx
mov qword [rsp + 0x68], rdx
mov r13, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x2b8], rdx
mov qword [rbp + 0x2b0], r8
xor edi, edi
mov dword [rsp + 0x70], edi
call fcn.14009a4f0
lea rcx, [rbp + 0x328]
call fcn.1400b64c0
nop
mov dword [rbp - 0x70], 0xd7cfd890
mov dword [rbp - 0x6c], 0xd9d5c9df
mov word [rbp - 0x68], 0x83
mov byte [rbp - 0x66], 1
mov dword [rbp - 0x78], 0xd4d9d990
mov dword [rbp - 0x74], 0x10086df
mov dword [rbp - 0x40], 0xcaddc490
mov dword [rbp - 0x3c], 0xd3d3d2c9
mov dword [rbp - 0x38], 0xfddbd7
mov byte [rbp - 0x34], 1
mov dword [rbp - 0x80], 0xd0cfdf90
mov dword [rbp - 0x7c], 0x10086de
mov dword [rsp + 0x78], 0xcad9c790
mov dword [rsp + 0x7c], 0x10086c9
mov dword [rbp - 0x60], 0xdccbc290
mov dword [rbp - 0x5c], 0xd0ddd5c8
mov dword [rbp - 0x58], 0x10082db
mov dword [rbp - 0x50], 0xdcc8cec2
mov dword [rbp - 0x4c], 0xdad3d787
mov dword [rbp - 0x48], 0x100d1d7
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x210]
call fcn.1400a4250
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14009736d
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14007c930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x1f0]
call fcn.1400a29a0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1400973c5
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.14007c930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x160]
call fcn.1400a29a0
nop
lea rdx, [rbp + 0x328]
cmp qword [rbp + 0x340], 0xf
cmova rdx, qword [rbp + 0x328]
mov r8, qword [rbp + 0x338]
mov rcx, rax
call fcn.14007c930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x70], 0x1c0
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x1d0]
call fcn.1400a4370
nop
lea r8, [r13 + 0x258]
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.14007d490
nop
lea r8, [rbp - 0x78]
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.1400a29a0
nop
mov r8, r13
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.14007d490
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400a2b60
nop
lea r8, [r13 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x348]
call fcn.14007d490
nop
mov r8, qword [rbp + 0x68]
cmp r8, 0xf
jbe 0x1400974ef
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.14007c4d0
movdqa xmm0, xmmword [0x1401086f0]
movdqu xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
mov r8, qword [rbp + 0x88]
cmp r8, 0xf
jbe 0x14009751a
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.14007c4d0
movdqa xmm0, xmmword [0x1401086f0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
lea rcx, [rbp + 0x190]
call fcn.1400013b0
nop
lea rcx, [rbp + 0x1b0]
call fcn.1400013b0
nop
lea rcx, [rbp + 0x1d0]
call fcn.1400013b0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400013b0
nop
lea rcx, [rbp + 0x160]
call fcn.1400013b0
nop
lea rcx, [rbp + 0xe0]
call fcn.1400013b0
nop
lea rcx, [rbp + 0x1f0]
call fcn.1400013b0
nop
lea rcx, [rbp + 0x100]
call fcn.1400013b0
nop
lea rcx, [rbp + 0x210]
call fcn.1400013b0
lea rax, [rbp + 0x230]
mov qword [rsp + 0x50], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp + 0x230]
call fcn.14007c2a0
mov rbx, rax
lea rdx, [rbp + 0x348]
lea rcx, [rbp + 0x250]
call fcn.14007c2a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x308]
call fcn.1400989d0
nop
mov qword [rbp + 0x2a8], rdi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x270]
lea rdx, [rbp + 0x308]
lea rcx, [rbp + 0x2c0]
call fcn.1400a32b0
nop
mov dword [rbp + 0x20], 0x4050801
mov dword [rbp + 0x24], 0x77131a11
xor eax, eax
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x30], eax
mov word [rbp + 0x34], ax
mov byte [rbp + 0x36], al
mov qword [rsp + 0x48], rdi
mov rax, qword [rsp + 0x48]
movabs r9, 0xd95872f287721d6e
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
movzx edx, byte [rbp + rax + 0x20]
add rcx, r9
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
add r8, rcx
add r8, rdx
sub r8b, 2
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x20], r8b
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x17
jb 0x140097650
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x2c0]
call fcn.1400995b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x2d0], xmm0
mov qword [rbp + 0x2e0], rdi
mov qword [rbp + 0x2e8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2d0], 0
mov dword [rsp + 0x70], 0x1e0
cmp byte [rax], 3
jne 0x1400976eb
mov rdx, qword [rax + 8]
lea rax, [rbp + 0x2d0]
cmp rax, rdx
je 0x140097709
jmp 0x1400976ee
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400976fc
mov rdx, qword [rdx]
lea rcx, [rbp + 0x2d0]
call fcn.14007c9c0
nop
mov dword [rsp + 0x70], 0x1d0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x370]
call fcn.1400a3400
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f0], xmm1
mov qword [rbp + 0x300], rdi
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0x2f0]
call fcn.14007ea00
mov rsi, qword [rbp + 0x2f0]
lea r14, [rsi + 0x20]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rbp + 0x2f8], r14
lea r8, [rbp + 0x308]
cmp qword [rbp + 0x320], 0xf
cmova r8, qword [rbp + 0x308]
lea rcx, [r13 + 0x278]
cmp qword [rcx + 0x18], 0xf
jbe 0x14009779e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x318]
mov rdx, qword [r13 + 0x288]
call fcn.1400b72f0
cmp rsi, r14
je 0x14009782a
movzx edi, byte [rsi]
lea rdx, [0x14007cef0]
lea rcx, [rbp + 0x380]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rbp + 0x180]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
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___int____ptr64]
inc rsi
cmp rsi, r14
jne 0x1400977c4
xor edi, edi
lea rbx, [0x140128940]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rbx, qword [0x140128940]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x370]
call fcn.1400a34c0
cmp qword [rax + 0x18], 0xf
jbe 0x140097860
mov rax, qword [rax]
nop
movd xmm2, dword [rbx]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm2, xmm0
movd xmm1, dword [rax + 4]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rbx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
orps xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
orps xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
orps xmm1, xmm0
movd ebx, xmm1
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x14009790f
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009790a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009790a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7584
movdqa xmm0, xmmword [0x1401086f0]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
test ebx, ebx
je 0x140098426
mov rax, qword [0x1401081c0]
mov qword [rsp + 0x58], rax
test al, al
jne 0x14009839a
mov dword [rsp + 0x40], edi
mov eax, dword [rsp + 0x40]
cmp eax, 1
jae 0x14009839a
call fcn.14009a130
movsx r9d, al
call fcn.14009a140
movsx ecx, al
imul r9d, ecx
call fcn.14009a170
movsx edi, al
lea eax, [rdi + r9*4]
add eax, r9d
mov dword [rsp + 0x48], eax
call fcn.14009a150
movsx r10d, al
call fcn.14009a180
movsx r11d, al
call fcn.14009a160
movsx ebx, al
movsd xmm3, qword [0x140106e70]
movsd xmm4, qword [0x140106e48]
movsd xmm5, qword [0x140106e50]
movsd xmm6, qword [0x140106e58]
mov r13d, dword [rsp + 0x48]
mov r15d, dword [rsp + 0x48]
mov r12d, dword [rsp + 0x48]
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [0x140129f41]
imul ecx, r10d
lea edx, [rcx + rcx*8]
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097bad
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm3
movsd qword [rsp + 0x50], xmm1
lea r14d, [rdi + r9*2]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097a6a
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097a6a
mov dword [rbp - 0x30], 6
jmp 0x140097abf
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097abf
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rbp - 0x30], eax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm3
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097b32
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097b32
mov r13d, 6
jmp 0x140097b85
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097b85
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si r13d, xmm0
movsxd rax, dword [rsp + 0x40]
mov r8d, dword [rsp + rax*4 + 0x5c]
and r8d, r13d
add r8d, r8d
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x5c]
sub edx, r8d
add edx, dword [rbp - 0x30]
movsxd rax, dword [rsp + 0x40]
mov dword [rsp + rax*4 + 0x5c], edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, dword [rsp + 0x48]
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140098193
movsx edx, byte [0x140129f41]
imul edx, r10d
shl edx, 2
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097daf
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm4
movsd qword [rsp + 0x50], xmm1
lea r14d, [rdi + r9*2]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097c6c
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097c6c
mov dword [rbp - 0x2c], 6
jmp 0x140097cc1
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097cc1
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rbp - 0x2c], eax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm4
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097d34
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097d34
mov r15d, 6
jmp 0x140097d87
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097d87
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si r15d, xmm0
movsxd rax, dword [rsp + 0x40]
mov r8d, dword [rsp + rax*4 + 0x5c]
and r8d, r15d
add r8d, r8d
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x5c]
sub edx, r8d
add edx, dword [rbp - 0x2c]
movsxd rax, dword [rsp + 0x40]
mov dword [rsp + rax*4 + 0x5c], edx
movsx ecx, byte [0x140129f41]
imul ecx, r10d
lea edx, [rcx + rcx*8]
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097f8c
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
movsd qword [rsp + 0x50], xmm1
lea r14d, [rdi + r9*2]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097e49
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097e49
mov dword [rbp - 0x28], 6
jmp 0x140097e9e
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097e9e
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rbp - 0x28], eax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097f11
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140097f11
mov r12d, 6
jmp 0x140097f64
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140097f64
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si r12d, xmm0
movsxd rax, dword [rsp + 0x40]
mov r8d, dword [rsp + rax*4 + 0x5c]
and r8d, r12d
add r8d, r8d
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x5c]
sub edx, r8d
add edx, dword [rbp - 0x28]
movsxd rax, dword [rsp + 0x40]
mov dword [rsp + rax*4 + 0x5c], edx
lea edx, [r9 + r9*4]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, edi
lea eax, [rax + rdx*2]
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140098193
mov eax, dword [rsp + 0x40]
sub eax, 0x70
movd xmm2, eax
cvtdq2pd xmm2, xmm2
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x50], xmm1
lea r14d, [rdi + r9*2]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14009803d
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x14009803d
mov dword [rbp - 0x24], 6
jmp 0x140098092
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140098092
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rbp - 0x24], eax
mov eax, dword [rsp + 0x40]
sub eax, 0x70
movd xmm2, eax
cvtdq2pd xmm2, xmm2
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140098115
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140098115
mov dword [rbp - 0x18], 6
jmp 0x14009816a
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14009816a
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rbp - 0x18], eax
movsxd rax, dword [rsp + 0x40]
mov r8d, dword [rsp + rax*4 + 0x5c]
and r8d, dword [rbp - 0x18]
add r8d, r8d
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x5c]
sub edx, r8d
add edx, dword [rbp - 0x24]
movsxd rax, dword [rsp + 0x40]
mov dword [rsp + rax*4 + 0x5c], edx
movsx ecx, byte [0x140129f41]
imul ecx, r10d
lea edx, [rcx + rcx*2]
add edx, edx
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x140098376
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm6
movsd qword [rsp + 0x50], xmm1
lea r14d, [rdi + r9*2]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14009822f
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x14009822f
mov dword [rbp - 0x1c], 6
jmp 0x140098284
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140098284
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rbp - 0x1c], eax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm6
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r14d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400982f8
movsx edx, byte [0x140129f41]
imul edx, r10d
sub edx, r11d
add edx, ebx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x1400982f8
mov dword [rbp - 0x20], 6
jmp 0x14009834d
lea esi, [rdi + r9*8]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14009834d
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rbp - 0x20], eax
movsxd rax, dword [rsp + 0x40]
mov r8d, dword [rsp + rax*4 + 0x5c]
and r8d, dword [rbp - 0x20]
add r8d, r8d
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x5c]
sub edx, r8d
add edx, dword [rbp - 0x1c]
movsxd rax, dword [rsp + 0x40]
mov dword [rsp + rax*4 + 0x5c], edx
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
cmp eax, 1
jb 0x1400979d0
mov r15, qword [rsp + 0x68]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp - 0x10]
mov byte [rsp + 0x58], 1
mov eax, dword [rsp + 0x5c]
lea rbx, reloc.WS2_32.dll_accept
mov rbx, qword [rbx + rax*8]
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x2e0]
sub rax, rcx
cmp rax, 9
jb 0x1400988bd
lea rax, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 0xf
cmova rax, qword [rbp + 0x2d0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 9
lea r9, [0x140114b30]
lea r8, [rbp + 0x2d0]
movzx edx, byte [rsp + 0x60]
lea rcx, [rbp + 0x140]
call fcn.14007c510
mov dword [rsp + 0x70], 0x1d1
lea rcx, [rbp + 0x140]
call rbx
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x40]
call fcn.14007eae0
mov rdx, rax
mov rcx, r13
call fcn.140099520
mov dword [rbp], 0x9495989b
mov dword [rbp + 4], 0x77818695
xor eax, eax
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], eax
mov word [rbp + 0x14], ax
mov byte [rbp + 0x16], al
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
movabs r9, 0xcfcfce62dbcbff2e
nop word [rax + rax]
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
movzx edx, byte [rbp + rax]
add r8, r9
mov eax, edx
and rax, r8
imul rcx, rax, 0xfffffffffffffffe
add rcx, rdx
add rcx, r8
sub cl, 0x42
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x17
jb 0x140098480
lea rdx, [rbp]
lea rcx, [rbp + 0x2c0]
call fcn.1400995b0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rbx
cmp byte [rcx], bl
je 0x1400985db
mov dword [rsp + 0x68], 0xd6ded9df
mov word [rsp + 0x6c], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 4
jb 0x140098500
mov byte [rsp + 0x6d], bl
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x120]
call fcn.1400a27f0
nop
movzx ecx, byte [rbp + 0x2c0]
test cl, cl
jne 0x140098557
mov byte [rbp + 0x2c0], 1
call fcn.1400a64a0
mov qword [rbp + 0x2c8], rax
movzx ecx, byte [rbp + 0x2c0]
jmp 0x14009855e
mov rax, qword [rbp + 0x2c8]
cmp cl, 1
jne 0x140098574
lea rdx, [rbp + 0x120]
mov rcx, rax
call fcn.14007f6f0
jmp 0x14009857b
mov rax, qword [rbp + 0x2b0]
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.14007eae0
mov rdx, rax
mov rcx, r13
call fcn.140098f40
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0xf
jbe 0x1400985db
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400985d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400985d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7584
nop
mov rcx, qword [rbp + 0x2f0]
test rcx, rcx
je 0x14009861f
mov rdx, qword [rbp + 0x300]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098619
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7584
nop
mov rax, qword [rbp + 0x370]
movsxd rcx, dword [rax + 4]
lea rax, [0x140108128]
mov qword [rbp + rcx + 0x370], rax
mov rax, qword [rbp + 0x370]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x36c], edx
lea rcx, [rbp + 0x388]
call fcn.1400a3730
lea rcx, [rbp + 0x390]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x408]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0xf
jbe 0x1400986bc
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400986b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400986b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7584
mov qword [rbp + 0x2e0], rbx
mov qword [rbp + 0x2e8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2d0], 0
movzx edx, byte [rbp + 0x2c0]
lea rcx, [rbp + 0x2c8]
call fcn.14007fd50
nop
mov rdx, qword [rbp + 0x320]
cmp rdx, 0xf
jbe 0x14009872d
inc rdx
mov rcx, qword [rbp + 0x308]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7584
mov qword [rbp + 0x318], rbx
mov qword [rbp + 0x320], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x308], 0
mov rdx, qword [rbp + 0x360]
cmp rdx, 0xf
jbe 0x14009878b
inc rdx
mov rcx, qword [rbp + 0x348]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098785
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098785
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7584
nop
mov rdx, qword [rbp + 0x340]
cmp rdx, 0xf
jbe 0x1400987cf
inc rdx
mov rcx, qword [rbp + 0x328]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400987ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400987ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7584
mov qword [rbp + 0x338], rbx
mov qword [rbp + 0x340], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x328], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140098822
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14009881d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400988af
mov rcx, r8
call fcn.1400b7584
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x14009886a
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140098865
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400988b6
mov rcx, r8
call fcn.1400b7584
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400b7810
mov rbx, qword [rsp + 0x5e8]
movaps xmm6, xmmword [rsp + 0x580]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140077c40
int3