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

Disassembly:
mov ecx, dword [edi + 0x3c]
sub esp, 0x7c
test ecx, ecx
jne 0x56cc0d
cmp dword [edi + 0x48], ecx
je 0x56cc0d
mov eax, dword [edi + 0x24]
cmp dword [eax + 0x11c], ecx
jne 0x56cc0d
cmp dword [edi + 0x248], ecx
jne 0x56cc0d
mov dword [edi + 4], 1
add esp, 0x7c
ret
test ecx, ecx
push ebx
push ebp
push esi
jne 0x56cc23
mov edx, dword [edi + 0x24]
cmp dword [edx + 0x11c], ecx
je 0x56cd9f
cmp dword [edi + 0x248], 0
jne 0x56cd9f
xor eax, eax
cvttss2si ebp, dword [0x93dd70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0x24]
cmp ebp, dword [eax + 0x170]
mov dword [esp + 0xc], ecx
jge 0x56cd9f
jmp 0x56ccd0
mov eax, dword [edi + 0x24]
cmp dword [eax + 0x120], 0
mov esi, ebp
je 0x56cd3c
mov esi, dword [eax + 0x170]
test esi, esi
je 0x56cd15
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx]
add ecx, 8
mov eax, dword [ecx + 4]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [ecx + 4], eax
shr eax, 0x10
and eax, 0x7fff
cdq
idiv esi
mov esi, edx
cmp dword [esp + esi*4 + 0x10], 0
je 0x56cd34
mov edx, dword [edi + 0x24]
mov ecx, dword [edx + 0x170]
lea eax, [esi + 1]
cdq
idiv ecx
mov esi, edx
cmp dword [esp + esi*4 + 0x10], 0
jne 0x56cd25
mov dword [esp + esi*4 + 0x10], 1
mov ecx, edi
call fcn.0056bd70
mov ebx, eax
test ebx, ebx
je 0x56cd8d
cmp dword [esp + 0xc], 0
mov dword [ebx + 8], esi
je 0x56cd57
fldz
jmp 0x56cd83
mov eax, dword [edi + 0x24]
fld dword [eax + 0x110]
push ecx
fsub dword [eax + 0x10c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp]
call fcn.0041c9e0
mov eax, dword [edi + 0x24]
fadd dword [eax + 0x10c]
add esp, 4
fstp dword [ebx]
mov dword [esp + 0xc], 0
mov ecx, dword [edi + 0x24]
add ebp, 1
cmp ebp, dword [ecx + 0x170]
jl 0x56ccd0
push edi
call fcn.0056bcb0
xor eax, eax
or esi, 0xffffffff
cmp dword [edi + 0x248], eax
movss dword [esp + 0xc], xmm0
mov ebx, bind
jl 0x56cea5
mov ebp, dword [edi + 0x248]
lea edx, [edi + 0x70]
lea ebx, [ebx]
cmp dword [edx - 8], 0
je 0x56cde0
mov ecx, dword [edx]
cmp ecx, ebx
jge 0x56cde0
mov ebx, ecx
mov esi, eax
add eax, 1
add edx, 0x10
cmp eax, ebp
jle 0x56cdd0
cmp esi, 0xffffffff
je 0x56cea5
shl esi, 4
fld dword [esi + edi + 0x64]
lea ebx, [esi + edi]
fld dword [esp + 0xc]
fchs
fcompi st(1)
fstp st(0)
jb 0x56cea5
lea ebp, [edi + 0x250]
xor eax, eax
mov ecx, ebp
cmp dword [ecx], 0
je 0x56ce29
add eax, 1
add ecx, 4
cmp eax, 0x1e
jl 0x56ce17
jmp 0x56cea5
cmp dword [edi + 0x24c], eax
jge 0x56ce37
mov dword [edi + 0x24c], eax
lea esi, [edi + eax*4 + 0x250]
test esi, esi
je 0x56cea5
mov eax, dword [ebx + 0x6c]
imul eax, eax, 0x104
add eax, dword [edi + 0x28]
mov ecx, edi
push eax
call fcn.0056e430
xor edx, edx
cmp eax, edx
je 0x56ce87
mov dword [esi], eax
mov dword [ebx + 0x68], edx
mov dword [edi + 0x248], edx
xor eax, eax
lea ecx, [edi + 0x68]
lea esp, [esp]
cmp dword [ecx], edx
je 0x56ce7a
mov dword [edi + 0x248], eax
add eax, 1
add ecx, 0x10
cmp eax, 0x1e
jl 0x56ce70
jmp 0x56cea5
xor eax, eax
mov ecx, ebp
jmp 0x56ce90
cmp dword [ecx], edx
je 0x56ce9a
mov dword [edi + 0x24c], eax
add eax, 1
add ecx, 4
cmp eax, 0x1e
jl 0x56ce90
cmp dword [edi + 0x248], 0
pop esi
pop ebp
pop ebx
jne 0x56cebc
push edi
call fcn.0056bcb0
movss dword [edi + 0x34], xmm0
add esp, 0x7c
ret