Function at 0x1400857f0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14036e4c0]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
mov dword [rsp + 0x7c], r8d
mov r14d, 2
mov qword [rbp - 0x78], rdx
mov edi, r8d
mov qword [rbp - 0x80], rcx
mov rbx, rcx
mov dword [rbp - 0x64], 0x10400
xor esi, esi
mov edx, r14d
mov ecx, r14d
mov qword [rbp - 0x70], rsi
mov r8d, reloc.WS2_32.dll_recvfrom
mov qword [rbp - 0x40], rsi
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x140085870
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400869a0
mov rax, qword [0x14033c3f0]
mov qword [rsp + 0x60], rax
test al, al
jne 0x140086838
mov qword [rsp + 0x198], r12
mov qword [rsp + 0x148], r13
mov qword [rsp + 0x140], r15
movaps xmmword [rsp + 0x130], xmm6
movsd xmm6, qword [0x14033ca30]
movaps xmmword [rsp + 0x120], xmm7
movsd xmm7, qword [0x14033ca28]
mov dword [rsp + 0x50], esi
mov eax, dword [rsp + 0x50]
mov esi, dword [rbp - 0x68]
mov r14d, dword [rbp - 0x68]
mov r15d, dword [rbp - 0x68]
mov r12d, dword [rbp - 0x68]
mov r13d, dword [rbp - 0x68]
movaps xmmword [rsp + 0x110], xmm8
movsd xmm8, qword [0x14033ca20]
movaps xmmword [rsp + 0x100], xmm9
movsd xmm9, qword [0x14033ca18]
nop dword [rax + rax]
call fcn.1400028f0
movsx edx, byte [0x14037c72a]
movsx ecx, al
imul edx, ecx
lea ebx, [rdx + rdx*4]
add ebx, ebx
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x140085bd9
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm6
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400859e7
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x1400859e7
mov esi, 3
jmp 0x140085a75
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085a75
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si esi, xmm0
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm6
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085b23
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x140085b23
mov r14d, 3
jmp 0x140085bb2
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085bb2
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si r14d, xmm0
movsxd rax, dword [rsp + 0x50]
mov r8d, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
and r8d, r14d
add r8d, r8d
mov edx, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
sub edx, r8d
add edx, esi
mov dword [rsp + rax*4 + 0x64], edx
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx edi, al
imul edi, ebx
add edi, edi
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, edi
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400864e9
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x140085ef2
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm7
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085cfe
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x140085cfe
mov r15d, 3
jmp 0x140085d8d
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085d8d
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si r15d, xmm0
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm7
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085e3b
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x140085e3b
mov r12d, 3
jmp 0x140085eca
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085eca
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si r12d, xmm0
movsxd rax, dword [rsp + 0x50]
mov r8d, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
and r8d, r12d
add r8d, r8d
mov edx, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
sub edx, r8d
add edx, r15d
mov dword [rsp + rax*4 + 0x64], edx
call fcn.1400028f0
movsx edx, byte [0x14037c72a]
movsx ecx, al
imul edx, ecx
lea ebx, [rdx + rdx*2]
add ebx, ebx
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x1400861d7
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm8
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140085fdb
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x140085fdb
mov r13d, 3
jmp 0x14008606a
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14008606a
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si r13d, xmm0
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm8
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14008611b
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x14008611b
mov dword [rsp + 0x68], 3
jmp 0x1400861ad
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400861ad
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si eax, xmm0
mov dword [rsp + 0x68], eax
movsxd rax, dword [rsp + 0x50]
mov r8d, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
and r8d, dword [rsp + 0x68]
add r8d, r8d
mov edx, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
sub edx, r8d
add edx, r13d
mov dword [rsp + rax*4 + 0x64], edx
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx edi, al
imul edi, ebx
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, edi
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400864e9
mov eax, dword [rsp + 0x50]
add eax, 0xffffff80
movd xmm2, eax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
cvtdq2pd xmm2, xmm2
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400862d7
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x1400862d7
mov edi, 3
mov dword [rsp + 0x6c], edi
jmp 0x14008636f
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14008636b
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si edi, xmm0
mov dword [rsp + 0x6c], edi
jmp 0x14008636f
mov edi, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x50]
add eax, 0xffffff80
movd xmm2, eax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
cvtdq2pd xmm2, xmm2
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14008642e
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x14008642e
mov dword [rsp + 0x70], 3
jmp 0x1400864c0
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400864c0
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si eax, xmm0
mov dword [rsp + 0x70], eax
movsxd rax, dword [rsp + 0x50]
mov r8d, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
and r8d, dword [rsp + 0x70]
add r8d, r8d
mov edx, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
sub edx, r8d
add edx, edi
mov dword [rsp + rax*4 + 0x64], edx
call fcn.1400028f0
movsx ecx, byte [0x14037c72a]
movsx edx, al
imul ecx, edx
imul ebx, ecx, 7
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x1400867d7
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm9
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400865d3
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x1400865d3
mov edi, 3
mov dword [rsp + 0x74], edi
jmp 0x14008666b
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140086667
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si edi, xmm0
mov dword [rsp + 0x74], edi
jmp 0x14008666b
mov edi, dword [rsp + 0x74]
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
movsx eax, byte [reloc.WS2_32.dll_closesocket]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm9
movsd qword [rsp + 0x58], xmm1
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*2]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14008671c
call fcn.1400028f0
movsx ebx, byte [0x14037c72a]
movsx ecx, al
imul ebx, ecx
shl ebx, 3
call fcn.140002920
movsx ecx, al
sub ebx, ecx
call fcn.140002900
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
movsx edx, al
add edx, ebx
add ecx, edx
je 0x14008671c
mov dword [rsp + 0x78], 3
jmp 0x1400867ae
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*4]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400867ae
call fcn.1400028e0
movsx ebx, al
call fcn.1400028d0
movsx ecx, al
imul ecx, ebx
lea ebx, [rcx + rcx*8]
call fcn.140002910
movsx ecx, al
xor edx, edx
movsx eax, byte [reloc.WS2_32.dll_htons]
add ecx, ebx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.WS2_32.dll_htonl]
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si eax, xmm0
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x50]
mov r8d, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
and r8d, dword [rsp + 0x78]
add r8d, r8d
mov edx, dword [rsp + rax*4 + 0x64]
movsxd rax, dword [rsp + 0x50]
sub edx, r8d
add edx, edi
mov dword [rsp + rax*4 + 0x64], edx
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp eax, 1
jb 0x140085900
movaps xmm9, xmmword [rsp + 0x100]
xor esi, esi
movaps xmm8, xmmword [rsp + 0x110]
mov r14d, 2
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
mov r15, qword [rsp + 0x140]
mov r13, qword [rsp + 0x148]
mov r12, qword [rsp + 0x198]
mov rbx, qword [rbp - 0x80]
mov edi, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x64]
lea r9, reloc.WS2_32.dll_getsockname
xor edx, edx
lea rcx, [rbp - 0x38]
mov r8d, gethostbyname
call qword [r9 + rax*8]
mov rcx, qword [rbp - 0x78]
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x38]
mov dword [rbp - 0x34], r14d
xor edx, edx
mov dword [rbp - 0x30], r14d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x140086884
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1400869a0
cmp qword [rbp - 0x70], 0
je 0x140086879
movzx ecx, di
mov word [rbp - 0x48], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x46], ax
mov r8d, reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x70]
lea rdx, [rbp - 0x48]
mov rcx, qword [rax + 0x20]
mov eax, dword [rcx + 4]
mov rcx, qword [rbx]
mov dword [rbp - 0x44], eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140085865
mov rcx, qword [rbx]
lea r9, [rbp - 0x64]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea r9, [rbp - 0x64]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea r9, [rbp - 0x5c]
mov edi, 1
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov dword [rbp - 0x5c], edi
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rsi
lea r8, [rbp - 0x58]
mov qword [rsp + 0x38], rsi
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x30], rax
mov edx, 0x98000004
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x58], edi
mov dword [rbp - 0x54], 0x2710
mov dword [rbp - 0x50], 0x2710
mov dword [rbp - 0x68], esi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rbx]
lea r9, [rbp - 0x60]
mov edx, 0xffff
mov dword [rbp - 0x60], 0xa0001
mov r8d, 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140150080
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret