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

Disassembly:
sub esp, 0xc0
cmp byte [esi + 3], 3
jb 0x54ed3e
mov byte [esp + 0xd], 0xf
mov dword [esp + 0x94], 0x59e088
jmp 0x54ed4e
mov byte [esp + 0xd], 7
mov dword [esp + 0x94], 0x59e030
mov al, byte [esi + 0x1b]
test al, al
je 0x54ed62
cmp al, 3
je 0x54ed62
mov al, byte [esi + 6]
mov byte [esp + 1], al
jmp 0x54ed67
mov byte [esp + 1], 0xb
xor dl, dl
mov byte [esp + 2], dl
cmp byte [esi + 0x2d6], dl
jbe 0x54f8c2
fld qword [0x59e2f0]
push ebx
fld qword [0x5bbf00]
push ebp
fld qword [0x5bbf38]
push edi
fld dword [esp + 0x3c]
mov ecx, dword [esi + 0x2e0]
mov eax, dword [esi + 0x2dc]
movzx ebp, dl
mov cl, byte [ecx + ebp*2]
mov dword [esp + 0x94], ebp
mov byte [esp + 0xf], cl
cmp dl, byte [esi + 0x2d7]
jae 0x54edbe
mov al, byte [eax + ebp]
inc al
jmp 0x54edc2
mov al, byte [eax + ebp + 1]
mov byte [esp + 0x18], al
xor al, al
mov byte [esp + 0x1a], al
cmp byte [esi + 9], al
jbe 0x54f8a5
movzx edx, byte [esp + 0x19]
movzx ecx, cl
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
jmp 0x54edeb
mov ecx, dword [esp + 0x60]
cmp byte [esi + 4], 3
movzx edi, al
jae 0x54efa7
mov edx, dword [esp + 0x5c]
fstp st(3)
mov eax, edi
fstp st(1)
shl eax, 4
add eax, edi
lea ecx, [ecx + eax*2]
lea eax, [ecx + esi]
movsx ecx, byte [eax + 0x8c]
lea ebx, [edx + ecx]
mov edx, dword [esp + 0xa0]
fld dword [edx + ebx*4]
mov ebx, dword [esp + 0x5c]
sub ebx, ecx
fstp dword [esp + 0x10]
movsx ecx, byte [eax + 0x136]
fld dword [edx + ebx*4]
add ecx, ecx
fstp dword [esp + 0x40]
add ecx, ecx
cmp byte [esi + 3], 3
fld dword [ecx + 0x59ce30]
fstp dword [esp + 0x14]
fld dword [ecx + 0x59ce50]
fstp dword [esp + 0x34]
jb 0x54eeb8
cmp byte [eax + 0x8c], 0
jge 0x54ee91
movsx ecx, byte [eax + 0x8c]
movsx eax, byte [eax + 0x136]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub eax, ecx
add eax, eax
add eax, eax
fld dword [eax + 0x59d070]
fstp dword [esp + 0x2c]
fld dword [eax + 0x59d270]
fchs
jmp 0x54ef14
movsx edx, byte [eax + 0x8c]
movsx eax, byte [eax + 0x136]
lea eax, [eax + edx*8]
add eax, eax
add eax, eax
fld dword [eax + 0x59d070]
fstp dword [esp + 0x2c]
fld dword [eax + 0x59d270]
jmp 0x54ef14
cmp byte [eax + 0x8c], 0
jge 0x54eeef
movsx ecx, byte [eax + 0x8c]
movsx eax, byte [eax + 0x136]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub eax, ecx
add eax, eax
add eax, eax
fld dword [eax + 0x59ce70]
fstp dword [esp + 0x2c]
fld dword [eax + 0x59cf70]
fchs
jmp 0x54ef14
movsx edx, byte [eax + 0x8c]
movsx eax, byte [eax + 0x136]
lea eax, [eax + edx*8]
add eax, eax
add eax, eax
fld dword [eax + 0x59ce70]
fstp dword [esp + 0x2c]
fld dword [eax + 0x59cf70]
fstp dword [esp + 0x30]
fld dword [esp + 0x2c]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fxch st(1)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fmulp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
fsubp st(2)
fld dword [esp + 0x40]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x6c]
faddp st(2)
fld dword [esp + 0x10]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x7c]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x2c]
fld st(0)
faddp st(2)
fxch st(1)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x74]
fsubp st(1)
fmulp st(1)
fstp dword [esp + 0x64]
fld qword [0x5bbf00]
jmp 0x54f094
mov edx, edi
shl edx, 4
add edx, edi
lea eax, [ecx + edx*2]
movsx ecx, byte [eax + esi + 0x8c]
add ecx, dword [esp + 0x5c]
lea ebx, [eax + esi]
movsx eax, byte [ebx + 0x8c]
cdq
xor eax, edx
add ecx, ecx
sub eax, edx
movsx edx, byte [ebx + 0x136]
add ecx, ecx
add ecx, ecx
cmp byte [esi + 3], 3
lea ebx, [edx + ecx]
jb 0x54f018
fld dword [ebx*4 + 0x59d650]
mov ebx, edx
sub ebx, ecx
fstp dword [esp + 0x2c]
fld dword [ebx*4 + 0x59da10]
movzx ecx, al
lea eax, [edx + ecx*8]
fstp dword [esp + 0x34]
add eax, eax
add eax, eax
fld dword [eax + 0x59db30]
fstp dword [esp + 0x30]
fld dword [eax + 0x59de30]
jmp 0x54f04c
fld dword [ebx*4 + 0x59d470]
mov ebx, edx
sub ebx, ecx
fstp dword [esp + 0x2c]
fld dword [ebx*4 + 0x59d630]
movzx ecx, al
lea eax, [edx + ecx*8]
fstp dword [esp + 0x34]
add eax, eax
add eax, eax
fld dword [eax + 0x59da30]
fstp dword [esp + 0x30]
fld dword [eax + 0x59dd30]
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fxch st(1)
fmul st(6)
fstp dword [esp + 0x6c]
fld dword [esp + 0x34]
fld st(0)
fmulp st(3)
fxch st(2)
fmul st(6)
fstp dword [esp + 0x7c]
fchs
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fmul st(6)
fstp dword [esp + 0x74]
fmulp st(1)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x64]
fxch st(1)
cmp byte [esi + 0x1a], 0
je 0x54f367
mov dl, byte [esp + 0xd]
cmp byte [esp + 0xf], dl
jae 0x54f367
mov bl, byte [esi + 0x564c]
fstp st(2)
mov edx, dword [esp + 0x60]
movsx eax, bl
lea ecx, [eax + edx*2 + 0xaca]
lea ecx, [esi + ecx*8]
mov dword [esp + 0x14], ecx
fld dword [ecx]
lea ecx, [eax + edx*2]
fmul st(2)
lea eax, [eax + edx*2 + 0xaf2]
lea eax, [esi + eax*8]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x1c]
lea ecx, [esi + ecx*8]
fld dword [ecx + 0x5654]
fmul st(2)
fstp dword [esp + 0x20]
fld dword [eax]
mov eax, edi
shl eax, 4
fmul st(2)
add eax, edx
add eax, edi
lea ebp, [eax + esi]
fstp dword [esp + 0x24]
movsx eax, byte [ebp + 0x1e0]
fld dword [ecx + 0x5794]
fmulp st(2)
cdq
fxch st(1)
xor eax, edx
fstp dword [esp + 0x28]
sub eax, edx
mov edx, dword [esp + 0x14]
fld dword [eax*4 + 0x59e264]
fstp dword [edx]
movsx eax, byte [ebp + 0x1e0]
cdq
xor eax, edx
sub eax, edx
fld dword [eax*4 + 0x59e288]
fstp dword [ecx + 0x5654]
movsx eax, byte [ebp + 0x235]
cdq
xor eax, edx
sub eax, edx
fld dword [eax*4 + 0x59e264]
mov eax, dword [esp + 0x34]
fstp dword [eax]
movsx eax, byte [ebp + 0x235]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x14]
fld dword [eax*4 + 0x59e288]
mov eax, dword [esp + 0x34]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [ecx + 0x5794]
fld dword [esp + 0x1c]
fadd dword [edx]
fstp dword [esp + 0x1c]
fld dword [ecx + 0x5654]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [eax]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
test bl, bl
jne 0x54f1b7
mov bl, 2
mov edx, dword [esp + 0x60]
dec bl
movsx eax, bl
lea ecx, [eax + edx*2 + 0xaca]
fld dword [esi + ecx*8]
lea ecx, [eax + edx*2]
fmul st(1)
lea ecx, [esi + ecx*8]
lea edx, [eax + edx*2 + 0xaf2]
lea eax, [esp + 0x24]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [ecx + 0x5654]
fmul st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esi + edx*8]
fmul st(1)
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fmul dword [ecx + 0x5794]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
call fcn.0054ed00
lea eax, [esp + 0x1c]
fstp dword [esp + 0x10]
call fcn.0054ed00
fstp dword [esp + 0x40]
fldz
fld st(0)
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
fld dword [esp + 0x28]
fld dword [esp + 0x24]
test ah, 0x44
jnp 0x54f259
fld st(0)
fdiv st(3)
fstp dword [esp + 0xac]
fld st(1)
fdiv st(3)
fstp dword [esp + 0xb0]
jmp 0x54f26b
fxch st(3)
fst dword [esp + 0xac]
fst dword [esp + 0xb0]
fxch st(3)
fld dword [esp + 0x40]
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x10]
fld st(2)
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x54f2c7
fstp st(3)
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld st(3)
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fdiv st(5)
fstp dword [esp + 0x84]
fxch st(2)
fmulp st(1)
fxch st(2)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x10]
fdivr dword [esp + 0x10]
jmp 0x54f2d4
fstp st(0)
fstp st(0)
fstp st(0)
fst dword [esp + 0x84]
fstp dword [esp + 0x88]
mov ebp, dword [esp + 0x94]
fld dword [esp + 0xb0]
fld st(0)
fld dword [esp + 0x6c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x88]
fld st(0)
fld dword [esp + 0x7c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x74]
fld st(0)
fmulp st(5)
fxch st(4)
fstp dword [esp + 0x78]
fld dword [esp + 0x64]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x68]
fld dword [esp + 0xac]
fld st(0)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x6c]
fld dword [esp + 0x84]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x7c]
fxch st(2)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x74]
fmulp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x3c]
jmp 0x54f36b
fstp st(0)
fstp st(0)
movzx eax, byte [edi + esi + 0xb]
movzx ecx, byte [edi + esi + 0xa]
lea edx, [edi + esi + 0xb]
lea edi, [edi + esi + 0xa]
sub eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x6c]
fld st(0)
fsub dword [esi + ebp*8 + 0x500c]
fld dword [esp + 0x10]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0xbc]
fld dword [esp + 0x7c]
fld st(0)
fsub dword [esi + ebp*8 + 0x519c]
fdiv st(2)
fstp dword [esp + 0x8c]
fld dword [esp + 0x74]
fld st(0)
fsub dword [esi + ebp*8 + 0x532c]
fdiv st(3)
fstp dword [esp + 0x98]
fld dword [esp + 0x64]
fld st(0)
fsub dword [esi + ebp*8 + 0x54bc]
fdiv st(4)
fstp dword [esp + 0xa4]
fld dword [esi + ebp*8 + 0x500c]
fstp dword [esp + 0x38]
fld dword [esi + ebp*8 + 0x519c]
fstp dword [esp + 0x54]
fld dword [esi + ebp*8 + 0x532c]
fstp dword [esp + 0x4c]
fld dword [esi + ebp*8 + 0x54bc]
fstp dword [esp + 0x44]
fxch st(4)
fstp dword [esi + ebp*8 + 0x500c]
fxch st(1)
fstp dword [esi + ebp*8 + 0x519c]
fstp dword [esi + ebp*8 + 0x532c]
fxch st(1)
fstp dword [esi + ebp*8 + 0x54bc]
cmp byte [esi + 0x1a], 0
je 0x54f57d
mov al, byte [esp + 0xf]
cmp al, byte [esp + 0xd]
jae 0x54f57d
fstp st(1)
mov ecx, dword [esi + 0x2e0]
fld dword [esp + 0x70]
mov eax, 0x1000
fld st(0)
fsub dword [esi + ebp*8 + 0x5010]
fdiv st(2)
fstp dword [esp + 0xc0]
fld dword [esp + 0x80]
fld st(0)
fsub dword [esi + ebp*8 + 0x51a0]
fdiv st(3)
fstp dword [esp + 0x90]
fld dword [esp + 0x78]
fld st(0)
fsub dword [esi + ebp*8 + 0x5330]
fdiv st(4)
fstp dword [esp + 0x9c]
fld dword [esp + 0x68]
fld st(0)
fsub dword [esi + ebp*8 + 0x54c0]
fdivrp st(5)
fxch st(4)
fstp dword [esp + 0xa8]
fld dword [esi + ebp*8 + 0x5010]
fstp dword [esp + 0x3c]
fld dword [esi + ebp*8 + 0x51a0]
fstp dword [esp + 0x58]
fld dword [esi + ebp*8 + 0x5330]
fstp dword [esp + 0x50]
fld dword [esi + ebp*8 + 0x54c0]
fstp dword [esp + 0x48]
test word [ecx + ebp*2], ax
je 0x54f559
fld dword [esp + 0xc0]
fchs
fstp dword [esp + 0xc0]
fld dword [esp + 0x90]
fchs
fstp dword [esp + 0x90]
fld dword [esp + 0x9c]
fchs
fstp dword [esp + 0x9c]
fld dword [esp + 0xa8]
fchs
fstp dword [esp + 0xa8]
fld dword [esp + 0x3c]
fchs
fstp dword [esp + 0x3c]
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x48]
fchs
fstp dword [esp + 0x48]
fxch st(2)
fstp dword [esi + ebp*8 + 0x5010]
fstp dword [esi + ebp*8 + 0x51a0]
fstp dword [esi + ebp*8 + 0x5330]
fstp dword [esi + ebp*8 + 0x54c0]
fld dword [esp + 0x3c]
jmp 0x54f57f
fstp st(0)
mov cl, byte [edi]
mov byte [esp + 0x1b], cl
cmp cl, byte [edx]
jae 0x54f85e
cmp byte [esi + 0x1a], 0
fld dword [esp + 0x38]
fadd dword [esp + 0xbc]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
fadd dword [esp + 0x8c]
fstp dword [esp + 0x54]
fld dword [esp + 0x4c]
fadd dword [esp + 0x98]
fstp dword [esp + 0x4c]
fld dword [esp + 0x44]
fadd dword [esp + 0xa4]
fstp dword [esp + 0x44]
je 0x54f615
mov al, byte [esp + 0xd]
cmp byte [esp + 0xf], al
jae 0x54f615
fadd dword [esp + 0xc0]
fstp dword [esp + 0x3c]
fld dword [esp + 0x58]
fadd dword [esp + 0x90]
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x50]
fld dword [esp + 0x48]
fadd dword [esp + 0xa8]
fstp dword [esp + 0x48]
fld dword [esp + 0x3c]
mov eax, dword [esi + 0x2dc]
fld dword [esp + 0x38]
mov al, byte [eax + ebp]
fld dword [esp + 0x4c]
mov bl, byte [esp + 0x18]
cmp al, bl
jae 0x54f84c
sub bl, al
movzx edx, bl
movzx edi, cl
movzx ecx, al
mov dword [esp + 0x14], edx
jmp 0x54f64b
fld dword [esp + 0x38]
fld dword [esp + 0x4c]
mov al, byte [esp + 0xe]
cmp al, byte [esi + 0x2d7]
mov ebp, dword [esp + 0xdc]
mov eax, edi
jae 0x54f697
mov edx, dword [esp + 0xd8]
shl eax, 5
add eax, ecx
add eax, eax
add eax, eax
add eax, eax
fld dword [eax + edx]
fstp dword [esp + 0xc4]
fld dword [eax + edx + 4]
fstp dword [esp + 0xc8]
fld dword [eax + ebp]
fstp dword [esp + 0xb4]
fld dword [eax + ebp + 4]
jmp 0x54f6da
mov edx, dword [esp + 0xd0]
shl eax, 6
add eax, ecx
add eax, eax
add eax, eax
add eax, eax
fld dword [eax + edx]
fstp dword [esp + 0xc4]
fld dword [eax + edx + 4]
mov edx, dword [esp + 0xd4]
fstp dword [esp + 0xc8]
fld dword [eax + edx]
fstp dword [esp + 0xb4]
fld dword [eax + edx + 4]
mov edx, dword [esp + 0xd8]
cmp byte [esi + 0x1a], 0
fstp dword [esp + 0xb8]
fld dword [esp + 0xb4]
fld st(0)
fmul st(2)
fld dword [esp + 0xc4]
fld st(0)
fmul st(5)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0xb8]
fld st(0)
fmulp st(4)
fld dword [esp + 0xc8]
fld st(0)
fmulp st(6)
fxch st(4)
faddp st(5)
fxch st(4)
fstp dword [esp + 0x20]
fld st(1)
fmul dword [esp + 0x44]
fld st(1)
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [esp + 0x24]
fld st(3)
fmul dword [esp + 0x44]
fld st(3)
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [esp + 0x28]
je 0x54f7bb
mov al, byte [esp + 0xf]
cmp al, byte [esp + 0xd]
jae 0x54f7bb
fld dword [esp + 0x1c]
fld st(4)
fmul dword [esp + 0x50]
fld st(4)
fmulp st(7)
faddp st(6)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0x1c]
fld st(0)
fmul dword [esp + 0x50]
fld st(4)
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fld dword [esp + 0x48]
fmulp st(5)
fld dword [esp + 0x58]
fld st(0)
fmulp st(5)
fxch st(5)
faddp st(4)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x24]
fmul dword [esp + 0x48]
fxch st(3)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jmp 0x54f7c3
fstp st(1)
fstp st(0)
fstp st(1)
fstp st(0)
mov al, byte [esp + 0xe]
fld dword [esp + 0x1c]
cmp al, byte [esi + 0x2d7]
mov eax, edi
jae 0x54f7fc
shl eax, 5
add eax, ecx
add eax, eax
add eax, eax
add eax, eax
fstp dword [eax + edx]
fld dword [esp + 0x20]
fstp dword [eax + edx + 4]
fld dword [esp + 0x24]
fstp dword [eax + ebp]
fld dword [esp + 0x28]
fstp dword [eax + ebp + 4]
jmp 0x54f82f
mov edx, dword [esp + 0xd0]
shl eax, 6
add eax, ecx
add eax, eax
add eax, eax
add eax, eax
fstp dword [eax + edx]
fld dword [esp + 0x20]
fstp dword [eax + edx + 4]
mov edx, dword [esp + 0xd4]
fld dword [esp + 0x24]
fstp dword [eax + edx]
fld dword [esp + 0x28]
fstp dword [eax + edx + 4]
inc ecx
sub dword [esp + 0x14], 1
jne 0x54f643
mov edx, dword [esp + 0x40]
mov cl, byte [esp + 0x1b]
mov ebp, dword [esp + 0x94]
jmp 0x54f850
fstp st(0)
fstp st(0)
inc cl
mov byte [esp + 0x1b], cl
cmp cl, byte [edx]
jb 0x54f58d
inc byte [esi + 0x564c]
cmp byte [esi + 0x564c], 2
jne 0x54f874
mov byte [esi + 0x564c], 0
mov al, byte [esp + 0x1a]
fld qword [0x5bbf38]
fld qword [0x5bbf00]
inc al
fld qword [0x59e2f0]
mov byte [esp + 0x1a], al
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
cmp al, byte [esi + 9]
jb 0x54ede7
mov dl, byte [esp + 0xe]
inc dl
mov byte [esp + 0xe], dl
cmp dl, byte [esi + 0x2d6]
jb 0x54ed92
fstp st(3)
pop edi
fstp st(1)
pop ebp
fstp st(1)
pop ebx
fstp st(0)
add esp, 0xc0
ret