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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov ebx, ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [0x1aeac4c]
push ecx
lea edx, [esi + esi*4]
lea ecx, [eax + edx*8]
push ecx
mov dword [esp + 0x20], ebx
call fcn.0054c590
mov eax, dword [ebx + 0x124]
lea edx, [esi + esi*4]
lea ecx, [eax + edx*4]
movzx eax, word [ecx]
mov dword [esp + 0x40], ecx
movzx ecx, word [ecx + 2]
add ecx, eax
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x1c], eax
jae 0x54e1c0
mov edi, dword [ebp + 0x14]
jmp 0x54de44
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x148]
movzx eax, word [edx + eax*2]
mov ecx, dword [ebx + 0x154]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*4]
movzx ecx, word [esi]
movzx eax, cx
and eax, 0xffff7fff
cmp eax, dword [ebx + 0x3c]
mov dword [esp + 0x18], esi
jl 0x54de73
mov eax, dword [ebx + 0x44]
jmp 0x54de79
shl eax, 4
add eax, dword [ebx + 0x44]
fld dword [eax + 4]
fmul dword [0x1aeab90]
fld dword [eax]
fmul dword [0x1aeab8c]
faddp st(1)
fld dword [eax + 8]
fmul dword [0x1aeab94]
faddp st(1)
fadd dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [str._n_8]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x54debf
fstp st(0)
mov dword [esp + 0x10], 1
jmp 0x54dedc
fcomp dword [0x88d2b8]
mov dword [esp + 0x10], 0xffffffff
fnstsw ax
test ah, 0x41
jnp 0x54dedc
mov dword [esp + 0x10], 0
test ecx, 0x8000
je 0x54deee
mov edx, dword [esp + 0x10]
neg edx
mov dword [esp + 0x10], edx
movzx ecx, word [esi + 8]
movzx eax, cx
xor edx, edx
cmp eax, dword [ebp + 0x10]
sete dl
lea edx, [edx + edx - 1]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x54df12
movzx eax, word [esi + 0xa]
jmp 0x54df15
movzx eax, cx
movzx esi, ax
cmp esi, edx
mov dword [esp + 0x2c], esi
je 0x54e1a0
xor eax, eax
cmp dword [edi], eax
jbe 0x54df42
mov ecx, dword [edi + 8]
lea ecx, [ecx]
cmp esi, dword [ecx]
je 0x54e1a0
add eax, 1
add ecx, 4
cmp eax, dword [edi]
jb 0x54df30
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x54e111
mov eax, dword [0x992088]
push 1
mov dword [esp + 0x34], eax
call fcn.0040eca0
mov ecx, dword [esp + 0x1c]
xor esi, esi
add esp, 4
xor ebx, ebx
cmp word [ecx + 2], si
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
jbe 0x54e18f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x48]
add ecx, esi
push edx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0054d840
test al, al
je 0x54e0aa
cmp dword [ebp + 0xc], 0
fld qword [0x1aeab40]
fld qword [0x1aeab38]
fsub st(1), st(0)
fld qword [esp + 0x48]
fld1
fadd st(1), st(0)
fld qword [0x795858]
fmul st(2), st(0)
fxch st(2)
fmul st(4)
fadd st(3)
fst qword [esp + 0x40]
fld qword [0x1aeab50]
fld qword [0x1aeab48]
fsub st(1), st(0)
fld qword [esp + 0x50]
fadd st(4)
fmul st(5)
fmul st(2)
fadd st(1)
fstp qword [esp + 0x38]
fld qword [esp + 0x58]
fadd st(4)
fmul st(5)
fmulp st(7)
fxch st(6)
faddp st(5)
fxch st(4)
fsub st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x60]
faddp st(2)
fxch st(1)
fmulp st(2)
fxch st(1)
fmulp st(2)
fxch st(1)
faddp st(2)
fxch st(1)
fsub qword [esp + 0x38]
fstp qword [esp + 0x80]
jbe 0x54e0a8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, ebx
shl esi, 5
add esi, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jmp 0x54e044
fld qword [esp + 0x40]
mov ecx, dword [esp + 0x10]
fstp qword [esp + 0x48]
fld qword [esp + 0x38]
push ecx
fstp qword [esp + 0x54]
lea ecx, [esp + 0x4c]
fld qword [esp + 0x7c]
fstp qword [esp + 0x5c]
fld qword [esp + 0x84]
fstp qword [esp + 0x64]
call fcn.0054c460
test al, al
je 0x54e096
fld qword [esp + 0x48]
add ebx, 1
fstp qword [esi]
add esi, 0x20
fld qword [esp + 0x50]
fstp qword [esi - 0x18]
fld qword [esp + 0x58]
fstp qword [esi - 0x10]
fld qword [esp + 0x60]
fstp qword [esi - 8]
add dword [esp + 0x10], 0x20
sub dword [esp + 0x20], 1
jne 0x54e040
mov esi, dword [esp + 0x24]
jmp 0x54e0aa
fstp st(0)
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 2]
add esi, 1
cmp esi, eax
mov dword [esp + 0x24], esi
jl 0x54df7d
test ebx, ebx
je 0x54e18f
mov ecx, ebx
shl ecx, 5
sub ecx, 1
push ecx
call fcn.0040eca0
add dword [edi], 1
mov eax, dword [edi]
lea ecx, [edi + 4]
add esp, 4
cmp eax, dword [ecx]
jbe 0x54e0f7
push 4
push eax
lea edx, [edi + 8]
push edx
push edi
push ecx
call fcn.0040e110
add esp, 0x14
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*4 - 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edi
push eax
push ebx
push ecx
jmp 0x54e172
test eax, eax
jne 0x54e1a0
mov esi, dword [ebp + 0xc]
mov eax, dword [0x992088]
shl esi, 5
push esi
mov dword [esp + 0x34], eax
call fcn.0040eca0
mov ecx, dword [ebp + 8]
push esi
mov ebx, eax
push ecx
push ebx
call fcn.0074dfc0
add dword [edi], 1
mov eax, dword [edi]
lea ecx, [edi + 4]
add esp, 0x10
cmp eax, dword [ecx]
jbe 0x54e15b
push 4
push eax
lea edx, [edi + 8]
push edx
push edi
push ecx
call fcn.0040e110
add esp, 0x14
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*4 - 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0xc]
push edi
push eax
push ecx
push ebx
mov ecx, dword [esp + 0x24]
call fcn.0054dde0
mov eax, dword [edi]
cmp eax, 1
jbe 0x54e189
add eax, 0xffffffff
mov dword [edi], eax
jmp 0x54e18f
mov dword [edi], 0
mov edx, dword [esp + 0x30]
push edx
call fcn.0040ecd0
mov ebx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x34]
movzx edx, word [ecx]
movzx ecx, word [ecx + 2]
mov eax, dword [esp + 0x1c]
add eax, 1
add edx, ecx
cmp eax, edx
mov dword [esp + 0x1c], eax
jb 0x54de40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10