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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc4
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
sub ecx, dword [esi]
mov eax, 0xd20d20d3
imul ecx
add edx, ecx
sar edx, 7
mov ebx, dword [ebp + 8]
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, dword [edi + 4]
mov ecx, eax
shl ecx, 6
add ecx, dword [edi + 0xc]
shl eax, 4
add eax, dword [edi + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
shr ecx, 4
and ecx, 7
mov eax, ecx
add ebx, 0x10
sub eax, 1
mov dword [esp + 0x44], ecx
je 0x4258ce
sub eax, 1
je 0x4258c4
sub eax, 2
je 0x4258ba
mov dword [esp + 0x40], 0
jmp 0x4258d6
mov dword [esp + 0x40], 3
jmp 0x4258d6
mov dword [esp + 0x40], 2
jmp 0x4258d6
mov dword [esp + 0x40], 1
test dl, 4
je 0x425a97
mov edx, dword [ebp + 0x10]
sub edx, dword [esi]
mov eax, 0xd20d20d3
mov dword [esp + 0x18], edx
imul edx
add edx, dword [esp + 0x18]
mov dword [esp + 0x30], 0
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
and eax, 7
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x14], eax
jbe 0x425d14
mov eax, dword [ebp + 8]
fldz
fld1
sub eax, ebx
mov dword [esp + 0x20], eax
jmp 0x42592f
fld1
mov ecx, dword [esp + 0x44]
fldz
fxch st(1)
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x30]
movzx esi, word [edx + eax*2]
mov eax, dword [edi + 0x20]
mov edx, esi
and edx, 7
fld dword [eax + esi*8]
mov dword [esp + 0x4c], edx
fmul dword [0xb3148c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fldz
fsubrp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fcompi st(2)
jb 0x42596c
xorps xmm0, xmm0
jmp 0x425972
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fsubr st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fcompi st(2)
fstp st(1)
jae 0x425994
movss xmm0, dword [0x6cc5ec]
mov eax, dword [ebp + 0x10]
movss dword [esp + 0x18], xmm0
fsub dword [esp + 0x18]
push ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
push ecx
push esi
push edx
lea ecx, [esp + 0xa0]
push edi
push ecx
call fcn.00424ff0
movaps xmm3, xmmword [esp + 0xa8]
movaps xmm4, xmmword [esp + 0xb8]
movaps xmm2, xmmword [esp + 0xc8]
movaps xmm5, xmmword [esp + 0xd8]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
movaps xmm1, xmm3
unpckhps xmm3, xmm4
unpcklps xmm1, xmm4
movaps xmm0, xmm2
unpcklps xmm0, xmm5
movaps xmm4, xmm1
movlhps xmm4, xmm0
movhlps xmm0, xmm1
movaps xmmword [esp + 0x78], xmm0
mov edx, esi
shl edx, 6
add edx, dword [esp + 0x60]
unpckhps xmm2, xmm5
movaps xmm0, xmm3
movlhps xmm0, xmm2
movaps xmmword [esp + 0x88], xmm0
movups xmm0, xmmword [edx]
mov edx, dword [esp + 0x58]
movaps xmmword [eax + ebx], xmm0
lea eax, [ecx + edx*8]
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx + eax*8]
add ecx, eax
mov eax, dword [0x9d2c30]
imul eax, eax, 0x4d0
shl ecx, 7
movhlps xmm2, xmm3
add esp, 0x18
add ecx, 0xa378c0
add eax, 0x9ce1f0
movaps xmmword [esp + 0x50], xmm4
movaps xmmword [esp + 0x80], xmm2
call fcn.00404480
mov edx, esi
shl edx, 4
add edx, dword [esp + 0x34]
lea esi, [esp + 0x50]
mov ecx, ebx
call fcn.0041b080
mov eax, dword [esp + 0x30]
add eax, 1
add ebx, 0x40
cmp eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
jb 0x425925
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dl, 0x20
je 0x425bff
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x30], 0
jbe 0x425d14
mov eax, dword [ebp + 8]
fldz
fld1
sub eax, ebx
mov dword [esp + 0x20], eax
jmp 0x425ace
fld1
mov edi, dword [ebp + 0xc]
fldz
mov ecx, dword [esp + 0x44]
fxch st(1)
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x30]
movzx esi, word [edx + eax*2]
mov eax, dword [edi + 0x20]
mov edx, esi
and edx, 7
fld dword [eax + esi*8]
fmul dword [0xb3148c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fldz
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcompi st(2)
jb 0x425b07
xorps xmm0, xmm0
jmp 0x425b0d
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fsubr st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcompi st(2)
fstp st(1)
jae 0x425b2f
movss xmm0, dword [0x6cc5ec]
mov eax, dword [ebp + 0x10]
movss dword [esp + 0x3c], xmm0
fsub dword [esp + 0x3c]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
push ecx
push esi
push edx
lea ecx, [esp + 0x60]
push edi
push ecx
call fcn.00424ff0
movaps xmm3, xmmword [esp + 0x68]
movaps xmm4, xmmword [esp + 0x78]
movaps xmm2, xmmword [esp + 0x88]
movaps xmm5, xmmword [esp + 0x98]
mov eax, dword [esp + 0x38]
movaps xmm1, xmm3
unpckhps xmm3, xmm4
unpcklps xmm1, xmm4
movaps xmm0, xmm2
unpcklps xmm0, xmm5
mov edx, esi
movaps xmm4, xmm1
movlhps xmm4, xmm0
movhlps xmm0, xmm1
movaps xmmword [esp + 0xb8], xmm0
shl esi, 4
add esi, dword [esp + 0x4c]
shl edx, 6
add edx, dword [esp + 0x60]
unpckhps xmm2, xmm5
movaps xmm0, xmm3
movlhps xmm0, xmm2
movaps xmmword [esp + 0xc8], xmm0
movups xmm0, xmmword [edx]
push esi
movhlps xmm2, xmm3
lea edi, [esp + 0xac]
mov esi, ebx
movaps xmmword [esp + 0xac], xmm4
movaps xmmword [esp + 0xdc], xmm2
movaps xmmword [eax + ebx], xmm0
call fcn.005805d0
mov eax, dword [esp + 0x4c]
add eax, 1
add esp, 0x1c
add ebx, 0x40
cmp eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
jb 0x425ac1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x20], 0
jbe 0x425d14
fldz
fld1
jmp 0x425c21
fld1
mov ecx, dword [esp + 0x44]
fldz
fxch st(1)
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x20]
movzx esi, word [edx + eax*2]
mov eax, dword [edi + 0x20]
mov edx, esi
and edx, 7
fld dword [eax + esi*8]
fmul dword [0xb3148c]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fldz
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcompi st(2)
jb 0x425c5a
xorps xmm0, xmm0
jmp 0x425c60
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fsubr st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcompi st(2)
fstp st(1)
jae 0x425c82
movss xmm0, dword [0x6cc5ec]
mov eax, dword [ebp + 0x10]
movss dword [esp + 0x1c], xmm0
fsub dword [esp + 0x1c]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
push ecx
push esi
push edx
lea ecx, [esp + 0x60]
push edi
push ecx
call fcn.00424ff0
movaps xmm1, xmmword [esp + 0x68]
movaps xmm5, xmmword [esp + 0x78]
movaps xmm3, xmmword [esp + 0x88]
movaps xmm6, xmmword [esp + 0x98]
mov eax, dword [esp + 0x38]
movaps xmm2, xmm1
unpcklps xmm2, xmm5
shl esi, 6
add esi, dword [esp + 0x60]
movaps xmm0, xmm3
unpcklps xmm0, xmm6
movaps xmm4, xmm2
movlhps xmm4, xmm0
movhlps xmm0, xmm2
movups xmm2, xmmword [esi]
movaps xmmword [ebx - 0x10], xmm2
movups xmmword [ebx], xmm4
unpckhps xmm1, xmm5
unpckhps xmm3, xmm6
movups xmmword [ebx + 0x10], xmm0
movlhps xmm1, xmm3
add eax, 1
movups xmmword [ebx + 0x20], xmm1
add esp, 0x18
add ebx, 0x40
cmp eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
jb 0x425c17
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret