Function at 0x56fd00
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 0x56fe2d
call fcn.0056e2a0
mov eax, dword [esi + 8]
lea ecx, [eax*4 + 4]
push ecx
call fcn.005b951f
mov edx, dword [esi + 8]
add esp, 4
xor edi, edi
inc edx
test edx, edx
mov dword [esi + 0x64], eax
jle 0x56fd63
mov eax, dword [esi + 0xc]
inc eax
lea eax, [eax + eax*4]
shl eax, 4
push eax
call fcn.005b951f
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 0x56fd41
mov eax, dword [esi + 8]
lea ecx, [eax*4 + 4]
push ecx
call fcn.005b951f
mov edx, dword [esi + 8]
add esp, 4
xor edi, edi
inc edx
test edx, edx
mov dword [esi + 0x68], eax
jle 0x56fda5
mov eax, dword [esi + 0xc]
inc eax
lea eax, [eax + eax*4]
shl eax, 4
push eax
call fcn.005b951f
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 0x56fd83
mov eax, dword [esi + 8]
lea ecx, [eax*4 + 4]
push ecx
call fcn.005b951f
mov edx, dword [esi + 8]
add esp, 4
xor edi, edi
inc edx
test edx, edx
mov dword [esi + 0x6c], eax
jle 0x56fde7
mov eax, dword [esi + 0xc]
inc eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.005b951f
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 0x56fdc5
mov eax, dword [esi + 0x30]
imul eax, eax, 0x1c
push eax
call fcn.005b951f
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x2c]
shl eax, 5
push eax
call fcn.005b951f
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 0x56fe37
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 0x56ffbb
dec ecx
jne 0x57011a
cmp eax, ebx
mov dword [esi + 0x3c], 0x1f4
mov dword [esi + 0x40], 0x258
mov dword [esi + 0x44], 1
mov dword [esp + 0x10], ebx
jl 0x56fed4
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jl 0x56fec4
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.0056e910
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x28
inc edi
cmp edi, eax
jle 0x56fe80
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x56fe70
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jl 0x57011a
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
jl 0x56ffaa
xor ecx, ecx
xor ebp, ebp
xor eax, eax
cmp edi, eax
jne 0x56ff26
mov edx, dword [esi + 0x6c]
fld qword [0x6a75f0]
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 0x56ff98
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 [0x6a8638]
fstp qword [eax + 0x10]
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x50
add ecx, 0x18
cmp ebx, eax
jle 0x56fef2
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jle 0x56fee1
jmp 0x57011a
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 0x570038
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jl 0x570028
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.0056e910
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x28
inc edi
cmp edi, eax
jle 0x56ffe4
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x56ffd5
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jl 0x57011a
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
jl 0x57010e
xor ecx, ecx
xor ebp, ebp
xor eax, eax
cmp edi, eax
jne 0x57008a
mov edx, dword [esi + 0x6c]
fld qword [0x6a75f0]
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 0x5700fc
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 [0x6a867c]
fstp qword [eax + 0x10]
mov eax, dword [esi + 0xc]
inc ebx
add ebp, 0x50
add ecx, 0x18
cmp ebx, eax
jle 0x570056
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jle 0x570045
mov ecx, esi
call fcn.0056e330
mov eax, dword [esi + 8]
xor ecx, ecx
test eax, eax
jl 0x570201
mov edi, edi
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
jl 0x5701f5
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 0x570140
mov eax, dword [esi + 8]
inc ecx
cmp ecx, eax
jle 0x570130
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret