Function at 0x14030e320
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rbp + 0x17], rax
movzx r13d, dl
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x21], rax
mov r15, qword [rcx + 8]
sub r15, qword [rcx]
sar r15, 5
movsxd r12, r15d
mov qword [rbp - 0x79], r12
test r15d, r15d
je 0x14030e3b0
lea r8, [rsp + 0x30]
mov rdx, r12
lea rcx, [rbp - 0x31]
call fcn.14015e7c0
mov rax, qword [rbp - 0x21]
mov qword [rbp - 0x59], rax
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rbp - 0x31]
mov qword [rbp - 0x61], rbx
lea r9, [0x140544600]
test r15d, r15d
jle 0x14030e47e
lea rdi, [0x140544800]
mov eax, 0x5f5e0ff
mov rcx, r12
rep stosq qword [rdi], rax
mov r8, r12
shl r8, 2
xor edx, edx
mov rcx, r9
call fcn.14038d2f0
xor ecx, ecx
cmp r15d, 0x10
jb 0x14030e480
movdqa xmm2, xmmword [0x1404661f0]
mov eax, r15d
and eax, 0x8000000f
jge 0x14030e410
dec eax
or eax, 0xfffffff0
inc eax
mov r8d, r15d
sub r8d, eax
mov edi, 8
lea rdx, [rbx + 0x20]
nop
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
movdqu xmmword [rdx - 0x20], xmm0
lea eax, [rdi - 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmmword [rdx - 0x10], xmm1
movd xmm0, edi
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
movdqu xmmword [rdx], xmm0
lea eax, [rdi + 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmmword [rdx + 0x10], xmm1
add ecx, 0x10
add edi, 0x10
lea rdx, [rdx + 0x40]
cmp ecx, r8d
jl 0x14030e420
jmp 0x14030e480
xor ecx, ecx
movsxd rax, ecx
cmp rax, r12
jge 0x14030e49d
nop dword [rax + rax]
mov dword [rbx + rax*4], ecx
inc ecx
inc rax
cmp rax, r12
jl 0x14030e490
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x39], rax
xor r14d, r14d
test r15d, r15d
jle 0x14030e594
mov rbx, qword [rbp - 0x41]
nop
mov ecx, reloc.WS2_32.dll_recv
call fcn.14038a538
mov rdi, rax
mov qword [rbp + 7], rax
test rax, rax
je 0x14030e548
movsxd rsi, r14d
mov rax, qword [rbp - 0x61]
lea r12, [rax + rsi*4]
shl rsi, 5
mov rax, qword [rsp + 0x38]
add rsi, qword [rax]
mov ecx, 0x20
call fcn.14038a538
test rax, rax
je 0x14030e512
mov byte [rax], r13b
mov qword [rax + 8], r12
mov qword [rax + 0x10], rsi
lea rcx, [0x14030e1f0]
mov qword [rax + 0x18], rcx
mov qword [rbp - 0x51], rax
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14030df80]
xor edx, edx
xor ecx, ecx
call fcn.140398cdc
mov qword [rdi], rax
test rax, rax
je 0x14030ea1e
jmp 0x14030e54a
xor edi, edi
mov qword [rsp + 0x48], rdi
cmp rbx, qword [rbp - 0x69]
je 0x14030e562
mov qword [rbx], rdi
add rbx, 8
mov qword [rbp - 0x41], rbx
jmp 0x14030e57f
lea r8, [rsp + 0x48]
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14015d530
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x69], rax
mov rbx, qword [rbp - 0x41]
inc r14d
cmp r14d, r15d
jl 0x14030e4c0
mov r12, qword [rbp - 0x79]
mov rsi, qword [rsp + 0x38]
call fcn.1403874a4
mov rdi, rax
call fcn.140387488
mov r8, rax
cmp rdi, 0x989680
jne 0x14030e5b3
imul rbx, r8, 0x64
jmp 0x14030e5d6
cqo
idiv rdi
imul rbx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rdi
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rbx, rax
movabs rax, 0x7fffffffa697d0ff
movabs rcx, 0x7fffffffffffffff
cmp rbx, rax
jge 0x14030e5f8
add rbx, 0x59682f00
jmp 0x14030e5fb
mov rbx, rcx
movabs r14, 0x311cdad160000
movabs r15, 0x112e0be826d694b3
movsd xmm6, qword [0x1404209f0]
call fcn.1403874a4
mov rdi, rax
call fcn.140387488
mov r8, rax
cmp rdi, 0x989680
jne 0x14030e636
imul rdi, r8, 0x64
jmp 0x14030e65a
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rdi
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
lea rdi, [rax + rcx]
cmp rbx, rdi
je 0x14030e6b7
jl 0x14030e6b7
call fcn.14038759c
imul rcx, rax, 0x64
mov rax, rbx
sub rax, rdi
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
jbe 0x14030e683
add rcx, r14
jmp 0x14030e686
add rcx, rax
mov rax, r15
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 7], rdx
imul eax, edx, 0x3b9aca00
sub ecx, eax
mov dword [rbp + 0xf], ecx
lea rcx, [rbp + 7]
call fcn.140387694
jmp 0x14030e617
xor r8d, r8d
test r12, r12
jle 0x14030e8e8
mov eax, r8d
lea rcx, [0x140544600]
nop dword [rax]
lea r9, [0x140544800]
cmp dword [rcx + rax*4], r8d
jne 0x14030e6e5
mov qword [r9 + rax*8], 0x5f5e0ff
inc rax
cmp rax, r12
jl 0x14030e6d0
mov eax, r8d
mov rcx, r8
mov rdi, r8
mov rdx, r9
mov r10d, reloc.WS2_32.dll_shutdown
mov qword [rbp - 0x71], rdx
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], eax
inc eax
mov dword [rsp + 0x44], eax
mov r12d, eax
lea r15, [rcx + 1]
mov qword [rbp + 7], r15
lea rax, [rdi + 0x20]
mov qword [rbp - 0x51], rax
mov r13, qword [rbp - 0x79]
cmp r15, r13
jge 0x14030e8cc
mov r13, rax
nop word [rax + rax]
mov rax, qword [rdx]
mov rcx, qword [r9 + r15*8]
cmp rax, rcx
jbe 0x14030e89e
mov qword [rdx], rcx
mov qword [r9 + r15*8], rax
mov rbx, qword [rsi]
add rbx, rdi
mov qword [rbp - 0x19], r8
mov qword [rbp - 9], r8
mov qword [rbp - 1], r8
mov r14, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14030e777
mov rbx, qword [rbx]
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14030ea2f
cmp r14, 0x10
jae 0x14030e7aa
mov qword [rbp - 9], r14
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 1], rdi
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x19], xmm0
mov rsi, qword [rbp - 0x19]
jmp 0x14030e7ef
mov rdi, r14
or rdi, 0xf
cmp rdi, rax
jbe 0x14030e7bb
mov rdi, rax
jmp 0x14030e7c3
cmp rdi, 0x16
cmovb rdi, r10
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x19]
call fcn.140165820
mov rsi, rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 9], r14
mov qword [rbp - 1], rdi
lea r8, [r14 + 1]
mov rdx, rbx
mov rcx, rax
call fcn.14038cc40
nop
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
lea rdx, [rax + r13]
movsxd rcx, dword [rsp + 0x40]
shl rcx, 5
add rcx, rax
cmp rcx, rdx
je 0x14030e81f
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14030e81a
mov rdx, qword [rdx]
call fcn.140166130
movsxd rcx, r12d
shl rcx, 5
add rcx, qword [rbx]
lea rax, [rbp - 0x19]
cmp rcx, rax
je 0x14030e84e
lea rdx, [rbp - 0x19]
cmp rdi, 0x10
cmovae rdx, rsi
mov r8, r14
call fcn.140166130
mov rdi, qword [rbp - 1]
mov rsi, qword [rbp - 0x19]
cmp rdi, 0x10
jb 0x14030e885
lea rdx, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14030e87d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14030ea3b
mov rcx, rsi
call fcn.14038a574
mov r10d, reloc.WS2_32.dll_shutdown
lea r9, [0x140544800]
xor r8d, r8d
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x71]
inc r12d
inc r15
add r13, 0x20
cmp r15, qword [rbp - 0x79]
mov rsi, qword [rsp + 0x38]
jl 0x14030e740
mov eax, dword [rsp + 0x44]
add rdx, 8
mov rdi, qword [rbp - 0x51]
mov rcx, qword [rbp + 7]
jmp 0x14030e6ff
mov ecx, r8d
mov rax, r8
cmp qword [r9 + rax*8], 0x1e8480
jae 0x14030e8eb
inc ecx
inc rax
cmp rax, r13
jl 0x14030e8d2
jmp 0x14030e8eb
mov ecx, r8d
movsxd r14, ecx
shl r14, 5
add r14, qword [rsi]
cmp r14, qword [rsi + 8]
je 0x14030e965
mov rsi, qword [rsi + 8]
lea rdi, [r14 + 0x18]
mov rdx, qword [rdi]
cmp rdx, 0x10
jb 0x14030e940
mov rcx, qword [rdi - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x14030e938
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14030ea3b
mov rcx, r8
call fcn.14038a574
xor r8d, r8d
mov qword [rdi - 8], r8
mov byte [rdi - 0x18], 0
mov qword [rdi], reloc.WS2_32.dll_ntohs
add rdi, 0x20
lea rax, [rdi - 0x18]
cmp rax, rsi
jne 0x14030e903
mov rax, qword [rsp + 0x38]
mov qword [rax + 8], r14
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14030e9ac
mov rax, qword [rbp - 0x69]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14030e9a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14030ea35
call fcn.14038a574
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14030e9e6
mov rdx, qword [rbp - 0x59]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14030e9e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14030ea18
call fcn.14038a574
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14038a8e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14039178c
nop
mov dword [rsi], 0
mov ecx, 6
call fcn.140387b9c
nop
call fcn.140165580
nop
call fcn.14039178c
nop
call fcn.14039178c
int3