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

Disassembly:
sub esp, 0x44
push esi
mov esi, ecx
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x5f1a0e
fld dword [esi + 0x70]
mov eax, dword [0xb22218]
fmul dword [esi + 0xd8]
push ebx
push edi
push 0x2000
fstp dword [esp + 0x14]
lea edx, [esp + 0x10]
fld dword [esi + 0x74]
push edx
fmul dword [esi + 0xd8]
push 0
test eax, eax
mov eax, dword [esi + 0xdc]
fstp dword [esp + 0x20]
push 0
fld dword [esi + 0x78]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x28]
fld dword [esi + 0x80]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x30]
fld dword [esi + 0x84]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x34]
fld dword [esi + 0x88]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x38]
fld dword [esi + 0x90]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x40]
fld dword [esi + 0x94]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x44]
fld dword [esi + 0x98]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x48]
fld dword [esi + 0xa0]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x50]
fld dword [esi + 0xa4]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x54]
fld dword [esi + 0xa8]
fmul dword [esi + 0xd8]
fstp dword [esp + 0x58]
je 0x5f18d3
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0xdc]
xor edx, edx
cmp word [eax], dx
jbe 0x5f18c0
mov edi, 0xfffffffc
lea eax, [ebx + 4]
sub edi, ebx
push ebp
lea esp, [esp]
fld dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
fmul dword [eax]
lea ecx, [edi + eax]
fld dword [esp + 0x34]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [eax - 4]
faddp st(1)
fadd dword [esp + 0x44]
fstp dword [ecx + ebx]
mov ebx, dword [esp + 0x10]
fld dword [esp + 0x28]
fmul dword [eax]
fld dword [esp + 0x38]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [eax - 4]
faddp st(1)
fadd dword [esp + 0x48]
fstp dword [ecx + ebx + 4]
mov ebx, dword [esp + 0x10]
fld dword [esp + 0x2c]
fmul dword [eax]
fld dword [esp + 0x3c]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [eax - 4]
faddp st(1)
fadd dword [esp + 0x4c]
fstp dword [ecx + ebx + 8]
mov ebx, dword [esp + 0x10]
fld dword [esp + 0x34]
fmul dword [eax + 0x10]
fld dword [esp + 0x24]
fmul dword [eax + 0xc]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [eax + 8]
faddp st(1)
fstp dword [ecx + ebx + 0xc]
mov ebx, dword [esp + 0x10]
fld dword [esp + 0x38]
fmul dword [eax + 0x10]
fld dword [esp + 0x28]
fmul dword [eax + 0xc]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [eax + 8]
faddp st(1)
fstp dword [ecx + ebx + 0x10]
mov ebx, dword [esp + 0x10]
fld dword [esp + 0x3c]
fmul dword [eax + 0x10]
fld dword [esp + 0x2c]
fmul dword [eax + 0xc]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [eax + 8]
faddp st(1)
fstp dword [ecx + ebx + 0x14]
mov ebx, dword [eax + 0x14]
mov ebp, dword [esp + 0x10]
fld dword [esp + 0x34]
mov dword [ecx + ebp + 0x18], ebx
mov ebx, dword [eax + 0x18]
mov ebp, dword [esp + 0x10]
mov dword [ecx + ebp + 0x1c], ebx
fmul dword [eax + 0x24]
fld dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
fmul dword [eax + 0x20]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [eax + 0x1c]
faddp st(1)
fstp dword [ecx + ebx + 0x20]
fld dword [esp + 0x38]
fmul dword [eax + 0x24]
mov ebx, dword [esp + 0x10]
fld dword [esp + 0x28]
inc edx
fmul dword [eax + 0x20]
add eax, 0x2c
faddp st(1)
fld dword [esp + 0x18]
fmul dword [eax - 0x10]
faddp st(1)
fstp dword [ecx + ebx + 0x24]
mov ebx, dword [esp + 0x10]
fld dword [esp + 0x3c]
fmul dword [eax - 8]
fld dword [esp + 0x2c]
fmul dword [eax - 0xc]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [eax - 0x10]
faddp st(1)
fstp dword [ecx + ebx + 0x28]
mov ecx, dword [esi + 0xdc]
movzx ecx, word [ecx]
cmp edx, ecx
jl 0x5f1760
pop ebp
mov esi, dword [esi + 0xc8]
mov edx, dword [esi]
push esi
call dword [edx + 0x30]
pop edi
pop ebx
pop esi
add esp, 0x44
ret
mov edi, dword [eax + 4]
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0xdc]
xor edx, edx
cmp word [eax], dx
jbe 0x5f1a00
xor ecx, ecx
lea eax, [edi + 4]
jmp 0x5f1900
fld dword [esp + 0x30]
mov edi, dword [esp + 0xc]
fmul dword [eax + 4]
inc edx
fld dword [esp + 0x10]
add eax, 0x2c
fmul dword [eax - 0x30]
add ecx, 0x20
faddp st(1)
fld dword [esp + 0x20]
fmul dword [eax - 0x2c]
faddp st(1)
fadd dword [esp + 0x40]
fstp dword [ecx + edi - 0x20]
mov edi, dword [esp + 0xc]
fld dword [esp + 0x34]
fmul dword [eax - 0x28]
fld dword [esp + 0x14]
fmul dword [eax - 0x30]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [eax - 0x2c]
faddp st(1)
fadd dword [esp + 0x44]
fstp dword [ecx + edi - 0x1c]
mov edi, dword [esp + 0xc]
fld dword [esp + 0x38]
fmul dword [eax - 0x28]
fld dword [esp + 0x18]
fmul dword [eax - 0x30]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [eax - 0x2c]
faddp st(1)
fadd dword [esp + 0x48]
fstp dword [ecx + edi - 0x18]
mov edi, dword [esp + 0xc]
fld dword [esp + 0x30]
fmul dword [eax - 0x1c]
fld dword [esp + 0x20]
fmul dword [eax - 0x20]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [eax - 0x24]
faddp st(1)
fstp dword [ecx + edi - 0x14]
mov edi, dword [esp + 0xc]
fld dword [esp + 0x34]
fmul dword [eax - 0x1c]
fld dword [esp + 0x24]
fmul dword [eax - 0x20]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [eax - 0x24]
faddp st(1)
fstp dword [ecx + edi - 0x10]
mov edi, dword [esp + 0xc]
fld dword [esp + 0x38]
fmul dword [eax - 0x1c]
fld dword [esp + 0x28]
fmul dword [eax - 0x20]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [eax - 0x24]
faddp st(1)
fstp dword [ecx + edi - 0xc]
mov edi, dword [eax - 0x18]
mov ebx, dword [esp + 0xc]
mov dword [ecx + ebx - 8], edi
mov edi, dword [eax - 0x14]
mov ebx, dword [esp + 0xc]
mov dword [ecx + ebx - 4], edi
mov edi, dword [esi + 0xdc]
movzx edi, word [edi]
cmp edx, edi
jl 0x5f1900
mov esi, dword [esi + 0xc8]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x30]
pop edi
pop ebx
pop esi
add esp, 0x44
ret