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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, esi
call dword [0x652b85d4]
test al, al
je 0x6528d4ff
mov eax, dword [ebp + 8]
mov ecx, dword [0x652b845c]
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
mov ecx, esi
call dword [0x652b85d0]
lea ecx, [edi + 0x148]
mov eax, dword [eax]
mov esi, dword [eax + 0x68]
shr esi, 4
and esi, 1
mov eax, dword [edi + esi*4 + 0x158]
lea ecx, [ecx + esi*4]
test eax, eax
je 0x6528d53d
push eax
push dword [edi + esi*4 + 0x150]
call fcn.6528ec00
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x6528d556
push dword [edi + esi*4 + 0x160]
push dword [edi + esi*4 + 0x150]
call fcn.6528ec00
mov ecx, eax
mov dword [esp + 0x14], eax
cmp dword [edi + esi*4 + 0x158], 0
mov eax, 0xffffff
movsd xmm2, qword [0x652bfb30]
mov edx, 0x7fffff
cmovne eax, edx
movsd qword [esp + 0x50], xmm2
movd xmm1, eax
mov eax, dword [ecx + 0x18]
cvtdq2pd xmm1, xmm1
cmp eax, dword [edi + esi*4 + 0x150]
jne 0x6528d594
movsd xmm0, qword [ecx + 0x30]
jmp 0x6528d59d
movsd xmm0, qword [ecx + 0x20]
xorpd xmm0, xmm2
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x6528d5af
mov dword [esp + 0x14], 0
mov eax, dword [0x652b845c]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x10], eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x24], edi
call dword [0x652b85d8]
xorps xmm0, xmm0
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [0x652baf10]
movsd qword [esp + 0x48], xmm0
test eax, eax
jle 0x6528d927
movsd xmm0, qword [0x653017b0]
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [0x652c87a0]
movsd qword [esp + 0x70], xmm0
lea esp, [esp]
push edi
mov ecx, esi
call dword [0x652b85d0]
mov edi, dword [eax]
mov eax, dword [edi + 0x68]
and al, 0x60
cmp al, 0x40
je 0x6528d8fe
movsd xmm0, qword [edi + 0x20]
lea eax, [edi + 0x20]
comisd xmm0, xmmword [0x653017a8]
mov ecx, 0x65301560
movsd xmm3, qword [esp + 0x68]
movsd qword [esp + 0x60], xmm3
cmovbe ecx, eax
movsd qword [esp + 0x28], xmm3
lea eax, [esp + 0x60]
movsd xmm0, qword [ecx]
comisd xmm0, xmm3
movsd xmm0, qword [edi + 0x30]
cmova eax, ecx
mov ecx, 0x65301560
comisd xmm0, xmmword [0x653017a8]
movsd xmm2, qword [eax]
lea eax, [edi + 0x30]
movsd qword [esp + 0x60], xmm2
cmovbe ecx, eax
lea eax, [esp + 0x28]
movsd xmm0, qword [ecx]
comisd xmm0, xmm3
cmova eax, ecx
movsd xmm3, qword [eax]
ucomisd xmm2, xmm3
movsd qword [esp + 0x78], xmm3
lahf
test ah, 0x44
jnp 0x6528d850
movsd xmm0, qword [esp + 0x40]
movaps xmm1, xmm2
comisd xmm3, xmm0
movsd xmm4, qword [esp + 0x50]
subsd xmm1, xmm3
jae 0x6528d6c7
xorpd xmm3, xmm4
comisd xmm2, xmm0
movsd qword [esp + 0x18], xmm3
jae 0x6528d6d7
xorpd xmm2, xmm4
comisd xmm1, xmm0
movsd qword [esp + 0x28], xmm2
jae 0x6528d6e7
xorpd xmm1, xmm4
mulsd xmm1, qword [esp + 0x70]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
comisd xmm3, xmm2
cmovbe eax, ecx
movsd xmm0, qword [eax]
comisd xmm0, xmm1
jae 0x6528d850
push 0x30
call fcn.652b5178
mov esi, eax
add esp, 4
test esi, esi
je 0x6528d749
mov ecx, dword [0x652b8450]
movsd xmm0, qword [esp + 0x40]
mov dword [esi], ecx
movsd qword [esi + 8], xmm0
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], 0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
jmp 0x6528d74b
xor esi, esi
movsd xmm0, qword [esp + 0x48]
lea eax, [edi + 8]
mov dword [esp + 0x18], eax
mov ecx, esi
lea eax, [esp + 0x28]
movsd qword [esp + 0x28], xmm0
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.65288e90
movsd xmm0, qword [esp + 0x60]
movsd qword [esi + 8], xmm0
mov dword [esi + 0x10], 2
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 1
je 0x6528d7a7
test eax, eax
je 0x6528d7a7
push 1
push 0x7fffffff
lea ecx, [esp + 0x18]
call fcn.6511c530
jmp 0x6528d7b1
lea ecx, [esp + 0x10]
call dword [0x652b85e0]
mov dword [eax], esi
cmp edi, dword [esp + 0x14]
je 0x6528d8fe
push 0x30
call fcn.652b5178
mov esi, eax
add esp, 4
test esi, esi
je 0x6528d7fc
mov ecx, dword [0x652b8450]
movsd xmm0, qword [esp + 0x40]
mov dword [esi], ecx
movsd qword [esi + 8], xmm0
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], 0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
jmp 0x6528d7fe
xor esi, esi
movsd xmm0, qword [esp + 0x48]
lea eax, [edi + 8]
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x60]
mov dword [esp + 0x18], esi
push eax
lea eax, [esp + 0x2c]
movsd qword [esp + 0x64], xmm0
push eax
lea eax, [esp + 0x40]
push eax
call fcn.65288e90
movsd xmm0, qword [esp + 0x78]
lea eax, [esp + 0x18]
movsd qword [esi + 8], xmm0
lea ecx, [esp + 0x10]
push eax
mov dword [esi + 0x10], 0
call fcn.650effc0
jmp 0x6528d8f9
push 0x30
call fcn.652b5178
mov esi, eax
add esp, 4
test esi, esi
je 0x6528d88f
mov ecx, dword [0x652b8450]
movsd xmm0, qword [esp + 0x40]
mov dword [esi], ecx
movsd qword [esi + 8], xmm0
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], 0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
jmp 0x6528d891
xor esi, esi
movsd xmm0, qword [esp + 0x48]
lea eax, [edi + 8]
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x78]
movsd qword [esp + 0x78], xmm0
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.65288e90
movsd xmm0, qword [esp + 0x60]
movsd qword [esi + 8], xmm0
mov dword [esi + 0x10], 1
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 1
je 0x6528d8ed
test eax, eax
je 0x6528d8ed
push 1
push 0x7fffffff
lea ecx, [esp + 0x18]
call fcn.6511c530
jmp 0x6528d8f7
lea ecx, [esp + 0x10]
call dword [0x652b85e0]
mov dword [eax], esi
mov byte [esp + 0xf], 0
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
inc edi
mov dword [esp + 0x24], edi
call dword [0x652b85d8]
mov esi, dword [ebp + 0xc]
cmp edi, eax
jl 0x6528d610
mov al, byte [esp + 0xf]
test al, al
je 0x6528d9e4
push 0x30
call fcn.652b5178
mov esi, eax
add esp, 4
test esi, esi
je 0x6528d966
mov ecx, dword [0x652b8450]
movsd xmm0, qword [esp + 0x40]
mov dword [esi], ecx
movsd qword [esi + 8], xmm0
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], 0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
jmp 0x6528d968
xor esi, esi
movsd xmm0, qword [esp + 0x48]
mov eax, dword [esp + 0x14]
movsd qword [esp + 0x78], xmm0
test eax, eax
je 0x6528d985
add eax, 8
mov dword [esp + 0x24], eax
jmp 0x6528d98d
mov dword [esp + 0x24], 0
lea eax, [esp + 0x78]
mov ecx, esi
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.65288e90
movsd xmm0, qword [0x653017a8]
movsd qword [esi + 8], xmm0
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 1
je 0x6528d9d8
test eax, eax
je 0x6528d9d8
push 1
push 0x7fffffff
lea ecx, [esp + 0x18]
call fcn.6511c530
jmp 0x6528d9e2
lea ecx, [esp + 0x10]
call dword [0x652b85e0]
mov dword [eax], esi
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [0x652b845c]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x6528da13
cmp ecx, 0xffffffff
je 0x6528da1d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6528da1d
mov eax, dword [esp + 0x10]
push eax
call dword [0x652b85e8]
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8