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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, ecx
imul ebx, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
lea esi, [ebx + ebx]
push edi
mov dword [esp + 0x28], ebx
mov edi, ebx
mov dword [esp + 0x14], esi
xor esi, esi
cmp ebp, 4
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], esi
jl 0x501fc7
add ebp, 0xfffffffc
shr ebp, 2
inc ebp
mov dword [esp + 0x3c], ebp
shl ebp, 2
mov dword [esp + 0x24], ebp
jmp 0x501e20
fld dword [eax + ebx*4]
mov ebx, dword [esp + 0x14]
fadd dword [eax + edi*4]
fld dword [eax + esi*4]
fadd dword [eax + ebx*4]
lea ebx, [esi*4]
lea ebp, [ebx + ecx*4]
fld st(0)
fadd st(2)
fstp dword [edx + ebx*4]
fsub st(1)
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
add ebx, ebp
mov ebp, dword [esp + 0x14]
fstp st(0)
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
mov dword [esp + 0x10], ebp
add edi, ecx
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x14]
fld dword [eax + ebp*4]
add ebx, ecx
fadd dword [eax + edi*4]
lea ebp, [esi*4]
fld dword [eax + esi*4]
mov dword [esp + 0x14], ebx
fadd dword [eax + ebx*4]
lea ebx, [ebp + ecx*4]
fld st(0)
fadd st(2)
fstp dword [edx + ebp*4]
fsub st(1)
fstp dword [edx + ebx*4 - 4]
lea ebx, [ecx + ecx]
add ebp, ebx
fstp st(0)
mov dword [esp + 0x18], ebp
fld dword [eax + esi*4]
mov ebp, dword [esp + 0x14]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
add esi, ecx
fstp dword [edx + ebp*4 - 4]
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fsub dword [eax + edi*4]
add edi, ecx
fstp dword [edx + ebp*4]
mov ebp, dword [esp + 0x10]
add ebp, ecx
mov dword [esp + 0x10], ebp
add dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x14]
fadd dword [eax + edi*4]
fld dword [eax + esi*4]
fadd dword [eax + ebp*4]
lea ebp, [esi*4]
mov dword [esp + 0x18], ebp
fld st(0)
fadd st(2)
fstp dword [edx + ebp*4]
lea ebp, [ebp + ecx*4]
fsub st(1)
fstp dword [edx + ebp*4 - 4]
mov ebp, dword [esp + 0x18]
add ebp, ebx
fstp st(0)
mov dword [esp + 0x18], ebp
fld dword [eax + esi*4]
mov ebp, dword [esp + 0x14]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
add esi, ecx
fstp dword [edx + ebp*4 - 4]
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fsub dword [eax + edi*4]
add edi, ecx
fstp dword [edx + ebp*4]
mov ebp, dword [esp + 0x10]
add ebp, ecx
mov dword [esp + 0x10], ebp
add dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x14]
fadd dword [eax + edi*4]
fld dword [eax + esi*4]
fadd dword [eax + ebp*4]
lea ebp, [esi*4]
mov dword [esp + 0x18], ebp
fld st(0)
fadd st(2)
fstp dword [edx + ebp*4]
lea ebp, [ebp + ecx*4]
fsub st(1)
fstp dword [edx + ebp*4 - 4]
mov ebp, dword [esp + 0x18]
add ebp, ebx
mov ebx, dword [esp + 0x14]
fstp st(0)
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebx*4]
mov ebx, dword [esp + 0x10]
fstp dword [edx + ebp*4 - 4]
fld dword [eax + ebx*4]
add ebx, ecx
fsub dword [eax + edi*4]
add edi, ecx
mov dword [esp + 0x10], ebx
fstp dword [edx + ebp*4]
mov ebp, dword [esp + 0x14]
add ebp, ecx
mov dword [esp + 0x14], ebp
dec dword [esp + 0x3c]
jne 0x501e20
mov ebp, dword [esp + 0x74]
cmp dword [esp + 0x24], ebp
jge 0x50206c
mov ebx, dword [esp + 0x10]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x74]
sub ebx, dword [esp + 0x24]
lea edi, [eax + edi*4]
lea ebp, [ecx*4]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
fld dword [edi]
mov edi, dword [esp + 0x20]
fadd dword [edi]
mov edi, dword [esp + 0x1c]
fld dword [eax + esi*4]
lea ebx, [esi*4]
fadd dword [edi]
lea edi, [ebx + ebp]
fld st(0)
fadd st(2)
fstp dword [edx + ebx*4]
fsub st(1)
fstp dword [edx + edi*4 - 4]
lea edi, [ecx + ecx]
add ebx, edi
mov edi, dword [esp + 0x1c]
fstp st(0)
fld dword [eax + esi*4]
add esi, ecx
fsub dword [edi]
mov edi, dword [esp + 0x20]
fstp dword [edx + ebx*4 - 4]
fld dword [edi]
mov edi, dword [esp + 0x3c]
fsub dword [edi]
add edi, ebp
mov dword [esp + 0x3c], edi
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x20]
add ebx, ebp
mov dword [esp + 0x20], ebx
add dword [esp + 0x1c], ebp
dec dword [esp + 0x38]
jne 0x502001
mov ebp, dword [esp + 0x74]
cmp ecx, 2
jl 0x50266e
je 0x50231e
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x64], ebx
jle 0x502315
mov esi, dword [esp + 0x28]
lea ebp, [esi + esi*2]
lea esi, [eax + esi*4]
mov edi, ecx
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x74]
shl edi, 4
lea ebp, [eax + ebp*4]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x68], esi
cmp ecx, 2
lea ebp, [ecx + ecx]
lea esi, [ebp + ebx*4]
jle 0x5022db
lea edi, [edx + esi*4]
add esi, ebp
lea ebp, [ebp + ebx*4]
lea ebp, [edx + ebp*4]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x14], edi
lea edi, [eax + ebx*4]
lea ebx, [ebx + ebp*2]
mov ebp, dword [esp + 0x78]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x7c]
sub ebx, ebp
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x80]
sub ebx, ebp
mov ebp, dword [esp + 0x80]
lea esi, [edx + esi*4]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x34]
sub ebx, ebp
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x78]
lea ebx, [ecx - 3]
shr ebx, 1
add esi, 4
inc ebx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
fld dword [edi + 4]
fmul dword [esi - 4]
add ebp, 8
fld dword [edi + 8]
mov dword [esp + 0x24], ebp
fmul dword [esi]
mov ebp, 8
add ebx, ebp
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
faddp st(1)
add ebx, ebp
fld dword [esi - 4]
fmul dword [edi + 8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x18]
fld dword [edi + 4]
fmul dword [esi]
add ebx, ebp
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
fsubp st(1)
add ebx, ebp
add edi, 8
mov dword [esp + 0x10], ebx
sub dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x30]
sub ebx, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x20]
fld dword [ebx + ebp]
mov ebp, dword [esp + 0x24]
fmul dword [ebp - 4]
mov ebp, dword [esp + 0x44]
fld dword [esi + ebp]
mov ebp, dword [esp + 0x24]
fmul dword [ebp]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [ebp]
mov ebp, dword [esp + 0x40]
fmul dword [ebx + ebp]
mov ebx, dword [esp + 0x44]
fld dword [esi + ebx]
mov ebx, dword [esp + 0x24]
fmul dword [ebx - 4]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x48]
fsubp st(1)
fstp dword [esp + 0x4c]
fld dword [ebx]
fmul dword [esi + ebp]
mov ebp, dword [esp + 0x20]
fld dword [ebp]
fmul dword [ebx - 4]
faddp st(1)
fld dword [ebx]
fmul dword [ebp]
mov ebp, dword [esp + 0x48]
fld dword [ebx - 4]
fmul dword [esi + ebp]
mov ebp, dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0x2c]
fld st(0)
fadd st(3)
fstp dword [esp + 0x58]
fsub st(2)
fstp dword [esp + 0x54]
fld dword [esp + 0x2c]
fadd st(1)
fstp dword [esp + 0x5c]
fsub dword [esp + 0x2c]
fstp st(1)
fld dword [esp + 0x4c]
fadd dword [ebp]
fld dword [ebp]
fsub dword [esp + 0x4c]
add esi, 8
fld dword [esp + 0x50]
fadd dword [ebp - 4]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x18]
fsub dword [esp + 0x50]
fld st(1)
fadd dword [esp + 0x58]
fstp dword [ebp - 4]
fld st(3)
fadd dword [esp + 0x5c]
fstp dword [ebp]
mov ebp, dword [esp + 0x14]
fld st(0)
fsub st(5)
fstp dword [ebp - 4]
fld dword [esp + 0x54]
fsub st(3)
fstp dword [ebp]
mov ebp, dword [esp + 0x10]
fadd st(4)
fstp dword [ebp - 4]
fxch st(1)
fadd dword [esp + 0x54]
fstp dword [ebp]
mov ebp, dword [esp + 0x30]
fsub dword [esp + 0x58]
fstp dword [ebp - 4]
fld dword [esp + 0x5c]
fsub st(1)
fstp dword [ebp]
mov ebp, dword [esp + 0x20]
add ebp, 8
mov dword [esp + 0x20], ebp
fstp st(0)
mov ebp, dword [esp + 0x60]
fstp st(0)
dec ebp
mov dword [esp + 0x60], ebp
jne 0x502153
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esi, edi
mov dword [esp + 0x34], esi
lea esi, [ecx*4]
add ebp, esi
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x3c]
add ebp, esi
mov esi, dword [esp + 0x68]
add ebx, ecx
dec esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x68], esi
jne 0x5020b3
test cl, 1
jne 0x50266e
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x74], 4
lea esi, [edi + ecx - 1]
lea edi, [esi + edi*2]
mov dword [esp + 0x10], edi
lea ebx, [ecx*4]
mov edi, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
jl 0x5025bd
lea ebp, [ecx + ecx*2]
lea ebp, [edx + ebp*4]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x28]
add ebp, esi
lea ebp, [eax + ebp*4]
shl ebx, 2
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebx
lea ebx, [ecx*4]
lea ebp, [ebx + eax - 4]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x74]
add ebp, 0xfffffffc
shr ebp, 2
inc ebp
mov dword [esp + 0x68], ebp
shl ebp, 2
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
fadd dword [eax + esi*4]
fmul dword [0x55ef2c]
fchs
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x1c]
fmul dword [0x55ef2c]
fld st(0)
fadd dword [ebp]
fstp dword [edx + edi*4 - 4]
fld dword [ebp]
mov ebp, dword [esp + 0x14]
fsub st(1)
fstp dword [ebp - 4]
mov ebp, dword [esp + 0x18]
fstp st(0)
fld st(0)
fsub dword [ebp]
fstp dword [edx + edi*4]
fadd dword [ebp]
mov ebp, dword [esp + 0x14]
fstp dword [ebp]
mov ebp, dword [esp + 0x18]
add ebp, ebx
add dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x14]
lea ebx, [ecx*4]
add edi, ebx
mov ebx, dword [esp + 0x2c]
add ebp, ebx
add dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov dword [esp + 0x1c], ebx
fadd dword [eax + esi*4]
fmul dword [0x55ef2c]
fchs
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x14]
fmul dword [0x55ef2c]
fld st(0)
fadd dword [ebx]
fstp dword [edx + edi*4 - 4]
fld dword [ebx]
mov ebx, dword [esp + 0x18]
fsub st(1)
fstp dword [ebp - 4]
fstp st(0)
fld st(0)
fsub dword [ebx]
fstp dword [edx + edi*4]
fadd dword [ebx]
fstp dword [ebp]
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
add dword [esp + 0x10], ecx
lea ebx, [ecx*4]
add edi, ebx
mov ebx, dword [esp + 0x2c]
add ebp, ebx
add dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov dword [esp + 0x1c], ebx
fadd dword [eax + esi*4]
fmul dword [0x55ef2c]
fchs
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x14]
fmul dword [0x55ef2c]
fld st(0)
fadd dword [ebx]
fstp dword [edx + edi*4 - 4]
fld dword [ebx]
mov ebx, dword [esp + 0x18]
fsub st(1)
fstp dword [ebp - 4]
fstp st(0)
fld st(0)
fsub dword [ebx]
fstp dword [edx + edi*4]
fadd dword [ebx]
fstp dword [ebp]
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
add dword [esp + 0x10], ecx
lea ebx, [ecx*4]
add edi, ebx
mov ebx, dword [esp + 0x2c]
add ebp, ebx
mov ebx, dword [esp + 0x20]
add ebx, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov dword [esp + 0x1c], ebx
fadd dword [eax + esi*4]
fmul dword [0x55ef2c]
fchs
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x14]
fmul dword [0x55ef2c]
fld st(0)
fadd dword [ebx]
fstp dword [edx + edi*4 - 4]
fld dword [ebx]
mov ebx, dword [esp + 0x18]
fsub st(1)
fstp dword [ebp - 4]
fstp st(0)
fld st(0)
fsub dword [ebx]
fstp dword [edx + edi*4]
fadd dword [ebx]
fstp dword [ebp]
lea ebp, [ecx*4]
add ebx, ebp
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
add ebx, ecx
mov dword [esp + 0x10], ebx
lea ebx, [ecx*4]
add edi, ebx
mov ebx, dword [esp + 0x2c]
add ebp, ebx
mov ebx, dword [esp + 0x20]
add ebx, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
lea ebx, [ecx*4]
add ebp, ebx
mov dword [esp + 0x1c], ebp
dec dword [esp + 0x68]
jne 0x502390
mov ebx, dword [esp + 0x74]
cmp dword [esp + 0x24], ebx
jge 0x50266e
lea ebx, [ecx*4]
lea ebp, [edx + edi*4]
shl ebx, 2
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x68], ebx
lea ebx, [ecx*4]
lea ecx, [edi + ecx*2]
mov edi, dword [esp + 0x24]
lea ebp, [eax + ebp*4]
lea edx, [edx + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ebp
lea ebp, [eax + esi*4]
add esi, ecx
lea ecx, [eax + esi*4]
mov esi, dword [esp + 0x20]
lea eax, [eax + esi*4 - 4]
mov esi, dword [esp + 0x74]
sub esi, edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x3c]
fld dword [esi]
fadd dword [ebp]
fmul dword [0x55ef2c]
fchs
fld dword [ebp]
add ebp, ebx
fsub dword [esi]
add esi, ebx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x68]
fmul dword [0x55ef2c]
fld st(0)
fadd dword [eax]
fstp dword [edi - 4]
fld dword [eax]
add eax, ebx
fsub st(1)
fstp dword [edx - 4]
fstp st(0)
fld st(0)
fsub dword [ecx]
fstp dword [edi]
add edi, esi
fadd dword [ecx]
add ecx, ebx
fstp dword [edx]
add edx, esi
dec dword [esp + 0x74]
jne 0x50261e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret