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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm8
movaps xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
movsxd rax, dword [rcx + 0x478]
mov rcx, qword [rcx + 0x60]
test byte [rsi + 4], 2
je 0x14003260d
movsxd rdx, dword [rsi + 0x30]
mov r8, rax
shl r8, 5
movzx r10d, word [rcx + r8 + 4]
movzx r9d, word [rcx + r8 + 6]
imul r9, rdx
add r9, r10
mov r10, qword [rsi + 0x20]
movsxd r8, r9d
test r10, r10
je 0x1400325d5
add r8, rdx
mov byte [r10 + r8 + 1], 0xff
mov rdx, qword [rsi + 0x20]
mov byte [rdx + r8], 0xff
mov rdx, qword [rsi + 0x20]
mov byte [r9 + rdx + 1], 0xff
mov rdx, qword [rsi + 0x20]
mov byte [rdx + r9], 0xff
jmp 0x14003260d
mov r9, qword [rsi + 0x28]
add edx, r8d
movsxd rdx, edx
mov dword [r9 + rdx*4 + 4], 0xffffffff
mov r9, qword [rsi + 0x28]
mov dword [r9 + rdx*4], 0xffffffff
mov rdx, qword [rsi + 0x28]
mov dword [rdx + r8*4 + 4], 0xffffffff
mov rdx, qword [rsi + 0x28]
mov dword [rdx + r8*4], 0xffffffff
shl rax, 5
movd xmm0, dword [rcx + rax + 4]
pxor xmm1, xmm1
punpcklwd xmm0, xmm1
cvtdq2ps xmm0, xmm0
addps xmm0, xmmword [0x14035c340]
movsd xmm1, qword [rsi + 0x38]
mulps xmm1, xmm0
movlps qword [rsi + 0x40], xmm1
test byte [rsi + 4], 4
jne 0x140032985
movsxd rax, dword [rsi + 0x47c]
mov rcx, qword [rsi + 0x60]
shl rax, 5
lea rdx, [rcx + rax]
mov qword [rsp + 0x98], rdx
lea r8, [rcx + rax]
add r8, 6
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x80], rax
movaps xmm6, xmmword [0x14035cfe0]
movss xmm7, dword [0x14040d4f4]
xor r12d, r12d
xor r13d, r13d
xor edi, edi
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x78], rsi
jmp 0x140032739
mov r8, qword [rsp + 0x90]
movzx eax, word [r8]
lea ecx, [rax + rdi]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
movzx ecx, word [r8 - 2]
lea edx, [rbp + rcx - 1]
xorps xmm1, xmm1
cvtsi2ss xmm1, rdx
add ebp, ecx
movss xmm2, dword [rsi + 0x38]
add eax, edi
inc eax
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
lea rax, [rdi + 1]
lea ecx, [rax + rbp]
xorps xmm4, xmm4
cvtsi2ss xmm4, rcx
mulss xmm1, xmm2
addss xmm3, xmm0
unpcklps xmm3, xmm4
movss xmm0, dword [rsi + 0x3c]
mulss xmm0, xmm7
shl rdi, 4
movss dword [rsi + rdi + 0x78], xmm1
unpcklps xmm0, xmm2
mulps xmm0, xmm3
movlps qword [rsi + rdi + 0x7c], xmm0
movss dword [rsi + rdi + 0x84], xmm0
dec r13d
add r12, 4
add qword [rsp + 0x80], 4
mov rdi, rax
cmp rax, 0x40
je 0x140032985
mov rax, qword [rsp + 0x98]
movzx ebx, word [rax]
mov eax, ebx
sub eax, edi
mov ebp, eax
shr ebp, 1
lea r11d, [rdi + rbp]
mov r14, qword [rsi + 0x20]
test r14, r14
je 0x140032800
movzx ecx, word [r8 - 2]
movzx edx, word [r8]
add edx, edi
imul edx, dword [rsi + 0x30]
add edx, ecx
add r14, rdx
mov r15d, ebp
cmp eax, 2
jb 0x1400327a2
mov rcx, r14
xor edx, edx
mov r8, r15
mov qword [rsp + 0x88], r13
mov r13, r12
mov r12d, r11d
call fcn.140355f20
mov r11d, r12d
mov r12, r13
mov r13, qword [rsp + 0x88]
test rdi, rdi
je 0x1400327cc
lea rcx, [r14 + r15]
mov dl, 0xff
mov r8, rdi
mov rsi, r13
mov r13, r12
mov r12d, r11d
call fcn.140355f20
mov r11d, r12d
mov r12, r13
mov r13, rsi
mov rsi, qword [rsp + 0x78]
cmp ebx, r11d
je 0x1400326a0
sub ebx, r11d
add r15, rdi
add r14, r15
cmp ebx, 1
adc ebx, 0
mov rcx, r14
xor edx, edx
mov r8, rbx
call fcn.140355f20
jmp 0x1400326a0
mov r14, qword [rsi + 0x28]
movzx ecx, word [r8 - 2]
movzx r15d, word [r8]
add r15d, edi
imul r15d, dword [rsi + 0x30]
add r15d, ecx
cmp eax, 2
jb 0x14003289f
lea eax, [rbx + r13]
shr eax, 1
cmp eax, 1
mov edx, eax
adc edx, 0
cmp edx, 8
jae 0x140032838
xor ecx, ecx
jmp 0x140032879
mov ecx, edx
and ecx, 0x7ffffff8
lea r8, [r14 + r15*4]
add r8, 0x10
cmp rax, 1
mov r9, rax
adc r9, 0
and r9d, 0x7ffffff8
xor r10d, r10d
nop dword [rax]
movups xmmword [r8 + r10*4 - 0x10], xmm6
movups xmmword [r8 + r10*4], xmm6
add r10, 8
cmp r9, r10
jne 0x140032860
cmp rcx, rdx
je 0x14003289f
cmp rax, 1
adc rax, 0
lea rdx, [r14 + r15*4]
nop word cs:[rax + rax]
mov dword [rdx + rcx*4], 0xffffff
inc rcx
cmp rax, rcx
jne 0x140032890
test rdi, rdi
je 0x1400328d4
lea r8, [rdi*4]
lea rax, [r14 + r15*4]
mov ecx, ebp
lea rcx, [rax + rcx*4]
mov dl, 0xff
mov rsi, r13
mov r13, r12
mov r12d, r11d
call fcn.140355f20
mov r11d, r12d
mov r12, r13
mov r13, rsi
mov rsi, qword [rsp + 0x78]
cmp ebx, r11d
je 0x1400326a0
add ebx, r13d
mov eax, ebx
shr eax, 1
sub ebx, eax
cmp ebx, 1
mov edx, ebx
adc edx, 0
cmp edx, 8
jae 0x1400328f7
xor ecx, ecx
jmp 0x14003294c
mov ecx, edx
and ecx, 0xfffffff8
lea r8, [r12 + rax*4]
lea r8, [r8 + r15*4]
add r8, r14
mov r9, qword [rsp + 0x80]
lea r9, [r9 + rax*4]
lea r9, [r9 + r15*4]
add r9, r14
cmp rbx, 1
mov r10, rbx
adc r10, 0
and r10d, 0xfffffff8
xor r11d, r11d
nop dword [rax]
movups xmmword [r8 + r11*4], xmm6
movups xmmword [r9 + r11*4], xmm6
add r11, 8
cmp r10, r11
jne 0x140032930
cmp rcx, rdx
je 0x1400326a0
cmp rbx, 1
adc rbx, 0
sub rbx, rcx
lea rcx, [r12 + rcx*4]
lea rax, [rcx + rax*4]
lea rax, [rax + r15*4]
add r14, rax
xor eax, eax
nop dword [rax + rax]
mov dword [r14 + rax*4], 0xffffff
inc rax
cmp rbx, rax
jne 0x140032970
jmp 0x1400326a0
cmp byte [rsi + 0x480], 0
je 0x140032996
mov rcx, rsi
call fcn.1400267f0
mov eax, dword [rsi + 0x58]
test eax, eax
jle 0x140032aaa
xor edi, edi
xor ebx, ebx
jmp 0x1400329c3
inc rbx
movsxd rcx, eax
add rdi, 0x20
cmp rbx, rcx
jge 0x140032aaa
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rdx + rdi + 0x18]
test rcx, rcx
je 0x1400329b0
mov r8d, dword [rdx + rdi + 8]
test r8d, r8d
je 0x1400329b0
movzx eax, word [rdx + rdi + 6]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss xmm1, dword [rsi + 0x38]
movss xmm2, dword [rsi + 0x3c]
movzx r9d, word [rdx + rdi + 4]
xorps xmm4, xmm4
cvtsi2ss xmm4, r9d
movzx r10d, word [rdx + rdi + 2]
add eax, r10d
xorps xmm5, xmm5
cvtsi2ss xmm5, eax
mulss xmm0, xmm2
mulss xmm4, xmm1
mulss xmm5, xmm2
movzx eax, word [rdx + rdi]
add r9d, eax
xorps xmm2, xmm2
cvtsi2ss xmm2, r9d
mulss xmm2, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, r10d
movss xmm6, dword [rdx + rdi + 0x14]
addss xmm1, xmm6
movss xmm7, dword [rdx + rdi + 0xc]
movss xmm3, dword [rdx + rdi + 0x10]
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
addss xmm8, xmm3
movss dword [rsp + 0x58], xmm7
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x38], xmm4
movss dword [rsp + 0x30], xmm1
movss dword [rsp + 0x28], xmm8
movss dword [rsp + 0x20], xmm6
movss dword [rsp + 0x50], xmm5
movss dword [rsp + 0x48], xmm2
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x60], 0
xor edx, edx
call fcn.140025200
mov eax, dword [rsi + 0x58]
jmp 0x1400329b0
mov eax, dword [rsi + 0x48]
test eax, eax
jle 0x140032ae3
xor edi, edi
jmp 0x140032acb
inc rdi
movsxd rcx, eax
cmp rdi, rcx
jge 0x140032ae3
mov rcx, qword [rsi + 0x50]
mov rcx, qword [rcx + rdi*8]
cmp byte [rcx + 0x64], 0
je 0x140032ac0
call fcn.1400254f0
mov eax, dword [rsi + 0x48]
jmp 0x140032ac0
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret