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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [0x1403646f8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x1b90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xc4]
test eax, eax
je 0x140066e71
xor al, al
jmp 0x140067353
mov eax, dword [rsp + 0x110]
and eax, 0x100000
test eax, eax
jne 0x140066e91
mov rax, qword [rsp + 0x100]
mov ecx, dword [rax + 0x14]
call fcn.14001c790
mov rax, qword [rsp + 0x40]
add rax, 0x1fc8
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xc8]
call fcn.140066d90
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.140053660
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0x1f98], rcx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x118]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x80], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x1b18]
cmp dword [rax + 0x24], ecx
jne 0x140066f70
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
movss xmm0, dword [rax + 0x38]
addss xmm0, dword [rcx + 0x74]
movaps xmm2, xmm0
mov rax, qword [rsp + 0x100]
movss xmm1, dword [rax + 0x2c]
lea rcx, [rsp + 0x98]
call fcn.140001ce0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x118], rax
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x69]
inc al
mov rcx, qword [rsp + 0x100]
mov byte [rcx + 0x69], al
mov al, 1
jmp 0x140067353
mov eax, dword [rsp + 0x110]
and eax, 1
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x10]
and ecx, 1
cmp eax, ecx
jne 0x140066faa
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x6c]
test eax, eax
je 0x140066ff4
mov eax, dword [rsp + 0x110]
and eax, 1
test eax, eax
jne 0x140066ff4
mov rax, qword [rsp + 0x100]
cmp dword [rax], 1
jle 0x140066ff4
mov eax, dword [rsp + 0x110]
and eax, 0x100000
test eax, eax
jne 0x140066ff4
mov rax, qword [rsp + 0x100]
movsxd rax, dword [rax]
lea r9, [0x140066cf0]
mov r8d, Ordinal_50
mov rdx, rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x6c], 0
mov eax, dword [rsp + 0x110]
and eax, 0xc0
test eax, eax
jne 0x140067021
mov eax, dword [rsp + 0x110]
or eax, 0x40
mov dword [rsp + 0x110], eax
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0x110]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x100]
lea rdi, [rax + 0x2c]
mov rsi, qword [rsp + 0x108]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x6a], 1
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x24]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x1b18]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
movss xmm0, dword [rcx + 0x3c]
movss dword [rax + 0x40], xmm0
mov rax, qword [rsp + 0x100]
xorps xmm0, xmm0
movss dword [rax + 0x3c], xmm0
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
movss xmm0, dword [rcx + 0x168c]
movss dword [rax + 0x74], xmm0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x1678]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x78], rax
xor eax, eax
mov rcx, qword [rsp + 0x100]
mov word [rcx + 0x6e], ax
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x69], 1
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
movss xmm0, dword [rax + 0x38]
addss xmm0, dword [rcx + 0x74]
movaps xmm2, xmm0
mov rax, qword [rsp + 0x100]
movss xmm1, dword [rax + 0x2c]
lea rcx, [rsp + 0xa0]
call fcn.140001ce0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x118], rax
mov eax, dword [rsp + 0x110]
and eax, 0x200000
test eax, eax
je 0x14006715c
mov dword [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_35
jmp 0x140067164
mov dword [rsp + 0x48], Ordinal_41
movss xmm1, dword [0x140146f3c]
mov ecx, dword [rsp + 0x48]
call fcn.140008bd0
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rax + 0x38]
subss xmm0, dword [0x140146f3c]
movss dword [rsp + 0x38], xmm0
cmp qword [rsp + 0x118], 0
je 0x140067263
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x40]
addss xmm0, dword [rcx + 0x7c]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x118]
movss xmm0, dword [rax + 0x40]
addss xmm0, dword [rcx + 0x48]
mov rax, qword [rsp + 0x30]
subss xmm0, dword [rax + 0x7c]
movss dword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x318]
mov qword [rsp + 0x78], rax
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x50]
lea rcx, [rsp + 0xa8]
call fcn.140001ce0
mov qword [rsp + 0x68], rax
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x54]
lea rcx, [rsp + 0xb0]
call fcn.140001ce0
mov qword [rsp + 0x70], rax
movss xmm0, dword [0x140146f3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x4c]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140049f30
jmp 0x140067351
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x70]
mulss xmm0, dword [0x140146ed0]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x100]
movss xmm1, dword [rax + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x70]
mulss xmm0, dword [0x140146ed0]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x100]
movss xmm1, dword [rax + 0x34]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x58], xmm0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x318]
mov qword [rsp + 0x90], rax
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x58]
lea rcx, [rsp + 0xb8]
call fcn.140001ce0
mov qword [rsp + 0x80], rax
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x5c]
lea rcx, [rsp + 0xc0]
call fcn.140001ce0
mov qword [rsp + 0x88], rax
movss xmm0, dword [0x140146f3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x4c]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140049f30
mov al, 1
add rsp, 0xe8
pop rdi
pop rsi
ret