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

Disassembly:
sub esp, 0x74
movsd xmm0, qword [esp + 0x78]
lea eax, [esp + 0x44]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x28]
movsd qword [esp + 0x28], xmm0
call fcn.0054ce90
cmp dword [esp + 0x90], 0
movsd xmm0, qword [esp + 0x88]
jne 0x54d6ca
movsd qword [esp + 0x24], xmm0
xor eax, eax
mov edi, dword [esp + 0x28]
mov ecx, edi
and ecx, 0x7ff00000
or eax, ecx
jne 0x54d5df
mov dword [esp + 0x10], 0xfffffbcc
mov edx, 0xfffffbcd
jmp 0x54d5f9
mov eax, edi
shr eax, 0x14
and eax, 0x7ff
lea ecx, [eax - 0x435]
mov dword [esp + 0x10], ecx
lea edx, [eax - 0x434]
mov ecx, dword [esp + 0x24]
mov ebp, edi
mov ebx, edi
mov dword [esp + 0x14], edx
and ebp, 0x7ff00000
and ebx, 0xfffff
xor eax, eax
mov dword [esp + 0x18], ebx
or eax, ebp
mov dword [esp + 0x1c], ebp
mov esi, ecx
je 0x54d62a
add esi, 0
adc ebx, 0x100000
mov ebp, esi
mov dword [esp + 0x3c], edx
mov eax, ebx
shld eax, ebp, 1
add ebp, ebp
mov dword [esp + 0x20], eax
mov ecx, ebp
add ecx, 1
mov dword [esp + 0x34], ecx
adc eax, 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0054d8e0
mov eax, dword [esp + 0x2c]
add esp, 8
or eax, dword [esp + 0x18]
jne 0x54d697
or eax, dword [esp + 0x1c]
je 0x54d697
shr edi, 0x14
and edi, 0x7ff
cmp edi, 1
je 0x54d697
mov ecx, dword [esp + 0x10]
shld ebx, esi, 2
shl esi, 2
add esi, 0xffffffff
mov dword [esp + 0x34], esi
adc ebx, 0xffffffff
mov dword [esp + 0x38], ebx
jmp 0x54d6ad
mov eax, dword [esp + 0x20]
add ebp, 0xffffffff
mov ecx, dword [esp + 0x14]
adc eax, 0xffffffff
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
sub ecx, eax
movups xmm0, xmmword [esp + 0x34]
movups xmmword [esp + 0x24], xmm0
movd xmm0, ecx
jmp 0x54d7c5
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x20]
test ebx, 0x7f800000
jne 0x54d6ef
mov ebp, 0xffffff69
mov dword [esp + 0x10], 0xffffff6a
jmp 0x54d706
mov eax, ebx
shr eax, 0x17
movzx eax, al
lea ebp, [eax - 0x98]
add eax, 0xffffff69
mov dword [esp + 0x10], eax
mov esi, ebx
mov eax, ebx
and esi, 0x7fffff
and eax, 0x7f800000
mov dword [esp + 0x20], eax
lea edi, [esi + 0x800000]
cmove edi, esi
xor edx, edx
mov eax, edi
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
add eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
adc edx, 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], edx
push eax
call fcn.0054d8e0
add esp, 8
test esi, esi
jne 0x54d791
cmp dword [esp + 0x20], esi
je 0x54d791
and ebx, 0x7f800000
cmp ebx, 0x800000
je 0x54d791
xor eax, eax
mov dword [esp + 0x3c], ebp
shld eax, edi, 2
shl edi, 2
add edi, 0xffffffff
mov dword [esp + 0x34], edi
adc eax, 0xffffffff
mov dword [esp + 0x38], eax
jmp 0x54d7b1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0xffffffff
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
adc ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov ebp, eax
mov dword [esp + 0x3c], eax
movups xmm0, xmmword [esp + 0x34]
mov eax, dword [esp + 0x4c]
sub ebp, eax
movups xmmword [esp + 0x24], xmm0
movd xmm0, ebp
movq xmm1, qword [esp + 0x24]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
psllq xmm1, xmm0
movups xmm0, xmmword [esp + 0x48]
lea eax, [esp + 0x28]
movq qword [esp + 0x28], xmm1
push eax
movups xmmword [esp + 0x3c], xmm0
mov eax, 0xffffffa0
movups xmm0, xmmword [esp + 0x2c]
sub eax, dword [esp + 0x64]
push eax
mov eax, 0xffffff84
mov dword [esp + 0x38], 0
sub eax, dword [esp + 0x68]
movups xmmword [esp + 0x50], xmm0
push eax
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
call fcn.00554460
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0054dc10
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0054dc10
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0054dc10
movups xmm0, xmmword [esp + 0x88]
add esp, 0x34
lea eax, [esp + 0x20]
push eax
push dword [esp + 0xa0]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [esp + 0xa4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [eax], xmm0
call fcn.0054cf20
mov ecx, dword [esp + 0xe0]
add esp, 0x40
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x74
ret