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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x56a7bd
call fcn.00568c30
mov eax, dword [esi + 8]
lea ecx, [eax*4 + 4]
push ecx
call fcn.005bb3af
mov edx, dword [esi + 8]
add esp, 4
xor edi, edi
inc edx
test edx, edx
mov dword [esi + 0x64], eax
jle 0x56a6f3
mov eax, dword [esi + 0xc]
inc eax
lea eax, [eax + eax*4]
shl eax, 4
push eax
call fcn.005bb3af
mov ecx, dword [esi + 0x64]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 8]
inc edi
inc edx
cmp edi, edx
jl 0x56a6d1
mov eax, dword [esi + 8]
lea ecx, [eax*4 + 4]
push ecx
call fcn.005bb3af
mov edx, dword [esi + 8]
add esp, 4
xor edi, edi
inc edx
test edx, edx
mov dword [esi + 0x68], eax
jle 0x56a735
mov eax, dword [esi + 0xc]
inc eax
lea eax, [eax + eax*4]
shl eax, 4
push eax
call fcn.005bb3af
mov ecx, dword [esi + 0x68]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 8]
inc edi
inc edx
cmp edi, edx
jl 0x56a713
mov eax, dword [esi + 8]
lea ecx, [eax*4 + 4]
push ecx
call fcn.005bb3af
mov edx, dword [esi + 8]
add esp, 4
xor edi, edi
inc edx
test edx, edx
mov dword [esi + 0x6c], eax
jle 0x56a777
mov eax, dword [esi + 0xc]
inc eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.005bb3af
mov ecx, dword [esi + 0x6c]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 8]
inc edi
inc edx
cmp edi, edx
jl 0x56a755
mov eax, dword [esi + 0x30]
imul eax, eax, 0x1c
push eax
call fcn.005bb3af
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x2c]
shl eax, 5
push eax
call fcn.005bb3af
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0xc]
add esp, 8
inc eax
lea edx, [eax + eax*4]
fld dword [ecx + edx*8]
mov eax, dword [esi + 8]
cmp eax, ebx
fsub dword [ecx]
mov dword [esp + 0x10], eax
fstp dword [esi + 0x10]
fld dword [ecx + 4]
fst dword [esi + 0x14]
jne 0x56a7c7
fstp st(0)
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fild dword [esp + 0x10]
mov ecx, dword [esi]
sub ecx, ebx
fdivr st(1)
fstp dword [esi + 0x18]
fstp st(0)
je 0x56a94b
dec ecx
jne 0x56aaaa
cmp eax, ebx
mov dword [esi + 0x3c], 0x1f4
mov dword [esi + 0x40], 0x258
mov dword [esi + 0x44], 1
mov dword [esp + 0x10], ebx
jl 0x56a864
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jl 0x56a854
lea ebp, [ebx + ebx*4]
shl ebp, 3
nop
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + ebp + 0x24]
mov edx, dword [eax + ebp + 0x20]
push 0x2710
push ecx
mov ecx, dword [eax + ebp + 8]
add eax, ebp
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push 0x3f000000
push edi
push ecx
mov ecx, esi
call fcn.005692a0
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x28
inc edi
cmp edi, eax
jle 0x56a810
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x56a800
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jl 0x56aaaa
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
jl 0x56a93a
xor ecx, ecx
xor ebp, ebp
xor eax, eax
cmp edi, eax
jne 0x56a8b6
mov edx, dword [esi + 0x6c]
fld qword [0x6a8670]
mov edx, dword [edx]
fstp qword [edx + ecx + 0x10]
mov edx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [ecx + edx], eax
mov edx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [edx + ecx + 4], eax
mov edx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [edx + ecx + 8], eax
jmp 0x56a928
mov eax, dword [esi + 0x64]
lea edx, [eax + edi*4]
mov eax, dword [edx]
mov edx, dword [edx - 4]
fld dword [edx + ebp + 8]
lea eax, [eax + ebp + 8]
fsub dword [eax]
lea edx, [edx + ebp + 8]
fld dword [edx + 4]
fsub dword [eax + 4]
fld dword [edx + 8]
fsub dword [eax + 8]
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + edi*4]
add eax, ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fxch st(1)
mov dword [eax + 8], edx
fstp dword [eax]
fstp dword [eax + 4]
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + edi*4]
fld dword [edx + ecx + 8]
lea eax, [edx + ecx]
fld dword [eax + 4]
fld dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fmul dword [0x6a9720]
fstp qword [eax + 0x10]
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x50
add ecx, 0x18
cmp ebx, eax
jle 0x56a882
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jle 0x56a871
jmp 0x56aaaa
cmp eax, ebx
mov ecx, 0x258
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 2
mov dword [esp + 0x10], ebx
jl 0x56a9c8
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jl 0x56a9b8
lea ebp, [ebx + ebx*4]
shl ebp, 3
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + ebp + 0x24]
mov edx, dword [eax + ebp + 0x20]
push 0x2710
push ecx
mov ecx, dword [eax + ebp + 8]
add eax, ebp
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push 0x3f000000
push edi
push ecx
mov ecx, esi
call fcn.005692a0
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x28
inc edi
cmp edi, eax
jle 0x56a974
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x56a965
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jl 0x56aaaa
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
jl 0x56aa9e
xor ecx, ecx
xor ebp, ebp
xor eax, eax
cmp edi, eax
jne 0x56aa1a
mov edx, dword [esi + 0x6c]
fld qword [0x6a8670]
mov edx, dword [edx]
fstp qword [edx + ecx + 0x10]
mov edx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [ecx + edx], eax
mov edx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [edx + ecx + 4], eax
mov edx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [edx + ecx + 8], eax
jmp 0x56aa8c
mov eax, dword [esi + 0x64]
lea edx, [eax + edi*4]
mov eax, dword [edx]
mov edx, dword [edx - 4]
fld dword [edx + ebp + 8]
lea eax, [eax + ebp + 8]
fsub dword [eax]
lea edx, [edx + ebp + 8]
fld dword [edx + 4]
fsub dword [eax + 4]
fld dword [edx + 8]
fsub dword [eax + 8]
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + edi*4]
add eax, ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fxch st(1)
mov dword [eax + 8], edx
fstp dword [eax]
fstp dword [eax + 4]
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + edi*4]
fld dword [edx + ecx + 8]
lea eax, [edx + ecx]
fld dword [eax + 4]
fld dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fmul dword [0x6a9764]
fstp qword [eax + 0x10]
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x50
add ecx, 0x18
cmp ebx, eax
jle 0x56a9e6
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jle 0x56a9d5
mov ecx, esi
call fcn.00568cc0
mov eax, dword [esi + 8]
xor ecx, ecx
test eax, eax
jl 0x56ab91
mov edi, edi
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
jl 0x56ab85
xor eax, eax
nop
mov edx, dword [esi + 0x64]
mov edx, dword [edx + ecx*4]
mov ebp, dword [edx + eax + 8]
mov edi, dword [esi + 0x68]
mov edi, dword [edi + ecx*4]
mov dword [edi + eax + 8], ebp
mov ebp, dword [edx + eax + 0xc]
mov dword [edi + eax + 0xc], ebp
lea edx, [edx + eax + 8]
mov edx, dword [edx + 8]
mov dword [edi + eax + 0x10], edx
mov edx, dword [esi + 0x64]
mov edx, dword [edx + ecx*4]
mov ebp, dword [edx + eax + 0x14]
lea edi, [edi + eax + 8]
mov edi, dword [esi + 0x68]
mov edi, dword [edi + ecx*4]
mov dword [edi + eax + 0x14], ebp
mov ebp, dword [edx + eax + 0x18]
mov dword [edi + eax + 0x18], ebp
lea edx, [edx + eax + 0x14]
mov edx, dword [edx + 8]
mov dword [edi + eax + 0x1c], edx
mov edx, dword [esi + 0x64]
mov edx, dword [edx + ecx*4]
mov ebp, dword [edx + eax + 0x2c]
lea edi, [edi + eax + 0x14]
mov edi, dword [esi + 0x68]
mov edi, dword [edi + ecx*4]
mov dword [edi + eax + 0x2c], ebp
mov ebp, dword [edx + eax + 0x30]
lea edx, [edx + eax + 0x2c]
mov dword [edi + eax + 0x30], ebp
mov edx, dword [edx + 8]
lea edi, [edi + eax + 0x2c]
mov dword [edi + 8], edx
mov edx, dword [esi + 0x64]
mov edx, dword [edx + ecx*4]
mov edi, dword [esi + 0x68]
mov edi, dword [edi + ecx*4]
mov ebp, dword [edx + eax + 0x20]
lea edx, [edx + eax + 0x20]
lea edi, [edi + eax + 0x20]
mov dword [edi], ebp
mov ebp, dword [edx + 4]
mov dword [edi + 4], ebp
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [esi + 0xc]
inc ebx
add eax, 0x50
cmp ebx, edx
jle 0x56aad0
mov eax, dword [esi + 8]
inc ecx
cmp ecx, eax
jle 0x56aac0
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret