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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x140686d00]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [0x140687868]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x3ef8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x158]
cmp dword [rax + 0x4910], ecx
je 0x1400245cc
xor al, al
jmp 0x140024bff
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
lea rsi, [rcx + 0x47b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
lea rsi, [rcx + 0x494c]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x496c]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x496c], eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48d8]
cmp qword [rax + 0x368], rcx
jne 0x14002468b
mov rax, qword [rsp + 0x78]
add rax, 0x238
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.140029d70
movzx eax, al
test eax, eax
jne 0x140024670
xor al, al
jmp 0x140024bff
mov rax, qword [rsp + 0x78]
add rax, 0x238
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400164c0
movss xmm0, dword [rsp + 0xa0]
comiss xmm0, dword [rsp + 0x98]
jbe 0x1400246b8
movss xmm0, dword [rsp + 0x98]
subss xmm0, dword [rsp + 0xa0]
movss dword [rsp + 0x24], xmm0
jmp 0x1400246ee
movss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [rsp + 0xa8]
jbe 0x1400246e5
movss xmm0, dword [rsp + 0x90]
subss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x24], xmm0
jmp 0x1400246ee
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0xac]
subss xmm0, dword [rsp + 0xa4]
mulss xmm0, dword [0x1401c7ed4]
movss xmm1, dword [rsp + 0xa4]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0xac]
subss xmm0, dword [rsp + 0xa4]
mulss xmm0, dword [0x1401c7eb0]
movss xmm1, dword [rsp + 0xa4]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x9c]
subss xmm0, dword [rsp + 0x94]
mulss xmm0, dword [0x1401c7ed4]
movss xmm1, dword [rsp + 0x94]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x9c]
subss xmm0, dword [rsp + 0x94]
mulss xmm0, dword [0x1401c7eb0]
movss xmm1, dword [rsp + 0x94]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0x5c]
comiss xmm0, dword [rsp + 0x58]
jbe 0x1400247cf
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x28], xmm0
jmp 0x1400247f9
movss xmm0, dword [rsp + 0x60]
comiss xmm0, dword [rsp + 0x64]
jbe 0x1400247f0
movss xmm0, dword [rsp + 0x60]
subss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x28], xmm0
jmp 0x1400247f9
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x28]
ucomiss xmm0, dword [0x1401c7e8c]
jp 0x14002480a
je 0x140024862
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, dword [0x1401c7e8c]
jp 0x14002481b
je 0x140024862
movss xmm0, dword [rsp + 0x24]
comiss xmm0, dword [0x1401c7e8c]
jbe 0x14002483a
movss xmm0, dword [0x1401c3578]
movss dword [rsp + 0x68], xmm0
jmp 0x140024848
movss xmm0, dword [0x1401c7f64]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [0x1401c7f5c]
addss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x24], xmm0
cvtss2sd xmm0, dword [rsp + 0x24]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x80], xmm0
cvtss2sd xmm0, dword [rsp + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0x80]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x90]
addss xmm0, dword [rsp + 0x98]
movss xmm1, dword [rsp + 0xa0]
addss xmm1, dword [rsp + 0xa8]
subss xmm0, xmm1
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [rsp + 0x9c]
movss xmm1, dword [rsp + 0xa4]
addss xmm1, dword [rsp + 0xac]
subss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
cvtss2sd xmm0, dword [rsp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x84], xmm0
cvtss2sd xmm0, dword [rsp + 0x3c]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0x84]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, dword [0x1401c7e8c]
jp 0x140024975
jne 0x140024975
movss xmm0, dword [rsp + 0x28]
ucomiss xmm0, dword [0x1401c7e8c]
jp 0x140024975
je 0x1400249b3
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
call fcn.14001eba0
mov dword [rsp + 0x54], eax
jmp 0x140024a42
movss xmm0, dword [rsp + 0x40]
ucomiss xmm0, dword [0x1401c7e8c]
jp 0x1400249d5
jne 0x1400249d5
movss xmm0, dword [rsp + 0x3c]
ucomiss xmm0, dword [0x1401c7e8c]
jp 0x1400249d5
je 0x140024a10
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rsp + 0x3c]
movss xmm0, dword [rsp + 0x40]
call fcn.14001eba0
mov dword [rsp + 0x54], eax
jmp 0x140024a42
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48e0]
cmp dword [rax + 0x4794], ecx
jae 0x140024a32
mov dword [rsp + 0x6c], 0
jmp 0x140024a3a
mov dword [rsp + 0x6c], 1
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4940]
mov dword [rsp + 0x2c], eax
mov byte [rsp + 0x20], 0
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x54], eax
jne 0x140024b36
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x24]
comiss xmm0, dword [rsp + 0x44]
jbe 0x140024aa5
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x44]
movss dword [rax + 0x24], xmm0
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x38]
movss dword [rax + 0x28], xmm0
mov al, 1
jmp 0x140024bff
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x44]
ucomiss xmm0, dword [rax + 0x24]
jp 0x140024b36
jne 0x140024b36
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x28]
comiss xmm0, dword [rsp + 0x38]
jbe 0x140024ae9
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x38]
movss dword [rax + 0x28], xmm0
mov byte [rsp + 0x20], 1
jmp 0x140024b36
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x38]
ucomiss xmm0, dword [rax + 0x28]
jp 0x140024b36
jne 0x140024b36
cmp dword [rsp + 0x2c], 2
je 0x140024b1b
cmp dword [rsp + 0x2c], 3
je 0x140024b1b
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x70], xmm0
jmp 0x140024b27
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x70], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x70]
jbe 0x140024b36
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x24]
ucomiss xmm0, dword [0x1401c7f60]
jp 0x140024bfa
jne 0x140024bfa
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x2c]
comiss xmm0, dword [rsp + 0x50]
jbe 0x140024bfa
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4910], 1
jne 0x140024bfa
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d8]
mov eax, dword [rax + 0x14]
and eax, 0x10000000
test eax, eax
jne 0x140024bfa
cmp dword [rsp + 0x2c], 0
jne 0x140024ba5
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x48]
ja 0x140024be2
cmp dword [rsp + 0x2c], 1
jne 0x140024bbb
movss xmm0, dword [rsp + 0x48]
comiss xmm0, dword [0x1401c7e8c]
ja 0x140024be2
cmp dword [rsp + 0x2c], 2
jne 0x140024bcc
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x4c]
ja 0x140024be2
cmp dword [rsp + 0x2c], 3
jne 0x140024bfa
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [0x1401c7e8c]
jbe 0x140024bfa
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x50]
movss dword [rax + 0x2c], xmm0
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401b9f40
add rsp, 0xc8
pop rdi
pop rsi
ret