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

Disassembly:
mov eax, 0x32b0
call fcn.00618800
mov ecx, dword [esp + 0x32b4]
xor eax, eax
cmp dword [ecx + 4], 1
push ebx
setg al
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x60], eax
jl 0x55069f
fldz
fld qword [0x6c0f28]
jmp 0x54fcee
mov eax, dword [esp + 0x60]
fxch st(1)
xor esi, esi
mov edx, dword [esp + 0x32c4]
fxch st(1)
mov ebp, dword [edx + eax*4 + 8]
fst qword [esp + 0x80]
mov edi, ebp
fst qword [esp + 0x88]
neg edi
sbb edi, edi
and edi, 0xfffffff5
add edi, 0x18
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x30], 0x103
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.00667540
mov ecx, edx
mov dword [esp + 0x70], eax
and eax, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
and ecx, dword [esp + 0x34]
or eax, ecx
jne 0x55041b
mov edi, dword [esp + 0x32c4]
mov eax, ebp
imul eax, eax, 0x340
add eax, esi
movzx edx, byte [eax + edi + 0x364]
mov eax, ebp
mov ebp, dword [esp + 0x32c4]
shl eax, 6
lea ecx, [eax + esi]
mov dword [esp + 0xa4], ecx
shl ecx, 9
add eax, esi
mov eax, dword [ebp + eax*4 + 0x11e60]
lea ebx, [ecx + edi + 0x1e60]
xor edi, edi
xor ecx, ecx
test eax, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
jle 0x54fdbd
add edi, dword [ebx + ecx*4]
add ecx, 1
cmp ecx, eax
jl 0x54fdaf
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
fild dword [esp + 0x44]
fmul qword [0x69f210]
fcompp
fnstsw ax
test ah, 0x41
jne 0x54fdf1
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
or dword [esp + 0x30], ecx
or dword [esp + 0x34], edx
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
jmp 0x55041b
mov eax, dword [esp + 0x24]
fstp st(1)
fld st(0)
lea ebp, [edx - 0xc]
fld st(1)
mov dword [esp + 0x2c], 0xfffffff4
fxch st(2)
mov dword [esp + 0x6c], ebp
fst qword [esp + 0x98]
mov dword [esp + 0x54], 0x69f480
fst qword [esp + 0x90]
mov dword [esp + 0x3c], eax
fld st(0)
mov dword [esp + 0x44], 0x19
fst qword [esp + 0xb0]
fld st(1)
fst qword [esp + 0xb8]
fxch st(2)
fst qword [esp + 0x78]
fst qword [esp + 0xa8]
jmp 0x54fe55
fxch st(1)
fxch st(4)
fxch st(1)
lea ecx, [ebp - 1]
fld st(0)
cmp ecx, 0xfe
fld st(1)
ja 0x55032b
mov eax, 0x10001
cdq
idiv ebp
mov edx, dword [esp + 0x32c4]
mov ecx, dword [esp + 0xa4]
mov edx, dword [edx + ecx*4 + 0x11e60]
cmp edx, 4
mov dword [esp + 0x50], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], eax
jl 0x55018f
mov ebx, dword [esp + 0x68]
lea edi, [eax*8]
sub edi, eax
lea edi, [edi + edi + 0x8000]
mov dword [esp + 0x64], edi
add edx, 0xfffffffc
lea edi, [eax + eax*4]
lea edi, [edi + edi + 0x8000]
shr edx, 2
mov dword [esp + 0x4c], edi
add edx, 1
lea edi, [eax + eax*2]
lea edi, [edi + edi + 0x8000]
mov dword [esp + 0x40], edx
mov esi, eax
shl esi, 4
lea ecx, [ebx + 8]
add edx, edx
mov dword [esp + 0x48], edi
neg ebx
lea edi, [eax + eax + 0x8000]
add edx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], edx
cmp dword [ecx - 8], 0
je 0x54ff9c
mov edi, dword [esp + 0x5c]
sar edi, 0x10
je 0x54ff85
test edi, 0xffffff00
je 0x54ff2c
mov eax, edi
sar eax, 8
mov esi, dword [eax*4 + 0x6b32d0]
add esi, 8
jmp 0x54ff4c
test edi, 0xfffffff0
je 0x54ff45
mov edx, edi
sar edx, 4
mov esi, dword [edx*4 + 0x6b32d0]
add esi, 4
jmp 0x54ff4c
mov esi, dword [edi*4 + 0x6b32d0]
mov edx, ebp
imul edx, edi
mov edi, dword [ecx - 8]
mov eax, edi
imul eax, esi
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, edx
fild dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
lea edx, [eax + ebx - 6]
mov eax, edx
imul eax, edx
faddp st(2)
imul eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
fild dword [esp + 0x10]
jmp 0x54ff9a
lea edx, [ecx + ebx - 6]
mov edi, edx
imul edi, edx
imul edi, dword [ecx - 8]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
faddp st(1)
cmp dword [ecx - 4], 0
je 0x550038
mov edi, dword [esp + 0x48]
sar edi, 0x10
je 0x550021
test edi, 0xffffff00
je 0x54ffc8
mov edx, edi
sar edx, 8
mov esi, dword [edx*4 + 0x6b32d0]
add esi, 8
jmp 0x54ffe8
test edi, 0xfffffff0
je 0x54ffe1
mov eax, edi
sar eax, 4
mov esi, dword [eax*4 + 0x6b32d0]
add esi, 4
jmp 0x54ffe8
mov esi, dword [edi*4 + 0x6b32d0]
mov edx, ebp
imul edx, edi
mov edi, dword [ecx - 4]
mov eax, edi
imul eax, esi
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, edx
fild dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
lea edx, [eax + ebx - 2]
mov eax, edx
imul eax, edx
faddp st(2)
imul eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
fild dword [esp + 0x10]
jmp 0x550036
lea edx, [ecx + ebx - 2]
mov edi, edx
imul edi, edx
imul edi, dword [ecx - 4]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
faddp st(1)
cmp dword [ecx], 0
je 0x5500d1
mov edi, dword [esp + 0x4c]
sar edi, 0x10
je 0x5500bb
test edi, 0xffffff00
je 0x550063
mov edx, edi
sar edx, 8
mov esi, dword [edx*4 + 0x6b32d0]
add esi, 8
jmp 0x550083
test edi, 0xfffffff0
je 0x55007c
mov eax, edi
sar eax, 4
mov esi, dword [eax*4 + 0x6b32d0]
add esi, 4
jmp 0x550083
mov esi, dword [edi*4 + 0x6b32d0]
mov edx, ebp
imul edx, edi
mov edi, dword [ecx]
mov eax, edi
imul eax, esi
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, edx
fild dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
lea edx, [eax + ebx + 2]
mov eax, edx
imul eax, edx
faddp st(2)
imul eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
fild dword [esp + 0x10]
jmp 0x5500cf
lea edx, [ecx + ebx + 2]
mov edi, edx
imul edi, edx
imul edi, dword [ecx]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
faddp st(1)
cmp dword [ecx + 4], 0
je 0x55016d
mov edi, dword [esp + 0x64]
sar edi, 0x10
je 0x550156
test edi, 0xffffff00
je 0x5500fd
mov edx, edi
sar edx, 8
mov esi, dword [edx*4 + 0x6b32d0]
add esi, 8
jmp 0x55011d
test edi, 0xfffffff0
je 0x550116
mov eax, edi
sar eax, 4
mov esi, dword [eax*4 + 0x6b32d0]
add esi, 4
jmp 0x55011d
mov esi, dword [edi*4 + 0x6b32d0]
mov edx, ebp
imul edx, edi
mov edi, dword [ecx + 4]
mov eax, edi
imul eax, esi
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, edx
fild dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
lea edx, [eax + ebx + 6]
mov eax, edx
imul eax, edx
faddp st(2)
imul eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
fild dword [esp + 0x10]
jmp 0x55016b
lea edx, [ecx + ebx + 6]
mov edi, edx
imul edi, edx
imul edi, dword [ecx + 4]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
faddp st(1)
add dword [esp + 0x5c], esi
add dword [esp + 0x48], esi
add dword [esp + 0x4c], esi
add dword [esp + 0x64], esi
add ecx, 0x10
sub dword [esp + 0x40], 1
jne 0x54ff00
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x50], edx
jge 0x550274
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x68]
lea edi, [eax*4]
mov dword [esp + 0x40], edi
lea edi, [ecx*4 + 2]
imul edi, eax
mov eax, dword [esp + 0x38]
mov ebx, 2
add edi, 0x8000
sub ebx, esi
sub eax, ecx
lea edx, [esi + ecx*4]
mov dword [esp + 0x38], eax
mov ecx, dword [edx]
test ecx, ecx
je 0x550262
mov esi, edi
sar esi, 0x10
je 0x55024d
test esi, 0xffffff00
je 0x5501fa
mov ecx, esi
sar ecx, 8
mov ecx, dword [ecx*4 + 0x6b32d0]
add ecx, 8
jmp 0x55021a
test esi, 0xfffffff0
je 0x550213
mov eax, esi
sar eax, 4
mov ecx, dword [eax*4 + 0x6b32d0]
add ecx, 4
jmp 0x55021a
mov ecx, dword [esi*4 + 0x6b32d0]
mov eax, ebp
imul eax, esi
mov esi, dword [edx]
mov ebp, esi
imul ebp, ecx
mov ecx, ebx
sub ecx, eax
lea eax, [ecx + edx]
mov ecx, eax
imul ecx, eax
imul ecx, esi
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x6c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
faddp st(2)
fild dword [esp + 0x10]
jmp 0x550260
lea eax, [ebx + edx]
mov esi, eax
imul esi, eax
imul esi, ecx
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
faddp st(1)
add edi, dword [esp + 0x40]
add edx, 4
sub dword [esp + 0x38], 1
jne 0x5501d0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
fst dword [esp + eax + 0xc0]
fxch st(1)
fst dword [esp + eax + 0x19c0]
fld dword [edx]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 0x41
jne 0x55034b
fstp st(4)
fstp st(2)
fild dword [esp + 0x2c]
fld st(1)
faddp st(5)
fld st(0)
fmul st(2)
fld st(0)
faddp st(7)
fxch st(6)
fstp qword [esp + 0x10]
fmul st(5), st(0)
fxch st(5)
fadd qword [esp + 0x98]
fstp qword [esp + 0x98]
fld st(0)
fmul st(2)
fld qword [esp + 0xb0]
fadd st(1)
fst qword [esp + 0xb0]
fld st(1)
fmulp st(4)
fxch st(3)
fadd qword [esp + 0x90]
fstp qword [esp + 0x90]
fxch st(1)
fmulp st(3)
fld st(2)
fadd qword [esp + 0x78]
fstp qword [esp + 0x78]
fmul st(4)
fadd qword [esp + 0xb8]
fst qword [esp + 0xb8]
fxch st(2)
fmulp st(4)
fxch st(3)
fadd qword [esp + 0xa8]
fstp qword [esp + 0xa8]
fld qword [esp + 0x10]
fldz
jmp 0x550359
mov eax, dword [esp + 0x3c]
fstp st(0)
fstp st(0)
fld dword [0x6c0cac]
fstp dword [esp + eax + 0xc0]
fldz
fstp dword [esp + eax + 0x19c0]
jmp 0x550353
fstp st(1)
fstp st(1)
fstp st(0)
fldz
fxch st(1)
fxch st(4)
fxch st(1)
mov eax, 1
add dword [esp + 0x2c], eax
mov ecx, 4
add dword [esp + 0x54], ecx
add dword [esp + 0x3c], ecx
add ebp, eax
sub dword [esp + 0x44], eax
mov dword [esp + 0x6c], ebp
jne 0x54fe4f
fstp st(0)
mov esi, dword [esp + 0x28]
fxch st(1)
mov edi, dword [esp + 0x58]
fmul st(2)
mov ebp, dword [esp + 0x20]
fld st(3)
fmul st(2)
fsubp st(1)
fld st(0)
fmul st(1)
fld qword [esp + 0x98]
fmul st(4)
fld st(3)
fmul st(4)
fsubp st(1)
fmul qword [0x69f210]
fld qword [esp + 0x90]
fmul st(5)
fld st(6)
fmulp st(7)
fsubrp st(6)
fmulp st(5)
fcomp st(4)
fnstsw ax
fstp st(3)
test ah, 5
jp 0x5503e4
mov eax, dword [esp + 0x70]
fstp st(2)
mov ecx, dword [esp + 0x74]
fstp st(0)
or dword [esp + 0x30], eax
fstp st(0)
or dword [esp + 0x34], ecx
jmp 0x550411
fxch st(2)
fadd qword [esp + 0x80]
fstp qword [esp + 0x80]
fmul qword [esp + 0xa8]
fld qword [esp + 0x78]
fmulp st(2)
fsubrp st(1)
fadd qword [esp + 0x88]
fstp qword [esp + 0x88]
fldz
fld qword [0x6c0f28]
fxch st(1)
mov eax, dword [esp + 0x24]
add eax, 0x64
add esi, 1
cmp eax, 0x1900
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
jl 0x54fd31
fld qword [0x6c0c18]
fld qword [0x6c0dc0]
fld qword [esp + 0x80]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x550485
fld qword [0x6c0f20]
fld qword [esp + 0x88]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x550483
fstp st(2)
fdivrp st(1)
fchs
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x550485
fstp st(1)
jmp 0x550487
fstp st(1)
fstp st(0)
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov eax, 1
xor edx, edx
call fcn.00667540
and eax, dword [esp + 0x30]
and edx, dword [esp + 0x34]
or eax, edx
jne 0x55065a
fld dword [0x6c0cac]
lea edx, [edi + 1]
xor ebx, ebx
fstp dword [esp + 0x18]
xor ecx, ecx
cmp edx, 4
jl 0x5505e0
mov edx, dword [esp + 0x28]
lea esi, [edi - 3]
fld dword [esp + edx + 0xc0]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x550512
fld dword [esp + edx + 0x19c0]
fmul st(1)
fadd dword [esp + edx + 0xc0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x550510
fstp dword [esp + 0x18]
lea ebx, [ecx - 0xc]
jmp 0x550512
fstp st(0)
fld dword [esp + edx + 0xc4]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x550552
fld dword [esp + edx + 0x19c4]
fmul st(1)
fadd dword [esp + edx + 0xc4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x550550
fstp dword [esp + 0x18]
lea ebx, [ecx - 0xb]
jmp 0x550552
fstp st(0)
fld dword [esp + edx + 0xc8]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x550592
fld dword [esp + edx + 0x19c8]
fmul st(1)
fadd dword [esp + edx + 0xc8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x550590
fstp dword [esp + 0x18]
lea ebx, [ecx - 0xa]
jmp 0x550592
fstp st(0)
fld dword [esp + edx + 0xcc]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x5505d2
fld dword [esp + edx + 0x19cc]
fmul st(1)
fadd dword [esp + edx + 0xcc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5505d0
fstp dword [esp + 0x18]
lea ebx, [ecx - 9]
jmp 0x5505d2
fstp st(0)
add ecx, 4
add edx, 0x10
cmp ecx, esi
jle 0x5504d2
cmp ecx, edi
jg 0x550639
mov eax, dword [esp + 0x20]
lea edx, [eax + ecx]
add edx, edx
add edx, edx
fld dword [esp + edx + 0xc0]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x55062f
fld dword [esp + edx + 0x19c0]
fmul st(1)
fadd dword [esp + edx + 0xc0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x55062d
fstp dword [esp + 0x18]
lea ebx, [ecx - 0xc]
jmp 0x55062f
fstp st(0)
add ecx, 1
add edx, 4
cmp ecx, edi
jle 0x5505ef
mov edx, dword [esp + 0x32c4]
mov ecx, ebp
imul ecx, ecx, 0x340
add ecx, dword [esp + 0x24]
add byte [ecx + edx + 0x364], bl
lea eax, [ecx + edx + 0x364]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x20], 0x19
add eax, 0x64
add ecx, 1
cmp eax, 0x1900
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jl 0x550495
mov ecx, dword [esp + 0x32c4]
fstp st(0)
mov eax, ebp
call fcn.0054ebb0
sub dword [esp + 0x60], 1
jns 0x54fce6
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32b0
ret 4