Function at 0x140078a80
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, 0xc8
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
movsxd rax, dword [rcx + 0x478]
mov rcx, qword [rcx + 0x60]
test byte [rsi + 4], 2
je 0x140078b4d
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 0x140078b15
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 0x140078b4d
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 [0x140376900]
movsd xmm1, qword [rsi + 0x38]
mulps xmm1, xmm0
movlps qword [rsi + 0x40], xmm1
test byte [rsi + 4], 4
jne 0x140078ee5
movsxd rax, dword [rsi + 0x47c]
mov rcx, qword [rsi + 0x60]
shl rax, 5
lea rdx, [rcx + rax]
mov qword [rsp + 0x88], rdx
lea r8, [rcx + rax]
add r8, 6
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x78], rax
movaps xmm6, xmmword [0x14037b650]
movss xmm7, dword [section..rdata]
xor ebp, ebp
xor r15d, r15d
xor edi, edi
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x70], rsi
jmp 0x140078c79
mov r8, qword [rsp + 0x80]
movzx eax, word [r8]
lea ecx, [rax + rdi]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
movzx ecx, word [r8 - 2]
lea edx, [r12 + rcx - 1]
xorps xmm1, xmm1
cvtsi2ss xmm1, rdx
add r12d, ecx
movss xmm2, dword [rsi + 0x38]
add eax, edi
inc eax
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
lea rax, [rdi + 1]
lea ecx, [rax + r12]
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 r15d
add rbp, 4
add qword [rsp + 0x78], 4
mov rdi, rax
cmp rax, 0x40
je 0x140078ee5
mov rax, qword [rsp + 0x88]
movzx ebx, word [rax]
mov eax, ebx
sub eax, edi
mov r12d, eax
shr r12d, 1
lea r11d, [r12 + rdi]
mov r14, qword [rsi + 0x20]
test r14, r14
je 0x140078d40
movzx ecx, word [r8]
add ecx, edi
imul ecx, dword [rsi + 0x30]
movzx edx, word [r8 - 2]
add ecx, edx
add r14, rcx
cmp eax, 2
jb 0x140078cd6
cmp r12d, 2
mov r8d, 1
cmovae r8d, r12d
mov rcx, r14
xor edx, edx
mov r13d, r11d
call fcn.14033b770
mov r11d, r13d
mov r13d, r12d
test rdi, rdi
je 0x140078d03
lea rcx, [r14 + r13]
mov dl, 0xff
mov r8, rdi
mov rsi, r15
mov r15, rbp
mov ebp, r11d
call fcn.14033b770
mov r11d, ebp
mov rbp, r15
mov r15, rsi
mov rsi, qword [rsp + 0x70]
cmp r11d, ebx
je 0x140078be0
sub ebx, r11d
add r13, rdi
add r14, r13
cmp ebx, 2
mov eax, 1
cmovb ebx, eax
mov rcx, r14
xor edx, edx
mov r8, rbx
call fcn.14033b770
jmp 0x140078be0
mov r14, qword [rsi + 0x28]
movzx ecx, word [r8 - 2]
movzx r13d, word [r8]
add r13d, edi
imul r13d, dword [rsi + 0x30]
add r13d, ecx
cmp eax, 2
jb 0x140078ddf
lea eax, [r15 + rbx]
shr eax, 1
cmp eax, 2
mov edx, 1
cmovae edx, eax
cmp edx, 8
jae 0x140078d7b
xor ecx, ecx
jmp 0x140078db9
mov ecx, edx
and ecx, 0xfffffff8
lea r8, [r14 + r13*4]
add r8, 0x10
cmp eax, 2
mov r9d, 1
cmovae r9d, eax
and r9d, 0xfffffff8
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 0x140078da0
cmp rcx, rdx
je 0x140078ddf
cmp eax, 2
mov edx, 1
cmovb eax, edx
lea rdx, [r14 + r13*4]
nop dword [rax + rax]
mov dword [rdx + rcx*4], 0xffffff
inc rcx
cmp rax, rcx
jne 0x140078dd0
test rdi, rdi
je 0x140078e15
lea r8, [rdi*4]
lea rax, [r14 + r13*4]
mov ecx, r12d
lea rcx, [rax + rcx*4]
mov dl, 0xff
mov rsi, r15
mov r15, rbp
mov ebp, r11d
call fcn.14033b770
mov r11d, ebp
mov rbp, r15
mov r15, rsi
mov rsi, qword [rsp + 0x70]
cmp r11d, ebx
je 0x140078be0
add ebx, r15d
mov ecx, ebx
shr ecx, 1
mov eax, ebx
sub eax, ecx
cmp eax, 2
mov edx, 1
cmovae edx, eax
cmp edx, 8
jae 0x140078e3d
xor ecx, ecx
jmp 0x140078e9c
mov ecx, edx
and ecx, 0xfffffff8
mov r9d, ebx
and r9d, 0xfffffffe
add r9, r9
lea r8, [r9 + rbp]
lea r8, [r8 + r13*4]
add r8, r14
add r9, qword [rsp + 0x78]
lea r9, [r9 + r13*4]
add r9, r14
cmp eax, 2
mov r10d, 1
cmovae r10d, eax
and r10d, 0xfffffff8
xor r11d, r11d
nop word [rax + rax]
movups xmmword [r8 + r11*4], xmm6
movups xmmword [r9 + r11*4], xmm6
add r11, 8
cmp r10, r11
jne 0x140078e80
cmp rcx, rdx
je 0x140078be0
cmp eax, 2
mov edx, 1
cmovb eax, edx
sub rax, rcx
lea rcx, [rcx*4]
add rcx, rbp
and ebx, 0xfffffffe
lea rcx, [rcx + rbx*2]
lea rcx, [rcx + r13*4]
add r14, rcx
xor ecx, ecx
nop word cs:[rax + rax]
mov dword [r14 + rcx*4], 0xffffff
inc rcx
cmp rax, rcx
jne 0x140078ed0
jmp 0x140078be0
cmp byte [rsi + 0x480], 0
je 0x140078ef6
mov rcx, rsi
call fcn.140076de0
mov eax, dword [rsi + 0x58]
test eax, eax
jle 0x14007900a
xor edi, edi
xor ebx, ebx
jmp 0x140078f23
inc rbx
movsxd rcx, eax
add rdi, 0x20
cmp rbx, rcx
jge 0x14007900a
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rdx + rdi + 0x18]
test rcx, rcx
je 0x140078f10
mov r8d, dword [rdx + rdi + 8]
test r8d, r8d
je 0x140078f10
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.140079c20
mov eax, dword [rsi + 0x58]
jmp 0x140078f10
mov eax, dword [rsi + 0x48]
test eax, eax
jle 0x140079043
xor edi, edi
jmp 0x14007902b
inc rdi
movsxd rcx, eax
cmp rdi, rcx
jge 0x140079043
mov rcx, qword [rsi + 0x50]
mov rcx, qword [rcx + rdi*8]
cmp byte [rcx + 0x64], 0
je 0x140079020
call fcn.140084330
mov eax, dword [rsi + 0x48]
jmp 0x140079020
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret