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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
mov ebx, edx
imul ebx, ebp
push esi
push edi
xor edi, edi
cmp ebp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], edi
lea esi, [edx*4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], edi
jl 0x422881
lea edi, [edx + edx]
mov dword [esp + 0x38], edi
lea edi, [edx + edx]
add edi, edi
add edi, edi
mov dword [esp + 0x44], edi
add ebp, 0xfffffffc
lea edi, [ebx + ebx]
mov dword [esp + 0x34], edi
shr ebp, 2
lea edi, [ebx*4]
add ebp, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x50], ebp
lea edi, [edx + edx]
add edi, edi
add ebp, ebp
add ebp, ebp
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebp
lea esp, [esp]
fld dword [eax + edi - 4]
mov ebp, dword [esp + 0x44]
fadd st(0), st(0)
add ebp, edi
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
fstp dword [esp + 0x20]
add ebx, ebx
fld dword [edi + eax]
add ebx, ebx
fadd st(0), st(0)
add dword [esp + 0x30], edx
add dword [esp + 0x34], edx
add dword [esp + 0x38], esi
fstp dword [esp + 0x24]
add dword [esp + 0x3c], esi
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x1c]
fsub dword [eax + ebp - 4]
fstp dword [esp + 0x1c]
fld dword [eax + ebp - 4]
mov ebp, dword [esp + 0x14]
fadd dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add dword [esp + 0x14], esi
add dword [esp + 0x10], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx + ebp*4]
mov ebp, dword [esp + 0x2c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ecx + ebp]
add ebp, ebx
mov ebx, dword [esp + 0x28]
fxch st(3)
fsubrp st(2)
add ebx, ebx
fxch st(1)
add ebx, ebx
add ebx, ebp
fstp dword [ecx + ebp]
lea ebp, [edx*4]
faddp st(1)
fstp dword [ebx + ecx]
mov ebx, dword [esp + 0x2c]
add ebx, ebp
lea ebp, [esi*4]
add edi, ebp
fld dword [eax + edi - 4]
mov ebp, dword [esp + 0x44]
fadd st(0), st(0)
add ebp, edi
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
fstp dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
fld dword [edi + eax]
fadd st(0), st(0)
fstp dword [esp + 0x24]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x1c]
fsub dword [eax + ebp - 4]
fstp dword [esp + 0x1c]
fld dword [eax + ebp - 4]
mov ebp, dword [esp + 0x14]
fadd dword [eax + ebp*4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
mov ebp, dword [esp + 0x10]
fxch st(1)
add dword [esp + 0x14], esi
add dword [esp + 0x10], edx
fstp dword [ecx + ebp*4]
mov ebp, dword [esp + 0x28]
fld dword [esp + 0x1c]
add ebp, ebp
fld st(0)
add ebp, ebp
fld dword [esp + 0x24]
add dword [esp + 0x30], edx
fld st(0)
add dword [esp + 0x34], edx
fsubp st(2)
add dword [esp + 0x38], esi
fxch st(1)
add dword [esp + 0x3c], esi
fstp dword [ebx + ecx]
add ebx, ebp
mov ebp, dword [esp + 0x28]
fxch st(3)
fsubrp st(2)
add ebp, ebp
add ebp, ebp
fxch st(1)
fstp dword [ebx + ecx]
add ebx, ebp
lea ebp, [edx*4]
faddp st(1)
fstp dword [ebx + ecx]
mov ebx, dword [esp + 0x2c]
add ebx, ebp
lea ebp, [esi*4]
add edi, ebp
fld dword [eax + edi - 4]
mov ebp, dword [esp + 0x44]
fadd st(0), st(0)
add ebp, edi
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
fstp dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
fld dword [edi + eax]
fadd st(0), st(0)
fstp dword [esp + 0x24]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x1c]
fsub dword [eax + ebp - 4]
fstp dword [esp + 0x1c]
fld dword [eax + ebp - 4]
mov ebp, dword [esp + 0x14]
fadd dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx + ebp*4]
mov ebp, dword [esp + 0x28]
fld dword [esp + 0x1c]
add ebp, ebp
fld st(0)
add ebp, ebp
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebx + ecx]
add ebx, ebp
mov ebp, dword [esp + 0x28]
fxch st(3)
fsubrp st(2)
add ebp, ebp
fxch st(1)
add ebp, ebp
fstp dword [ebx + ecx]
faddp st(1)
add ebx, ebp
add dword [esp + 0x14], esi
lea ebp, [edx*4]
fstp dword [ebx + ecx]
mov ebx, dword [esp + 0x2c]
add ebx, ebp
lea ebp, [esi*4]
add edi, ebp
fld dword [eax + edi - 4]
mov ebp, dword [esp + 0x44]
fadd st(0), st(0)
add ebp, edi
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
fstp dword [esp + 0x20]
add dword [esp + 0x10], edx
fld dword [edi + eax]
add dword [esp + 0x30], edx
fadd st(0), st(0)
add dword [esp + 0x34], edx
add dword [esp + 0x38], esi
add dword [esp + 0x3c], esi
fstp dword [esp + 0x24]
add dword [esp + 0x30], edx
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x1c]
fsub dword [eax + ebp - 4]
add dword [esp + 0x34], edx
add dword [esp + 0x38], esi
add dword [esp + 0x3c], esi
fstp dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
fld dword [eax + ebp - 4]
mov ebp, dword [esp + 0x14]
fadd dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add dword [esp + 0x10], edx
add dword [esp + 0x14], esi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx + ebp*4]
mov ebp, dword [esp + 0x28]
fld dword [esp + 0x1c]
add ebp, ebp
fld st(0)
add ebp, ebp
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebx + ecx]
add ebx, ebp
mov ebp, dword [esp + 0x28]
fxch st(3)
fsubrp st(2)
add ebp, ebp
fxch st(1)
add ebp, ebp
fstp dword [ebx + ecx]
add ebx, ebp
faddp st(1)
fstp dword [ebx + ecx]
lea ebx, [edx*4]
add dword [esp + 0x2c], ebx
lea ebx, [esi*4]
add edi, ebx
sub dword [esp + 0x50], 1
mov ebx, dword [esp + 0x28]
jne 0x422580
mov ebp, dword [esp + 0x78]
cmp dword [esp + 0x40], ebp
jge 0x422984
mov edi, dword [esp + 0x10]
add edi, ebx
mov dword [esp + 0x3c], edi
mov ebp, edi
mov edi, dword [esp + 0x14]
add ebp, ebp
lea edi, [edi + edx*2]
add ebp, ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x10]
add edi, edi
add edi, edi
lea ebp, [ecx + ebp*4]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x78]
sub edi, dword [esp + 0x40]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x14]
lea ebp, [eax + ebp*4]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x38]
fld dword [edi + eax - 4]
lea ebp, [edx + edx]
fadd st(0), st(0)
add dword [esp + 0x3c], edx
add dword [esp + 0x4c], esi
fstp dword [esp + 0x20]
fld dword [edi + eax]
lea edi, [edi + ebp*4]
mov ebp, dword [esp + 0x34]
fadd st(0), st(0)
fstp dword [esp + 0x24]
fld dword [ebp]
fsub dword [edi + eax - 4]
fstp dword [esp + 0x1c]
fld dword [ebp]
mov ebp, dword [esp + 0x50]
fadd dword [edi + eax - 4]
mov edi, dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [edi + ecx]
lea edi, [edi + ebx*4]
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [edi + ecx]
lea edi, [edi + ebx*4]
faddp st(1)
fstp dword [edi + ecx]
lea edi, [edx*4]
add dword [esp + 0x44], edi
add ebp, edi
lea edi, [esi*4]
add dword [esp + 0x38], edi
add dword [esp + 0x34], edi
sub dword [esp + 0x48], 1
mov dword [esp + 0x50], ebp
jne 0x4228d4
mov ebp, dword [esp + 0x78]
cmp edx, 2
jl 0x4230a6
je 0x422cd2
test ebp, ebp
mov dword [esp + 0x10], 0
jle 0x422cba
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], ebp
nop
mov edi, dword [esp + 0x10]
add edi, edi
add edi, edi
cmp edx, 2
lea edi, [edi + edx*2]
mov dword [esp + 0x14], edi
lea edi, [edi + edx*2]
mov dword [esp + 0x68], edi
jle 0x422ca0
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
add edi, edi
add edi, edi
sub edi, edi
add edi, ebp
add edi, ebx
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x14]
lea edi, [eax + edi*4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
add ebp, ebp
add ebp, ebp
lea edi, [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x68]
lea edi, [eax + edi*4]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x30], edi
lea edi, [ebx + ebx]
add edi, ebp
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x7c]
add edi, 4
mov dword [esp + 0x14], edi
lea edi, [ebp*4]
sub edi, dword [esp + 0x50]
lea ebp, [edi + ebx]
lea edi, [ecx + edi*4]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x80]
add ebp, ebp
add ebp, ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x7c]
sub edi, ebp
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x84]
sub edi, ebp
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x80]
sub edi, dword [esp + 0x84]
mov dword [esp + 0x60], edi
lea edi, [edx - 3]
shr edi, 1
add edi, 1
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x14]
lea ebx, [ebx]
add dword [esp + 0x40], 8
add dword [esp + 0x38], 8
sub dword [esp + 0x34], 8
add dword [esp + 0x48], 8
mov ebp, dword [esp + 0x40]
fld dword [ebp]
add dword [esp + 0x4c], 8
add dword [esp + 0x54], 2
add dword [esp + 0x58], 2
sub dword [esp + 0x3c], 8
mov ebp, dword [esp + 0x3c]
fadd dword [ebp]
mov ebp, dword [esp + 0x40]
fstp dword [esp + 0x28]
fld dword [ebp]
mov ebp, dword [esp + 0x3c]
fsub dword [ebp]
mov ebp, dword [esp + 0x38]
fstp dword [esp + 0x2c]
fld dword [ebp]
mov ebp, dword [esp + 0x34]
fsub dword [ebp]
mov ebp, dword [esp + 0x38]
fstp dword [esp + 0x44]
fld dword [ebp]
mov ebp, dword [esp + 0x34]
fadd dword [ebp]
mov ebp, dword [esp + 0x40]
fstp dword [esp + 0x24]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x3c]
fsub dword [ebp - 4]
mov ebp, dword [esp + 0x40]
fstp dword [esp + 0x1c]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x3c]
fadd dword [ebp - 4]
mov ebp, dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x34]
fsub dword [ebp - 4]
mov ebp, dword [esp + 0x38]
fstp dword [esp + 0x70]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x34]
fadd dword [ebp - 4]
mov ebp, dword [esp + 0x48]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 4]
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x44]
fld st(0)
fld dword [esp + 0x2c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp]
fsubrp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x44]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x70]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
faddp st(2)
mov ebp, dword [esp + 0x4c]
fxch st(1)
fstp dword [esp + 0x70]
fsubrp st(1)
fstp dword [esp + 0x28]
fld dword [edi - 4]
fld dword [esp + 0x44]
fld st(0)
fmulp st(2)
fld dword [edi]
fld dword [esp + 0x70]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [ecx + ebp - 4]
fmul dword [edi]
fld dword [edi - 4]
lea edi, [ebp + ebx*4]
fmulp st(2)
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x30]
faddp st(1)
fstp dword [ecx + ebp]
mov ebp, dword [esp + 0x60]
fld dword [edi + ebp]
mov edi, dword [esp + 0x14]
fld dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
fld st(0)
fmulp st(2)
fld dword [edi + ebp]
mov ebp, dword [esp + 0x44]
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [ecx + ebp - 4]
mov ebp, dword [esp + 0x5c]
fmul dword [edi + ebp]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x60]
fld dword [edi + ebp]
mov edi, dword [esp + 0x44]
fmulp st(2)
lea ebp, [ebx*4]
faddp st(1)
fstp dword [edi + ecx]
add edi, ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x30]
fld dword [edi]
mov edi, dword [esp + 0x14]
fld dword [esp + 0x24]
add edi, 8
fld st(0)
mov dword [esp + 0x14], edi
fmulp st(2)
fld dword [esp + 0x28]
fld st(0)
fmul dword [edi + ebp - 8]
mov ebp, dword [esp + 0x44]
fsubp st(3)
fxch st(2)
fstp dword [ecx + ebp - 4]
mov ebp, dword [esp + 0x30]
fld dword [ebp]
mov ebp, dword [esp + 0x64]
add dword [esp + 0x30], 8
fmulp st(2)
sub dword [esp + 0x68], 1
fmul dword [edi + ebp - 8]
mov ebp, dword [esp + 0x44]
faddp st(1)
fstp dword [ecx + ebp]
jne 0x422a90
add dword [esp + 0x10], edx
lea edi, [edx + edx*2]
add dword [esp + 0x50], edi
sub dword [esp + 0x6c], 1
jne 0x4229b0
mov ebp, dword [esp + 0x78]
mov edi, edx
and edi, 0x80000001
jns 0x422cc9
dec edi
or edi, 0xfffffffe
inc edi
cmp edi, 1
je 0x4230a6
cmp ebp, 4
fld dword [0x497b04]
lea edi, [edx - 1]
mov dword [esp + 0x14], edi
lea edi, [edx + edx*2]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], 0
jl 0x422fc0
mov edi, dword [esp + 0x14]
fld st(0)
add edi, ebx
fchs
mov dword [esp + 0x24], edi
fstp dword [esp + 0x50]
mov edi, dword [esp + 0x14]
fld dword [esp + 0x50]
add ebp, 0xfffffffc
lea edi, [edi + ebx*2]
shr ebp, 2
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x24]
add ebp, 1
add edi, edi
mov dword [esp + 0x6c], ebp
add ebp, ebp
add edi, edi
add ebp, ebp
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x20]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x24], edx
add dword [esp + 0x3c], edx
fstp dword [esp + 0x28]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
fsub dword [eax + ebp*4]
fstp dword [esp + 0x2c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x20]
fsub dword [eax + ebp*4 - 4]
fstp dword [esp + 0x1c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x14]
add dword [esp + 0x10], esi
add dword [esp + 0x14], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [ecx + ebp*4]
lea ebp, [edi + ebx*4]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fld st(4)
fmulp st(2)
fxch st(1)
fstp dword [edi + ecx]
fld dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [ecx + ebp]
lea ebp, [ebp + ebx*4]
faddp st(1)
fmul st(1)
fstp dword [ecx + ebp]
lea ebp, [edx*4]
add edi, ebp
mov ebp, dword [esp + 0x20]
add ebp, esi
fld dword [eax + ebp*4]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
mov ebp, dword [esp + 0x20]
fstp dword [esp + 0x28]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
fsub dword [eax + ebp*4]
fstp dword [esp + 0x2c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x20]
fsub dword [eax + ebp*4 - 4]
fstp dword [esp + 0x1c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [ecx + ebp*4]
lea ebp, [edi + ebx*4]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fld st(4)
fmulp st(2)
fxch st(1)
fstp dword [edi + ecx]
fld dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [ecx + ebp]
add dword [esp + 0x10], esi
lea ebp, [ebp + ebx*4]
faddp st(1)
add dword [esp + 0x14], edx
add dword [esp + 0x24], edx
add dword [esp + 0x3c], edx
fmul st(1)
add dword [esp + 0x24], edx
add dword [esp + 0x3c], edx
fstp dword [ecx + ebp]
lea ebp, [edx*4]
add edi, ebp
mov ebp, dword [esp + 0x20]
add ebp, esi
fld dword [eax + ebp*4]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
mov ebp, dword [esp + 0x20]
fstp dword [esp + 0x28]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
fsub dword [eax + ebp*4]
fstp dword [esp + 0x2c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x20]
fsub dword [eax + ebp*4 - 4]
fstp dword [esp + 0x1c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x14]
add dword [esp + 0x10], esi
add dword [esp + 0x14], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [ecx + ebp*4]
lea ebp, [edi + ebx*4]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fld st(4)
fmulp st(2)
fxch st(1)
fstp dword [edi + ecx]
fld dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [ecx + ebp]
lea ebp, [ebp + ebx*4]
faddp st(1)
fmul st(1)
fstp dword [ecx + ebp]
lea ebp, [edx*4]
add edi, ebp
mov ebp, dword [esp + 0x20]
add ebp, esi
fld dword [eax + ebp*4]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
mov ebp, dword [esp + 0x20]
fstp dword [esp + 0x28]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
fsub dword [eax + ebp*4]
fstp dword [esp + 0x2c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x20]
fsub dword [eax + ebp*4 - 4]
fstp dword [esp + 0x1c]
fld dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4 - 4]
mov ebp, dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [ecx + ebp*4]
add dword [esp + 0x14], edx
fld dword [esp + 0x1c]
add dword [esp + 0x24], edx
fld st(0)
add dword [esp + 0x3c], edx
fld dword [esp + 0x28]
add dword [esp + 0x10], esi
fld st(0)
add dword [esp + 0x20], esi
fsubp st(2)
lea ebp, [edi + ebx*4]
fld st(4)
fmulp st(2)
fxch st(1)
fstp dword [edi + ecx]
fld dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [ecx + ebp]
lea ebp, [ebp + ebx*4]
faddp st(1)
fmul st(1)
fstp dword [ecx + ebp]
lea ebp, [edx*4]
add edi, ebp
sub dword [esp + 0x6c], 1
jne 0x422d39
mov ebp, dword [esp + 0x78]
fstp st(0)
cmp dword [esp + 0x40], ebp
jge 0x4230a4
mov edi, dword [esp + 0x14]
fld st(0)
add esi, esi
fchs
add esi, esi
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
mov dword [esp + 0x70], esi
add edi, ebx
sub ebp, dword [esp + 0x40]
lea esi, [edi*4]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x14]
lea esi, [ecx + esi*4]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x6c], edi
lea edi, [eax + esi*4]
mov esi, dword [esp + 0x10]
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x68], ebp
fld dword [eax]
mov ebp, dword [esp + 0x78]
fadd dword [edi]
add dword [esp + 0x6c], edx
fstp dword [esp + 0x28]
fld dword [edi]
fsub dword [eax]
fstp dword [esp + 0x2c]
fld dword [eax - 4]
fsub dword [edi - 4]
fstp dword [esp + 0x1c]
fld dword [edi - 4]
fadd dword [eax - 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [ebp]
lea ebp, [edx*4]
fld dword [esp + 0x1c]
add dword [esp + 0x78], ebp
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fld st(4)
fmulp st(2)
fxch st(1)
fstp dword [esi + ecx]
lea esi, [esi + ebx*4]
fld dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [esi + ecx]
lea esi, [esi + ebx*4]
faddp st(1)
fmul st(1)
fstp dword [esi + ecx]
mov esi, dword [esp + 0x4c]
add esi, ebp
mov ebp, dword [esp + 0x70]
add eax, ebp
add edi, ebp
sub dword [esp + 0x68], 1
mov dword [esp + 0x4c], esi
jne 0x423018
fstp st(1)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret