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

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x6c]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx]
push ebp
mov ebp, dword [esp + 0x6c]
test ebp, ebp
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x74]
push edi
movzx edi, word [ecx + 2]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x50], edx
movzx edx, word [ecx + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], edi
je 0x55fd22
fld dword [ebx + 0x2c]
fld st(0)
fadd dword [ebp + 0x24]
fstp dword [esp + 0x2c]
fld dword [ebp + 0x2c]
fsub st(1)
fstp dword [esp + 0x30]
fld st(0)
fadd dword [ebp + 0x28]
fstp dword [esp + 0x1c]
fld dword [ebp + 0x30]
fsub st(1)
fstp dword [esp + 0x20]
fstp st(0)
fld dword [0x5d7848]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x55f731
mov dword [esp + 0x2c], 0
fld dword [0x5d7850]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x55f74a
mov dword [esp + 0x30], 0x3f800000
fld dword [0x5d7848]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x55f763
mov dword [esp + 0x1c], 0
fld dword [0x5d7850]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x55f77c
mov dword [esp + 0x20], 0x3f800000
mov eax, dword [ebx + 0x24]
test eax, eax
push esi
jne 0x55f95f
test edx, edx
mov esi, dword [ecx + 0xc]
jbe 0x55fd21
fld dword [esp + 0x28]
mov dword [esp + 0x74], edx
fstp qword [esp + 0x64]
nop
fld qword [0x5d76b0]
fld qword [esp + 0x64]
fucompp
fnstsw ax
test ah, 0x44
jp 0x55f7ee
fld dword [esp + 0x18]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x55f7d1
fld dword [esp + 0x18]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x55f7ee
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esi, dword [esp + 0x44]
jmp 0x55f92c
fld qword [0x5d76b0]
mov eax, dword [esp + 0x1c]
fld qword [esp + 0x64]
mov ecx, dword [esp + 0x18]
fucompp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fnstsw ax
test ah, 0x44
jp 0x55f88f
test edi, edi
jbe 0x55f930
lea esp, [esp]
fld dword [esp + 0x10]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x55f86b
fld dword [esp + 0x10]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x55f86b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
call fcn.00558110
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
push ecx
mov ecx, ebx
call fcn.0055e7e0
add esp, 0x10
mov byte [esi], al
jmp 0x55f86e
mov byte [esi], 0
fld dword [esp + 0x10]
inc esi
dec edi
fadd dword [esp + 0x50]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esp + 0x54]
fstp dword [esp + 0x14]
jne 0x55f820
jmp 0x55f92c
test edi, edi
jbe 0x55f930
jmp 0x55f8a0
fld dword [esp + 0x10]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x55f909
fld dword [esp + 0x10]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x55f909
fld dword [esp + 0x14]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x55f909
fld dword [esp + 0x14]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x55f909
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
call fcn.00558110
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
push ecx
mov ecx, ebx
call fcn.0055e7e0
add esp, 0x10
mov byte [esi], al
jmp 0x55f90c
mov byte [esi], 0
fld dword [esp + 0x10]
inc esi
dec edi
fadd dword [esp + 0x50]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esp + 0x54]
fstp dword [esp + 0x14]
jne 0x55f8a0
mov edi, dword [esp + 0x44]
fld dword [esp + 0x28]
mov eax, dword [esp + 0x74]
fadd dword [esp + 0x1c]
dec eax
mov dword [esp + 0x74], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jne 0x55f7a0
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ebx, dword [ecx + 0xc]
dec eax
cmp eax, 3
mov byte [esp + 0x7c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0
ja case.default.0x55f97d
jmp dword [eax*4 + 0x55fd2c]
fld dword [esp + 0x50]
mov byte [esp + 0x7c], 1
fmul dword [0x5ec410]
fstp dword [esp + 0x48]
fld dword [esp + 0x54]
fmul dword [0x5ec410]
jmp 0x55f9ee
fld dword [esp + 0x50]
mov byte [esp + 0x7c], 1
fmul dword [0x5ec418]
fstp dword [esp + 0x48]
fld dword [esp + 0x54]
jmp 0x55f9e8
fld dword [esp + 0x28]
fmul dword [0x5ec410]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul dword [0x5ec410]
jmp 0x55f9ee
fld dword [esp + 0x28]
fmul dword [0x5ec418]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul dword [0x5ec418]
fstp dword [esp + 0x2c]
test edx, edx
jbe 0x55fd21
fld dword [esp + 0x28]
mov dword [esp + 0x60], edx
fstp qword [esp + 0x64]
jmp 0x55fa10
fld qword [0x5d76b0]
fld qword [esp + 0x64]
fucompp
fnstsw ax
test ah, 0x44
jp 0x55faa0
fld dword [esp + 0x2c]
sub esp, 8
fstp qword [esp + 0x60]
fld dword [esp + 0x20]
fstp qword [esp + 0x44]
fld qword [esp + 0x60]
fstp qword [esp]
call fcn.004eb340
fadd qword [esp + 0x44]
add esp, 8
fld dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 5
jnp 0x55fa79
fld qword [esp + 0x58]
sub esp, 8
fstp qword [esp]
call fcn.004eb340
fsubr qword [esp + 0x44]
add esp, 8
fld dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 0x41
jne 0x55faa0
mov al, byte [esp + 0x7c]
test al, al
je 0x55faa0
mov edx, dword [esp + 0x44]
test edx, edx
jbe 0x55fcfa
mov edi, ebx
mov ecx, edx
mov eax, 0xff000000
rep stosd dword es:[edi], eax
lea ebx, [ebx + edx*4]
jmp 0x55fcfa
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jbe 0x55fcb1
mov dword [esp + 0x58], ecx
fld dword [esp + 0x10]
fsub dword [esp + 0x48]
fstp dword [esp + 0x3c]
fld dword [esp + 0x14]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x55fb46
fld dword [esp + 0x3c]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x55fb46
fld dword [esp + 0x38]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x55fb46
fld dword [esp + 0x38]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x55fb46
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
call fcn.00558110
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x84]
push ecx
mov ecx, ebp
call fcn.0055e7e0
add esp, 0x10
mov esi, eax
jmp 0x55fb4c
mov ebp, dword [esp + 0x78]
xor esi, esi
fld dword [esp + 0x10]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x55fbb3
fld dword [esp + 0x10]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x55fbb3
fld dword [esp + 0x14]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x55fbb3
fld dword [esp + 0x14]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x55fbb3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
call fcn.00558110
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
push edx
mov ecx, ebp
call fcn.0055e7e0
add esp, 0x10
mov edi, eax
jmp 0x55fbb5
xor edi, edi
fld dword [esp + 0x48]
fadd dword [esp + 0x10]
fstp dword [esp + 0x3c]
fld dword [esp + 0x2c]
fadd dword [esp + 0x14]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x55fc32
fld dword [esp + 0x3c]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x55fc32
fld dword [esp + 0x38]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x55fc32
fld dword [esp + 0x38]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x55fc32
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
call fcn.00558110
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
push eax
mov ecx, ebp
call fcn.0055e7e0
add esp, 0x10
jmp 0x55fc34
xor eax, eax
mov cl, byte [esp + 0x80]
test cl, cl
je 0x55fc77
lea ecx, [eax + edi*2]
add ecx, esi
mov edx, edi
lea ebp, [esi + esi*2]
imul esi, esi, 0x8f
imul edx, edx, 0x55
mov edi, eax
imul edi, edi, 0x8f
add esi, edx
add edi, edx
lea eax, [eax + eax*2]
shl ecx, 6
lea esi, [esi + eax*8]
lea ebp, [edi + ebp*8]
shr ecx, 8
shr esi, 8
shr ebp, 8
mov edi, ecx
mov eax, ebp
fld dword [esp + 0x10]
shl esi, 8
fadd dword [esp + 0x50]
or esi, edi
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x58]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
mov dword [ebx], esi
fadd dword [esp + 0x54]
add ebx, 4
dec eax
mov dword [esp + 0x58], eax
fstp dword [esp + 0x14]
jne 0x55fac0
mov ecx, dword [esp + 0x44]
lea edx, [ecx*4]
mov esi, ebx
sub esi, edx
dec ecx
mov edi, 1
js 0x55fcfa
mov ebp, dword [esi + ecx*4]
and ebp, 0xffffff
je 0x55fcd3
xor edi, edi
jmp 0x55fce1
inc edi
cmp edi, 0xff
jle 0x55fce1
mov edi, 0xff
xor edx, edx
lea eax, [edi - 1]
test eax, eax
setle dl
dec edx
and eax, edx
shl eax, 0x18
or eax, ebp
dec ecx
mov dword [esi + ecx*4 + 4], eax
jns 0x55fcc4
fld dword [esp + 0x28]
mov eax, dword [esp + 0x60]
fadd dword [esp + 0x1c]
dec eax
mov dword [esp + 0x60], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jne 0x55fa10
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x5c
ret