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

Disassembly:
sub esp, 0x60
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
push ebx
push ebp
mov ebp, edx
xor ebx, ebx
imul ebp, ecx
push esi
mov esi, dword [esp + 0x7c]
push edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
test ecx, ecx
jle 0x438217
lea ebp, [edx*4]
mov edx, dword [esp + 0x10]
lea ecx, [edi + edx*4]
lea eax, [edx + edx*2]
mov dword [esp + 0x24], ecx
lea edx, [edi + edx*8]
mov dword [esp + 0x18], edx
lea eax, [edi + eax*4]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
lea esp, [esp]
fld dword [eax]
fadd dword [ecx]
mov eax, dword [esp + 0x18]
lea ecx, [ebx*4]
fstp dword [esp + 0x14]
fld dword [edi + ebx*4]
fadd dword [eax]
lea eax, [ecx + ebp]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esi + ecx*4]
lea ecx, [ecx + edx*2]
fsubp st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fstp dword [esi + eax*4 - 4]
mov eax, dword [esp + 0x18]
fld dword [edi + ebx*4]
add ebx, edx
add dword [esp + 0x18], ebp
fsub dword [eax]
mov eax, dword [esp + 0x20]
fstp dword [esi + ecx*4 - 4]
fld dword [eax]
mov eax, dword [esp + 0x24]
fsub dword [eax]
mov eax, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x20], eax
fstp dword [esi + ecx*4]
mov ecx, dword [esp + 0x24]
add ecx, ebp
dec dword [esp + 0x40]
mov dword [esp + 0x24], ecx
jne 0x438190
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
cmp edx, 2
jl 0x4385a8
je 0x4384ea
xor ebx, ebx
mov dword [esp + 0x50], ebx
test ecx, ecx
jle 0x4384e1
mov eax, edx
mov dword [esp + 0x34], esi
shl eax, 4
mov dword [esp + 0x6c], eax
lea eax, [ebp*2]
add eax, ebp
mov dword [esp + 0x54], ecx
lea eax, [edi + eax*4]
mov dword [esp + 0x3c], eax
lea eax, [edi + ebp*4]
mov dword [esp + 0x38], eax
lea esp, [esp]
lea eax, [ebx*4]
lea eax, [eax + edx*2]
cmp edx, 2
jle 0x4384b5
lea ecx, [esi + eax*4]
lea eax, [eax + edx*2]
mov dword [esp + 0x28], ecx
lea eax, [esi + eax*4]
mov dword [esp + 0x30], eax
lea ecx, [ebx*4]
mov eax, dword [esp + 0x34]
lea ebp, [ecx + edi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x40], eax
lea eax, [ecx + edx*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x2c], eax
lea eax, [ebx + ebp*2]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x40]
lea eax, [edi + eax*4]
mov dword [esp + 0x24], eax
mov ecx, ebx
mov eax, dword [esp + 0x3c]
sub ebx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x84]
mov edi, ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x58], eax
lea eax, [edx - 3]
mov edx, dword [esp + 0x1c]
shr eax, 1
inc eax
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x44]
add edx, 8
fld dword [ebp - 4]
add esi, 8
add dword [esp + 0x24], 8
mov dword [esp + 0x44], esi
add dword [esp + 0x18], 8
fmul dword [esi - 4]
fld dword [esi]
fmul dword [ebp]
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 8
add dword [esp + 0x2c], 8
sub dword [esp + 0x28], 8
faddp st(1)
sub dword [esp + 0x30], 8
fstp dword [esp + 0x40]
fld dword [esi]
fmul dword [ebp - 4]
fld dword [esi - 4]
fmul dword [ebp]
mov esi, dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x5c]
fld dword [esi - 4]
fmul dword [ebx + edi]
fld dword [ecx + ebp]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esi]
fmul dword [ebx + edi]
fld dword [ecx + ebp]
fmul dword [esi - 4]
mov esi, dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x60]
fld dword [esi]
mov esi, dword [esp + 0x58]
fmul dword [esi + ebp]
fld dword [eax - 4]
fmul dword [ebx]
faddp st(1)
fstp dword [esp + 0x48]
fld dword [eax]
fmul dword [ebx]
fld dword [eax - 4]
fmul dword [esi + ebp]
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x40]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x5c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fsubrp st(1)
fstp dword [esp + 0x5c]
fld dword [edx]
fld dword [esp + 0x60]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fsubr dword [edx]
fstp dword [esp + 0x60]
fld dword [edx - 4]
fld dword [esp + 0x64]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ebp, 8
fsubr dword [edx - 4]
add ebx, 8
dec dword [esp + 0x4c]
fstp dword [esp + 0x64]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [eax - 4]
fld dword [esp + 0x48]
fld dword [esp + 0x40]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [eax]
fld dword [esp + 0x64]
mov eax, dword [esp + 0x28]
fld st(0)
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [eax - 4]
fld dword [esp + 0x68]
fld st(0)
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [eax]
mov eax, dword [esp + 0x2c]
fxch st(3)
faddp st(2)
fxch st(1)
fstp dword [eax - 4]
faddp st(1)
fstp dword [eax]
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
fsubrp st(2)
fxch st(1)
fstp dword [eax - 4]
fsub dword [esp + 0x48]
fstp dword [eax]
jne 0x438314
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
add ebx, edx
add dword [esp + 0x34], eax
lea eax, [edx*4]
add dword [esp + 0x38], eax
add dword [esp + 0x3c], eax
dec ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
jne 0x438260
mov ecx, dword [esp + 0x78]
test dl, 1
jne 0x4385a8
lea eax, [ebp - 1]
add eax, edx
mov dword [esp + 0x74], eax
lea ebp, [eax + ebp*2]
lea eax, [edx*4]
test ecx, ecx
jle 0x4385a8
fld dword [0x4ec994]
lea ecx, [edx*4]
shl eax, 2
lea ebx, [ecx + esi]
mov dword [esp + 0x54], eax
lea ebp, [edi + ebp*4]
mov eax, dword [esp + 0x74]
fld st(0)
fchs
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
lea eax, [edi + eax*4]
mov dword [esp + 0x68], eax
lea eax, [edx + edx*2]
lea edx, [esi + eax*4]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x74]
lea esi, [edi + eax*4]
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x10]
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x68]
fld dword [eax]
fadd dword [ebp]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [eax]
add eax, ecx
fsub dword [ebp]
add ebp, ecx
fmul st(2)
fstp dword [esp + 0x14]
fld dword [edi]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebx - 4]
fsubr dword [edi]
add edi, ecx
fstp dword [edx - 4]
fld dword [esp + 0x40]
fld st(0)
fsub dword [esi]
fstp dword [ebx]
add ebx, dword [esp + 0x54]
fadd dword [esi]
add esi, ecx
fstp dword [edx]
add edx, dword [esp + 0x54]
dec dword [esp + 0x78]
jne 0x438556
fstp st(1)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret