Function at 0x1400139f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbx, qword [0x140190150]
xor esi, esi
xor bpl, bpl
mov edi, esi
mov eax, dword [rbx + 0x1ad0]
sub eax, 1
js 0x140013a4f
movsxd rdx, eax
mov rax, qword [rbx + 0x1ad8]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop
mov rax, qword [r8]
test rax, rax
je 0x140013a45
test dword [rax + 0xc], 0x8000000
jne 0x140013b0c
sub r8, 0x30
sub rdx, 1
jns 0x140013a30
mov qword [rsp + 0x80], r14
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
cmp qword [rbx + 0x1bb0], rsi
je 0x140013aab
cmp qword [rbx + 0x1ba8], rsi
jne 0x140013aab
comiss xmm6, dword [rbx + 0x1ce8]
movss xmm1, dword [rbx + 0x1bc4]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140182a44]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1bc4], xmm1
jb 0x140013aab
comiss xmm6, xmm1
jb 0x140013aab
mov qword [rbx + 0x1bb0], rsi
mov r9, qword [rbx + 0x1ba8]
mov r14d, 1
test r9, r9
jne 0x140013acf
mov edx, r14d
mov ecx, 3
call fcn.140011a50
comiss xmm0, xmm6
ja 0x140013ada
xor dl, dl
test r9, r9
jne 0x140013b9e
cmp byte [rbx + 0x150], sil
je 0x140013b9e
movsxd rax, dword [rbx + 0x3c]
test eax, eax
js 0x140013b9e
movss xmm1, dword [rbx + rax*4 + 0x4c8]
ucomiss xmm1, xmm6
jp 0x140013b23
jne 0x140013b23
movzx eax, r14b
jmp 0x140013b8e
mov qword [rbx + 0x1ba8], rsi
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
movss xmm2, dword [rbx + 0x94]
comiss xmm1, xmm2
jbe 0x140013b8c
ucomiss xmm1, xmm6
movss xmm3, dword [rbx + 0x98]
jp 0x140013b49
jne 0x140013b49
mov eax, r14d
test eax, eax
setg al
jmp 0x140013b8e
comiss xmm2, xmm1
jae 0x140013b83
comiss xmm6, xmm3
jae 0x140013b83
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [rbx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
mov eax, esi
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x140013b8e
mov eax, esi
test eax, eax
setg al
jmp 0x140013b8e
xor al, al
test al, al
je 0x140013b9e
test byte [rbx + 8], r14b
je 0x140013b9e
movzx r9d, r14b
jmp 0x140013ba1
xor r9b, r9b
test dl, dl
jne 0x140013bae
test r9b, r9b
je 0x140013c3e
mov rax, qword [rbx + 0x1b68]
test rax, rax
jne 0x140013c13
movsxd rcx, dword [rbx + 0x19d0]
lea edx, [rcx - 1]
test edx, edx
js 0x140013c0b
movsxd rax, edx
mov r10, rcx
nop
cmp rax, r10
jge 0x140013c0b
cmp rax, 0xffffffff80000001
je 0x140013c0b
mov r8, qword [rbx + 0x19d8]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0x7a], sil
je 0x140013c04
cmp rcx, qword [rcx + 0x378]
jne 0x140013c04
test dword [rcx + 0xc], 0x80000
je 0x140013c97
dec edx
sub rax, r14
jns 0x140013bd0
mov rax, rsi
test rax, rax
je 0x140013c3e
xor r9b, r14b
mov qword [rbx + 0x1bb0], rax
mov qword [rbx + 0x1ba8], rax
movzx eax, r9b
mov byte [rbx + 0x1bc8], al
add eax, 3
mov dword [rbx + 0x1b90], eax
mov qword [rbx + 0x1bc0], rsi
movss xmm0, dword [rbx + 0x1bc0]
addss xmm0, dword [rbx + 0x18]
mov r10, qword [rbx + 0x1ba8]
movss xmm5, dword [0x1401828b4]
movaps xmmword [rsp + 0x30], xmm7
movss dword [rbx + 0x1bc0], xmm0
test r10, r10
je 0x140013e50
cmp dword [rbx + 0x1b90], 4
jne 0x140013d53
subss xmm0, dword [0x140182860]
divss xmm0, dword [0x14018284c]
comiss xmm6, xmm0
jbe 0x140013ca3
movaps xmm1, xmm6
jmp 0x140013caa
movsxd rax, edx
mov rax, qword [r8 + rax*8]
jmp 0x140013c0e
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1bc4]
mov edx, 4
maxss xmm7, xmm1
mov ecx, recvfrom
movss dword [rbx + 0x1bc4], xmm7
call fcn.140011a50
comiss xmm0, xmm6
mov r9d, esi
mov ecx, 0xc
seta r9b
call fcn.140011a50
comiss xmm0, xmm6
mov ecx, esi
seta cl
sub ecx, r9d
je 0x140013d07
call fcn.140013880
mov r10, qword [rbx + 0x1ba8]
movaps xmm7, xmm5
mov dword [rbx + 0x1bc4], 0x3f800000
movss xmm0, dword [rbx + 0x384]
comiss xmm0, xmm6
ja 0x140013d4a
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1bc8], al
je 0x140013d3b
cmp qword [rbx + 0x1b68], rsi
je 0x140013d3e
movzx ebp, r14b
mov qword [rbx + 0x1ba8], rsi
jmp 0x140013e50
mov rdi, r10
mov qword [rbx + 0x1ba8], rsi
jmp 0x140013e50
test r10, r10
je 0x140013e50
cmp dword [rbx + 0x1b90], 3
jne 0x140013e50
movss xmm0, dword [rbx + 0x1bc0]
subss xmm0, dword [0x140182860]
divss xmm0, dword [0x14018284c]
comiss xmm6, xmm0
jbe 0x140013d82
movaps xmm5, xmm6
jmp 0x140013d86
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1bc4]
maxss xmm0, xmm5
movss dword [rbx + 0x1bc4], xmm0
movsxd rax, dword [rbx + 0x3c]
test eax, eax
js 0x140013e40
movss xmm1, dword [rbx + rax*4 + 0x4c8]
ucomiss xmm1, xmm6
jp 0x140013dbc
jne 0x140013dbc
movzx eax, r14b
jmp 0x140013e27
movss xmm2, dword [rbx + 0x94]
comiss xmm1, xmm2
jbe 0x140013e25
ucomiss xmm1, xmm6
movss xmm3, dword [rbx + 0x98]
jp 0x140013de2
jne 0x140013de2
mov eax, r14d
test eax, eax
setg al
jmp 0x140013e27
comiss xmm2, xmm1
jae 0x140013e1c
comiss xmm6, xmm3
jae 0x140013e1c
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [rbx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
mov eax, esi
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x140013e27
mov eax, esi
test eax, eax
setg al
jmp 0x140013e27
xor al, al
test al, al
je 0x140013e40
cmp byte [rbx + 0x151], sil
mov ecx, 0xffffffff
cmovne ecx, r14d
call fcn.140013880
cmp byte [rbx + 0x150], sil
jne 0x140013e50
mov rdi, qword [rbx + 0x1ba8]
movaps xmm7, xmmword [rsp + 0x30]
cmp dword [rbx + 0x1a4c], esi
je 0x140013e6a
cmp byte [rbx + 0x1a5d], sil
je 0x140013eec
mov edx, 2
mov ecx, sendto
call fcn.140011a50
comiss xmm0, xmm6
jbe 0x140013eec
lea rax, [rbx + 0x138]
test rax, rax
jne 0x140013e91
lea rax, [rbx + 0x138]
movss xmm0, dword [rax]
movss xmm1, dword [0x140182c08]
comiss xmm0, xmm1
jb 0x140013eb2
movss xmm0, dword [rax + 4]
comiss xmm0, xmm1
jb 0x140013eb2
movzx ecx, r14b
jmp 0x140013eb4
xor cl, cl
lea rax, [rbx + 0x3f4]
test rax, rax
jne 0x140013ec7
lea rax, [rbx + 0x138]
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140013ee0
movss xmm0, dword [rax + 4]
comiss xmm0, xmm1
jb 0x140013ee0
movzx eax, r14b
jmp 0x140013ee2
xor al, al
cmp cl, al
movzx ebp, bpl
cmove ebp, r14d
mov r11, qword [rbx + 0x1ba8]
test r11, r11
je 0x140013fd6
test byte [r11 + 0xc], 4
jne 0x140013fd6
mov eax, dword [rbx + 0x1b90]
cmp eax, 3
jne 0x140013f29
cmp byte [rbx + 0x151], sil
jne 0x140013fd6
mov edx, r14d
lea rcx, [rsp + 0x70]
jmp 0x140013f39
cmp eax, 4
jne 0x140013fd6
mov edx, eax
lea rcx, [rsp + 0x78]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
call fcn.140011be0
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x140013f5e
jne 0x140013f5e
ucomiss xmm3, xmm6
jp 0x140013f5e
je 0x140013fd6
movss xmm1, dword [rbx + 0xc0]
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x140182b88]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov rax, qword [r11 + 0x378]
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rax + 0x10]
addss xmm3, dword [rax + 0x14]
movss dword [rax + 0x10], xmm4
movss dword [rax + 0x14], xmm3
mov rax, qword [rbx + 0x1ba8]
mov byte [rbx + 0x1bd7], r14b
test dword [rax + 0xc], 0x100
jne 0x140013fd6
comiss xmm6, dword [rbx + 0x2e1c]
jb 0x140013fd6
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x2e1c], eax
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x14001409c
mov rax, qword [rbx + 0x1b68]
test rax, rax
je 0x140013ffd
cmp rdi, qword [rax + 0x378]
je 0x140014095
mov word [rbx + 0x1bd6], 0x100
mov rax, qword [rdi + 0x390]
test rax, rax
cmovne rdi, rax
mov rcx, rdi
call fcn.140010980
mov rcx, rdi
call fcn.140010270
mov eax, dword [rdi + 0x398]
test eax, eax
jne 0x140014085
test dword [rdi + 0xc], 0x40000
mov rdx, qword [0x140190150]
jne 0x14001407f
movsxd rcx, dword [rdx + 0x1bcc]
mov rax, qword [rdx + 0x1b68]
movdqa xmm0, xmmword [0x1401831b0]
mov dword [rdx + 0x1b70], esi
mov dword [rax + rcx*4 + 0x398], esi
mov word [rdx + 0x1bd9], r14w
mov dword [rdx + 0x1bdc], esi
movups xmmword [rdx + 0x1be0], xmm0
mov byte [rdx + 0x1bd8], r14b
jmp 0x140014085
mov dword [rdx + 0x1b70], eax
cmp dword [rdi + 0x154], 2
jne 0x140014095
mov dword [rbx + 0x1bcc], r14d
mov qword [rbx + 0x1ba8], rsi
mov r14, qword [rsp + 0x80]
test bpl, bpl
je 0x140014123
mov rdi, qword [rbx + 0x1b68]
test rdi, rdi
je 0x140014123
test byte [rdi + 0x154], 2
jne 0x1400140df
nop
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400140df
mov rdi, qword [rdi + 0x370]
test byte [rdi + 0x154], 2
je 0x1400140c0
mov rbp, qword [rbx + 0x1b68]
cmp rdi, rbp
je 0x1400140fa
mov rcx, rdi
call fcn.140010270
mov qword [rdi + 0x390], rbp
mov rax, qword [rbx + 0x1b68]
mov word [rbx + 0x1bd6], 0x100
test byte [rax + 0x154], 2
je 0x14001411c
mov esi, dword [rbx + 0x1bcc]
xor esi, 1
mov ecx, esi
call fcn.140011820
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret