Function at 0x140016140
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1401ba900]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
cmp byte [rdi + 0xcb], 0
je 0x140016176
test byte [rdi + 0xc], 2
jne 0x140016176
mov byte [rdi + 0xcb], 0
xor esi, esi
mov qword [rsp + 0x98], rbp
cmp byte [rdi + 0x3031], sil
jne 0x1400161e0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400161d9
lea r8, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
call fcn.140013360
mov rbp, rax
test rax, rax
je 0x1400161d9
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1400224f0
mov rcx, qword [0x1401ba900]
test rcx, rcx
je 0x1400161d1
dec dword [rcx + 0x3bc]
mov rcx, rbp
call fcn.1400c734c
mov byte [rdi + 0x3031], 1
movss xmm0, dword [rdi + 0x3034]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x14001621f
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x3034], xmm0
jb 0x14001621f
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140016212
call fcn.140022850
jmp 0x140016219
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x3034], esi
inc dword [rdi + 0x1a18]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a24], 1
mov dword [rdi + 0x2ff8], esi
mov dword [rdi + 0x1a88], esi
addsd xmm0, qword [rdi + 0x1a10]
movsd qword [rdi + 0x1a10], xmm0
mov ecx, dword [rdi + 0x3014]
test ecx, ecx
jns 0x140016276
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3010]
test eax, eax
cmovg edx, eax
call fcn.140024ba0
movss xmm8, dword [0x14010e890]
movss xmm9, dword [0x14010e7cc]
mov dword [rdi + 0x3010], esi
movsxd rax, dword [rdi + 0x3284]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x30a4]
addss xmm0, dword [rdi + 0x3288]
movss dword [rdi + 0x3288], xmm0
movss dword [rdi + rax*4 + 0x30a4], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x3284]
movss xmm1, dword [rdi + 0x3288]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x3284], ecx
jbe 0x140016304
divss xmm1, dword [0x14010e858]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x140016308
movaps xmm0, xmm8
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1401ba900]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x14001633b
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0xa0], r14
call fcn.14001d290
movss xmm0, dword [rdi + 0x14]
movss xmm2, dword [rdi + 0x10]
mov eax, dword [rdi + 0x161c]
mov qword [rsp + 0x20], rsi
movups xmm1, xmmword [rsp + 0x20]
mov dword [rdi + 0x194c], eax
shufps xmm1, xmm1, 0xd2
movss xmm1, xmm2
shufps xmm1, xmm1, 0x27
movss xmm1, xmm0
shufps xmm1, xmm1, 0x39
movups xmmword [rdi + 0x1954], xmm1
movss xmm1, dword [rdi + 0x1620]
movss xmm0, dword [rdi + 0x1950]
ucomiss xmm0, xmm1
jp 0x14001639e
je 0x14001641c
movaps xmmword [rsp + 0x50], xmm7
lea r14, [rdi + 0x19c8]
movss xmm7, dword [0x14010e828]
mov ebx, esi
movss dword [rdi + 0x1950], xmm1
mov ebp, 0x200
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm9
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1950]
divss xmm0, xmm1
call fcn.1400e85f8
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x1400163f8
mov edx, recv
jmp 0x1400163fd
cmp edx, ebp
cmovg edx, ebp
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebx
mov byte [r14], cl
inc r14
cmp ebx, 0x40
jl 0x1400163c1
movaps xmm7, xmmword [rsp + 0x50]
mov r8d, esi
mov dword [rdi + 0x1964], esi
cmp byte [rdi + 0x1618], sil
je 0x14001643b
mov r8d, 1
mov dword [rdi + 0x1964], r8d
mov edx, r8d
cmp byte [rdi + 0x1619], sil
je 0x140016461
mov rax, qword [rdi + 0x1928]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x140016461
or edx, 2
mov dword [rdi + 0x1964], edx
cmp byte [rdi + 0x161a], sil
je 0x140016473
or edx, 4
mov dword [rdi + 0x1964], edx
test byte [rdi + 0xc], 8
je 0x140016482
or edx, 8
mov dword [rdi + 0x1964], edx
lea rcx, [rdi + 0x1df0]
call fcn.14002c550
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1df0]
mov rdx, qword [rdx + 8]
call fcn.14002cb60
mov rax, qword [rdi + 0x1e28]
lea rcx, [rdi + 0x1df0]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14002ca40
lea rcx, [rdi + 0x1ed0]
call fcn.14002c550
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1ed0]
mov rdx, qword [rdx + 8]
call fcn.14002cb60
mov rax, qword [rdi + 0x1f08]
lea rcx, [rdi + 0x1ed0]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14002ca40
mov r8, qword [0x1401ba900]
mov byte [rdi + 0x1d90], sil
mov qword [rdi + 0x1d98], rsi
mov qword [rdi + 0x1da4], rsi
mov dword [rdi + 0x1da0], esi
mov qword [rdi + 0x1dbc], rsi
mov qword [rdi + 0x1db4], rsi
mov qword [rdi + 0x1dac], rsi
cmp byte [rdi + 0x1fb4], sil
je 0x1400165ab
mov eax, dword [rdi + 0x1fd4]
cmp eax, dword [rdi + 0x1ae0]
jne 0x1400165ab
cmp dword [r8 + 0x1ae0], eax
jne 0x14001659a
mov dword [r8 + 0x1ae4], eax
cmp dword [r8 + 0x1b20], eax
jne 0x1400165ab
mov byte [r8 + 0x1b24], 1
lea rax, [rdi + 0x1acc]
mov ecx, dword [rax]
cmp dword [rdi + 0x1ad0], esi
jne 0x1400165c4
mov dword [rdi + 0x1ad8], esi
jmp 0x1400165d5
mov edx, ecx
mov r9, rax
test ecx, ecx
je 0x1400165e0
cmp dword [rdi + 0x1ae0], ecx
jne 0x1400165e0
mov dword [rdi + 0x1adc], esi
mov edx, ecx
mov r9, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x140016617
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ad8]
movss dword [rdi + 0x1ad8], xmm0
cmp dword [rdi + 0x1ae0], edx
je 0x140016617
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1adc]
movss dword [rdi + 0x1adc], xmm0
mov eax, dword [rdi + 0x1ae0]
movaps xmm2, xmm1
mov dword [rdi + 0x1ad0], edx
mov dword [r9], esi
mov word [rdi + 0x1ad4], si
cmp dword [rdi + 0x1ae4], eax
je 0x14001669a
cmp dword [rdi + 0x1b20], eax
jne 0x14001669a
test eax, eax
je 0x14001669a
mov ecx, dword [r8 + 0x1ae0]
test ecx, ecx
setne al
mov byte [r8 + 0x1aec], al
test ecx, ecx
je 0x14001666a
mov dword [r8 + 0x1ae8], esi
mov word [r8 + 0x1aef], si
mov dword [r8 + 0x1ae0], esi
mov word [r8 + 0x1aed], si
mov qword [r8 + 0x1b10], rsi
mov byte [r8 + 0x1af1], sil
mov qword [r8 + 0x1af4], rsi
mov qword [r8 + 0x1b00], rsi
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ae0]
test ecx, ecx
je 0x1400166b7
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1ae8]
movss dword [rdi + 0x1ae8], xmm0
mov rax, qword [rdi + 0x1b10]
addss xmm2, dword [rdi + 0x1b34]
mov qword [rdi + 0x1b28], rax
movzx eax, byte [rdi + 0x1af0]
mov byte [rdi + 0x1b25], al
mov eax, dword [rdi + 0x2fb8]
movss dword [rdi + 0x1b34], xmm2
mov dword [rdi + 0x1b20], ecx
mov dword [rdi + 0x1ae4], esi
mov byte [rdi + 0x1af1], sil
mov byte [rdi + 0x1b24], sil
mov byte [rdi + 0x1aec], sil
test eax, eax
je 0x140016717
cmp ecx, eax
je 0x140016717
mov dword [rdi + 0x2fb8], esi
test ecx, ecx
jne 0x140016729
mov qword [rdi + 0x1af4], rsi
mov qword [rdi + 0x1b00], rsi
mov eax, dword [rdi + 0x2024]
mov dword [rdi + 0x2028], eax
mov eax, esi
mov qword [rdi + 0x2020], 0x7f7fffff
mov word [rdi + 0x1fb5], si
mov dword [rdi + 0x2030], esi
cmp byte [r8 + 0x148], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x149], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x14a], sil
cmove edx, ecx
lea rcx, [rdi + 0xca8]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x14b], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rdi + 0x4a8]
mov dword [rdi + 0x3c8], eax
call fcn.1400c1bc0
movss xmm1, dword [0x14010e89c]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, 0x80
cmp byte [rcx - 1], sil
je 0x1400167dd
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1400167d6
movaps xmm0, xmm6
jmp 0x1400167e0
addss xmm0, dword [rdi + 0x18]
jmp 0x1400167e0
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x1400167ff
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1400167f8
movaps xmm0, xmm6
jmp 0x140016802
addss xmm0, dword [rdi + 0x18]
jmp 0x140016802
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140016822
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14001681b
movaps xmm0, xmm6
jmp 0x140016825
addss xmm0, dword [rdi + 0x18]
jmp 0x140016825
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140016846
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14001683f
movaps xmm0, xmm6
jmp 0x140016849
addss xmm0, dword [rdi + 0x18]
jmp 0x140016849
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1400167c1
call fcn.14001f660
call fcn.1400154c0
call fcn.140015e10
call fcn.140014f50
mov r8, qword [0x1401ba900]
mov eax, dword [r8 + 0x1bf0]
sub eax, 1
js 0x1400168bb
mov r8, qword [r8 + 0x1bf8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x1400168b1
test dword [rax + 0xc], 0x8000000
jne 0x1400168d1
sub r8, 0x30
sub rdx, 1
jns 0x1400168a0
cmp qword [rdi + 0x1d40], rsi
je 0x1400168ed
movss xmm0, dword [rdi + 0x1d5c]
comiss xmm0, xmm6
jbe 0x1400168ed
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x14010e820]
addss xmm1, dword [rdi + 0x1de8]
minss xmm1, xmm9
jmp 0x14001690a
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x14010e838]
movss xmm1, dword [rdi + 0x1de8]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1de8], xmm1
mov dword [rdi + 0x1fb0], esi
mov qword [rdi + 0x3290], 0xffffffffffffffff
mov dword [rdi + 0x328c], 0xffffffff
mov dword [rdi + 0x3020], 0x3f800000
mov dword [rdi + 0x3024], 0x3f800000
call fcn.140015890
mov r11, qword [0x1401ba900]
movaps xmm9, xmmword [rsp + 0x30]
mov r8, qword [r11 + 0x1c10]
test r8, r8
je 0x140016990
cmp byte [r8 + 0x86], sil
je 0x140016990
test dword [r8 + 0xc], 0x40000
jne 0x140016990
cmp byte [r11 + 0x148], sil
jne 0x140016990
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x140016990
call fcn.1400182e0
test al, al
je 0x140016990
mov al, 1
jmp 0x140016992
xor al, al
mov byte [r11 + 0x1d88], al
cmp dword [r11 + 0x1ae0], esi
jne 0x1400169fd
test al, al
je 0x1400169fd
mov qword [r11 + 0x1d70], r8
mov dword [r11 + 0x1d80], 0x7fffffff
cmp dword [r11 + 0x1c18], esi
je 0x1400169ea
mov ecx, dword [r11 + 0x1c60]
cmp ecx, 0x7fffffff
je 0x1400169ea
cmp byte [r11 + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [r11 + 0x1d84], eax
jmp 0x1400169fd
movzx eax, byte [r11 + 0x149]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1d84], ecx
mov r8, qword [r11 + 0x1d70]
mov qword [r11 + 0x1d68], rsi
mov dword [r11 + 0x1d7c], 0x7fffffff
mov dword [r11 + 0x1d78], 0x7fffffff
test r8, r8
je 0x140016a9a
mov eax, dword [r11 + 0x1d80]
mov qword [r11 + 0x1d68], r8
cmp eax, 0x7fffffff
je 0x140016a55
mov ecx, dword [r8 + 0x1b8]
cmp ecx, 0xffffffff
je 0x140016a55
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1d78], edx
mov eax, dword [r11 + 0x1d84]
cmp eax, 0x7fffffff
je 0x140016a7d
mov ecx, dword [r8 + 0x1bc]
cmp ecx, 0xffffffff
je 0x140016a7d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1d7c], edx
mov qword [r11 + 0x1d70], rsi
mov dword [r11 + 0x1d84], 0x7fffffff
mov dword [r11 + 0x1d80], 0x7fffffff
mov dword [r11 + 0x1c60], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x60]
jb 0x140016aca
movsd xmm8, qword [rdi + 0x1a10]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a38], esi
je 0x140016b37
mov r14, rsi
nop word [rax + rax]
mov rax, qword [rdi + 0x1a40]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0x86]
mov byte [rcx + 0x87], al
mov word [rcx + 0x92], si
mov byte [rcx + 0x86], sil
mov byte [rcx + 0x88], sil
test al, al
jne 0x140016b29
cmp byte [rcx + 0x408], sil
jne 0x140016b29
comiss xmm8, dword [rcx + 0x29c]
jbe 0x140016b29
call fcn.140014970
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a38]
jne 0x140016ae0
mov rax, qword [rdi + 0x1c10]
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0xa0]
test rax, rax
je 0x140016bc4
cmp byte [rax + 0x87], sil
jne 0x140016bc4
mov rcx, qword [0x1401ba900]
mov eax, dword [rcx + 0x1a48]
sub eax, 1
js 0x140016bbd
movsxd r9, eax
mov rax, qword [rcx + 0x1a50]
lea r10, [rax + r9*8]
nop word [rax + rax]
mov r8, qword [r10]
test r8, r8
je 0x140016bb3
cmp byte [r8 + 0x87], sil
je 0x140016bb3
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140016c99
sub r10, 8
sub r9, 1
jns 0x140016b80
xor ecx, ecx
call fcn.14001d030
mov ecx, dword [rdi + 0x1a6c]
test ecx, ecx
jns 0x140016bea
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a68]
test eax, eax
cmovg edx, eax
call fcn.140009990
mov dword [rdi + 0x1a68], esi
mov ecx, dword [rdi + 0x1c04]
test ecx, ecx
jns 0x140016c16
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c00]
test eax, eax
cmovg edx, eax
call fcn.140024c30
mov r10, qword [0x1401ba900]
mov dword [rdi + 0x1c00], esi
mov r11, qword [rdi + 0x1c10]
movsxd rbx, dword [r10 + 0x1bf0]
test ebx, ebx
je 0x140016cd4
test r11, r11
je 0x140016cc7
test ebx, ebx
jle 0x140016cc7
mov r10, qword [r10 + 0x1bf8]
mov rbp, rsi
add r10, 8
mov rcx, qword [r10]
test rcx, rcx
je 0x140016cba
test dword [rcx + 0xc], 0x1000000
jne 0x140016cba
mov r8, rbp
cmp esi, ebx
jge 0x140016cd4
mov rdx, r10
test rcx, rcx
je 0x140016c88
mov rax, qword [r11 + 0x3c0]
cmp qword [rcx + 0x3c0], rax
je 0x140016cba
inc r8
add rdx, 0x30
cmp r8, rbx
jge 0x140016ccb
mov rcx, qword [rdx]
jmp 0x140016c73
mov rcx, qword [r8 + 0x3d8]
test rcx, rcx
je 0x140016cb2
cmp byte [rcx + 0x87], sil
jne 0x140016bbf
mov rcx, r8
jmp 0x140016bbf
inc esi
inc rbp
add r10, 0x30
cmp esi, ebx
jl 0x140016c58
cmp esi, ebx
jge 0x140016cd4
xor edx, edx
mov ecx, esi
call fcn.14001e1a0
mov rax, qword [0x1401ba900]
lea rcx, str.DebugDefault
mov byte [rdi + 0x1a25], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1b38], 2
mov dword [rax + 0x1b58], 0x43c80000
mov dword [rax + 0x1b5c], 0x43c80000
mov dword [rax + 0x1b40], 4
mov rbp, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbx
jmp fcn.14001aad0