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

Disassembly:
sub esp, 0xc0
cmp byte [esi + 3], 3
jb 0x54b34e
mov byte [esp + 0xd], 0xf
mov dword [esp + 0x94], 0x65bb48
jmp 0x54b35e
mov byte [esp + 0xd], 7
mov dword [esp + 0x94], 0x65baf0
mov al, byte [esi + 0x1b]
test al, al
je 0x54b372
cmp al, 3
je 0x54b372
mov al, byte [esi + 6]
mov byte [esp + 1], al
jmp 0x54b377
mov byte [esp + 1], 0xb
xor dl, dl
cmp byte [esi + 0x2d5], dl
mov byte [esp + 2], dl
jbe 0x54bed5
fld qword [0x65bdb0]
push ebx
fld qword [0x617c60]
push ebp
fld qword [0x613d10]
push edi
fld dword [esp + 0x3c]
cmp dl, byte [esi + 0x2d6]
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
jae 0x54b3ce
mov al, byte [eax + ebp]
add al, 1
jmp 0x54b3d2
mov al, byte [eax + ebp + 1]
mov byte [esp + 0x18], al
xor al, al
cmp byte [esi + 9], al
mov byte [esp + 0x1a], al
jbe 0x54beb7
movzx edx, byte [esp + 0x19]
movzx ecx, cl
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
jmp 0x54b3fb
mov ecx, dword [esp + 0x60]
cmp byte [esi + 4], 3
movzx edi, al
jae 0x54b5b7
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 + 0x65a8f0]
fstp dword [esp + 0x14]
fld dword [ecx + 0x65a910]
fstp dword [esp + 0x34]
jb 0x54b4c8
cmp byte [eax + 0x8c], 0
jge 0x54b4a1
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 + 0x65ab30]
fstp dword [esp + 0x2c]
fld dword [eax + 0x65ad30]
fchs
jmp 0x54b524
movsx edx, byte [eax + 0x8c]
movsx eax, byte [eax + 0x136]
lea eax, [eax + edx*8]
add eax, eax
add eax, eax
fld dword [eax + 0x65ab30]
fstp dword [esp + 0x2c]
fld dword [eax + 0x65ad30]
jmp 0x54b524
cmp byte [eax + 0x8c], 0
jge 0x54b4ff
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 + 0x65a930]
fstp dword [esp + 0x2c]
fld dword [eax + 0x65aa30]
fchs
jmp 0x54b524
movsx edx, byte [eax + 0x8c]
movsx eax, byte [eax + 0x136]
lea eax, [eax + edx*8]
add eax, eax
add eax, eax
fld dword [eax + 0x65a930]
fstp dword [esp + 0x2c]
fld dword [eax + 0x65aa30]
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 [0x617c60]
jmp 0x54b6a4
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 0x54b628
fld dword [ebx*4 + 0x65b110]
mov ebx, edx
sub ebx, ecx
fstp dword [esp + 0x2c]
fld dword [ebx*4 + 0x65b4d0]
movzx ecx, al
lea eax, [edx + ecx*8]
fstp dword [esp + 0x34]
add eax, eax
add eax, eax
fld dword [eax + 0x65b5f0]
fstp dword [esp + 0x30]
fld dword [eax + 0x65b8f0]
jmp 0x54b65c
fld dword [ebx*4 + 0x65af30]
mov ebx, edx
sub ebx, ecx
fstp dword [esp + 0x2c]
fld dword [ebx*4 + 0x65b0f0]
movzx ecx, al
lea eax, [edx + ecx*8]
fstp dword [esp + 0x34]
add eax, eax
add eax, eax
fld dword [eax + 0x65b4f0]
fstp dword [esp + 0x30]
fld dword [eax + 0x65b7f0]
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 0x54b978
mov dl, byte [esp + 0xd]
cmp byte [esp + 0xf], dl
jae 0x54b978
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 + 0x65bd24]
fstp dword [edx]
movsx eax, byte [ebp + 0x1e0]
cdq
xor eax, edx
sub eax, edx
fld dword [eax*4 + 0x65bd48]
fstp dword [ecx + 0x5654]
movsx eax, byte [ebp + 0x235]
cdq
xor eax, edx
sub eax, edx
fld dword [eax*4 + 0x65bd24]
mov eax, dword [esp + 0x34]
fstp dword [eax]
movsx eax, byte [ebp + 0x235]
cdq
xor eax, edx
sub eax, edx
test bl, bl
mov edx, dword [esp + 0x14]
fld dword [eax*4 + 0x65bd48]
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]
jne 0x54b7c7
mov bl, 2
mov edx, dword [esp + 0x60]
add bl, 0xff
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.0054b310
lea eax, [esp + 0x1c]
fstp dword [esp + 0x10]
call fcn.0054b310
fstp dword [esp + 0x40]
fldz
fld st(0)
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
fld dword [esp + 0x28]
fld dword [esp + 0x24]
jnp 0x54b86a
fld st(0)
fdiv st(3)
fstp dword [esp + 0xac]
fld st(1)
fdiv st(3)
fstp dword [esp + 0xb0]
jmp 0x54b87c
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 0x54b8d8
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 0x54b8e5
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 0x54b97c
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 0x54bb8b
mov al, byte [esp + 0xf]
cmp al, byte [esp + 0xd]
jae 0x54bb8b
fstp st(1)
mov ecx, dword [esi + 0x2e0]
test word [ecx + ebp*2], 0x1000
fld dword [esp + 0x70]
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]
je 0x54bb67
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 0x54bb8d
fstp st(0)
mov cl, byte [edi]
cmp cl, byte [edx]
mov byte [esp + 0x1b], cl
jae 0x54be6f
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 0x54bc23
mov al, byte [esp + 0xd]
cmp byte [esp + 0xf], al
jae 0x54bc23
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 0x54be5c
sub bl, al
movzx edx, bl
movzx edi, cl
movzx ecx, al
mov dword [esp + 0x14], edx
jmp 0x54bc59
fld dword [esp + 0x38]
fld dword [esp + 0x4c]
mov al, byte [esp + 0xe]
cmp al, byte [esi + 0x2d6]
mov ebp, dword [esp + 0xdc]
mov eax, edi
jae 0x54bca5
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 0x54bce8
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 0x54bdc9
mov al, byte [esp + 0xf]
cmp al, byte [esp + 0xd]
jae 0x54bdc9
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 0x54bdd1
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 + 0x2d6]
mov eax, edi
jae 0x54be0a
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 0x54be3d
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]
add ecx, 1
sub dword [esp + 0x14], 1
jne 0x54bc51
mov edx, dword [esp + 0x40]
mov cl, byte [esp + 0x1b]
mov ebp, dword [esp + 0x94]
jmp 0x54be60
fstp st(0)
fstp st(0)
add cl, 1
cmp cl, byte [edx]
mov byte [esp + 0x1b], cl
jb 0x54bb9b
add byte [esi + 0x564c], 1
cmp byte [esi + 0x564c], 2
jne 0x54be86
mov byte [esi + 0x564c], 0
mov al, byte [esp + 0x1a]
fld qword [0x613d10]
fld qword [0x617c60]
add al, 1
cmp al, byte [esi + 9]
fld qword [0x65bdb0]
fxch st(3)
mov byte [esp + 0x1a], al
fxch st(1)
fxch st(2)
fxch st(1)
jb 0x54b3f7
mov dl, byte [esp + 0xe]
add dl, 1
cmp dl, byte [esi + 0x2d5]
mov byte [esp + 0xe], dl
jb 0x54b3a2
fstp st(3)
pop edi
fstp st(1)
pop ebp
fstp st(1)
pop ebx
fstp st(0)
add esp, 0xc0
ret