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

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x9c]
push ebp
mov ecx, eax
push esi
push edi
mov esi, dword [esp + 0xa4]
mov edi, dword [ecx]
xor edx, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edx
mov edi, dword [ecx + 4]
lea ebp, [esi + 4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 1
mov edi, dword [ecx + 8]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0xa0]
fld dword [esp + 0x2c]
fmul dword [edi + 0xc]
fld dword [esp + 0x28]
fmul dword [edi + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x30], ecx
faddp st(1)
fld dword [esp + 0x24]
fmul dword [edi + 4]
faddp st(1)
fst dword [esp + 0x18]
fadd dword [eax + 0xc]
fcomp dword [0x5eb9ac]
fnstsw ax
and eax, 0x4100
je 0x545acf
mov dword [esp + 0x1c], edx
mov ecx, dword [edi]
xor eax, eax
cmp ecx, edx
jle 0x545d0f
lea esi, [ebp + 0x1c]
lea edx, [ebp + 0xc]
push ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
lea ebx, [edi + 0x18]
inc eax
mov dword [esp + 0x38], eax
cdq
idiv ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x545b36
mov eax, dword [esp + 0x14]
lea esi, [ebx - 0x14]
mov ecx, 9
mov edi, ebp
inc eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov eax, 0x24
add ebp, eax
add esi, eax
add ecx, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
mov esi, ecx
lea eax, [edx + edx*8]
mov edx, dword [esp + 0xac]
lea ecx, [edi + eax*4 + 4]
mov eax, dword [edx]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x64], eax
fld dword [esp + 0x64]
fmul dword [ecx + 8]
fld dword [esp + 0x60]
fmul dword [ecx + 4]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xac]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [ecx]
faddp st(1)
fld st(0)
fadd dword [edx + 0xc]
fcomp dword [0x5eb9ac]
fnstsw ax
and eax, 0x4100
jne 0x545b99
mov eax, 1
jmp 0x545b9b
xor eax, eax
cmp dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
je 0x545cdc
fld dword [esp + 0x1c]
fadd dword [edx + 0xc]
fld dword [esp + 0x1c]
fsub st(2)
mov eax, ebp
fdivp st(1)
fld dword [ecx]
fsub dword [ebx - 0x14]
fld dword [ecx + 4]
fsub dword [ebx - 0x10]
fld dword [ecx + 8]
fsub dword [ebx - 0xc]
fstp dword [esp + 0x9c]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x88]
fmul st(1)
fld dword [esp + 0x9c]
fmul st(2)
fld dword [esp + 0x88]
fadd dword [ebx - 0x14]
fstp dword [esp + 0x3c]
fxch st(1)
fadd dword [ebx - 0x10]
mov edx, dword [esp + 0x3c]
fstp dword [esp + 0x40]
fadd dword [ebx - 0xc]
mov dword [eax], edx
mov edx, dword [esp + 0x40]
fstp dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
fld dword [ecx + 0xc]
fsub dword [ebx - 8]
fld dword [ecx + 0x10]
fsub dword [ebx - 4]
fld dword [ecx + 0x14]
fsub dword [ebx]
fstp dword [esp + 0x84]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x28]
fmul st(1)
fld dword [esp + 0x84]
fmul st(2)
fld dword [esp + 0x28]
fadd dword [ebx - 8]
fstp dword [esp + 0x50]
fxch st(1)
fadd dword [ebx - 4]
mov edx, dword [esp + 0x50]
fstp dword [esp + 0x54]
fadd dword [ebx]
mov dword [eax], edx
mov edx, dword [esp + 0x54]
fstp dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], edx
fld dword [ecx + 0x1c]
fsub dword [ebx + 8]
fld dword [ecx + 0x20]
fsub dword [ebx + 0xc]
fstp dword [esp + 0x70]
fmul st(1)
fld dword [esp + 0x70]
fmul st(2)
add ebp, 0x24
fstp dword [esp + 0x78]
fadd dword [ebx + 8]
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fstp st(0)
fld dword [esp + 0x78]
fadd dword [ebx + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
inc eax
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov dword [ebp - 0xc], edx
add ecx, 0x24
add esi, 0x24
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
mov ecx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
add ebx, 0x24
fstp dword [esp + 0x1c]
cmp eax, ecx
jl 0x545aed
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x14]
pop ebx
pop edi
pop esi
mov dword [ecx], eax
pop ebp
add esp, 0x90
ret 0xc
mov dword [esi], edx
pop edi
pop esi
mov eax, edx
pop ebp
add esp, 0x90
ret 0xc