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

Disassembly:
sub esp, 0x28
fldz
push ebp
mov ebp, dword [esp + 0x30]
fstp dword [ebp + 0xf04]
mov eax, dword [ebp + 0xec4]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
add eax, 0x34
mov eax, 0x30c30c31
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
push edi
xor edi, edi
add eax, edx
mov dword [esp + 0x24], edi
test eax, eax
jle 0x56ab75
push ebx
push esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
lea esp, [esp]
mov esi, dword [ebp + 0xec4]
mov ecx, dword [esi + 0x44]
sub ecx, dword [esi + 0x40]
add esi, 0x34
mov eax, 0x30c30c31
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x56a899
call fcn.006441b7
mov ecx, dword [ebp + 0xed8]
sub ecx, dword [ebp + 0xed4]
mov ebx, dword [esi + 0xc]
add ebx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], ebx
cmp edi, eax
jb 0x56a8ca
call fcn.006441b7
mov esi, dword [ebp + 0xed4]
add esi, dword [esp + 0x24]
mov eax, 0x4bda12f7
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov dword [esp + 0x28], esi
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x56ab37
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jmp 0x56a918
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov ecx, dword [ebx + 0x2c]
sub ecx, dword [ebx + 0x28]
mov edi, dword [esp + 0x14]
mov eax, 0x42df9bb1
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x56a93c
call fcn.006441b7
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov ebx, dword [ebx + 0x28]
add ebx, dword [esp + 0x18]
mov eax, 0x4bda12f7
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x56a963
call fcn.006441b7
mov edi, dword [esi + 0x10]
add edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x56a9cf
jmp 0x56a984
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x128]
mov esi, dword [ecx + 4]
mov dword [esp + 0x34], esi
test eax, eax
je 0x56a9bb
lea esi, [ebp + 0xf0c]
jmp 0x56a9a0
mov ebp, dword [eax + 4]
push eax
call fcn.005719d0
mov eax, ebp
test ebp, ebp
jne 0x56a9a0
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x3c]
push ecx
lea eax, [ebp + 0xf20]
call fcn.00571b70
mov dword [esp + 0x10], esi
test esi, esi
jne 0x56a980
mov eax, dword [edi + 0x70]
xor ecx, ecx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], ecx
cmp eax, ecx
je 0x56a9fa
lea esi, [ebp + 0xf0c]
mov ebp, dword [eax + 4]
push eax
call fcn.005719d0
mov eax, ebp
test ebp, ebp
jne 0x56a9e7
mov ebp, dword [esp + 0x3c]
xor esi, esi
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], esi
mov dword [edi + 0x78], esi
mov edx, dword [ebx + 0x48]
sub edx, dword [ebx + 0x44]
test edx, 0xfffffffc
jle 0x56aa50
xor ebp, ebp
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x3c]
sar eax, 4
cmp esi, eax
jb 0x56aa27
call fcn.006441b7
mov eax, dword [edi + 0x3c]
fldz
add eax, ebp
fst dword [eax]
xor ecx, ecx
fstp dword [eax + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x48]
sub ecx, dword [ebx + 0x44]
inc esi
sar ecx, 2
add ebp, 0x10
cmp esi, ecx
jl 0x56aa15
mov ebp, dword [esp + 0x3c]
mov esi, dword [ebp + 0xec4]
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
mov ebx, dword [ebx + 0x20]
add esi, 4
sar edx, 2
cmp ebx, edx
jb 0x56aa6e
call fcn.006441b7
mov eax, dword [esi + 0xc]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi + 0xf44]
sub ecx, dword [esi + 0xf40]
mov eax, 0x2fa0be83
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor ebp, ebp
test ecx, ecx
jle 0x56aaeb
xor ebx, ebx
lea esp, [esp]
mov edx, dword [edi + 0x68]
sub edx, dword [edi + 0x64]
sar edx, 4
cmp ebp, edx
jb 0x56aab2
call fcn.006441b7
mov eax, dword [edi + 0x64]
fldz
add eax, ebx
fst dword [eax]
fstp dword [eax + 4]
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0xf44]
sub ecx, dword [esi + 0xf40]
mov eax, 0x2fa0be83
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add ebx, 0x10
cmp ebp, eax
jl 0x56aaa0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
add dword [esp + 0x18], 0x7a8
add dword [esp + 0x1c], 0xd8
mov ebp, dword [esp + 0x3c]
mov byte [edi + 0x2d], 1
mov byte [edi + 0x2c], 0
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
mov eax, 0x4bda12f7
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x56a910
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 0xec4]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
add dword [esp + 0x20], 0x150
add dword [esp + 0x24], 0x60
add eax, 0x34
mov eax, 0x30c30c31
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
mov dword [esp + 0x2c], edi
jl 0x56a870
pop esi
xor edi, edi
pop ebx
mov dword [ebp + 0xf3c], edi
mov dword [ebp + 0xf38], edi
mov dword [ebp + 0xf40], edi
pop edi
mov byte [ebp + 0xf74], 1
pop ebp
add esp, 0x28
ret 4