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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7955d8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xef4]
mov ebx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x5696f0
push esi
call fcn.0056a820
mov eax, dword [ebx + 0x20]
add eax, 7
and eax, 0xfffffff8
mov dword [ebx + 0x20], eax
mov eax, ebx
call fcn.0054aa50
mov ecx, eax
mov eax, dword [ebx + 0x20]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, ebx
call fcn.0054aa20
cmp byte [ebp + 8], 0
movsx ecx, ax
mov dword [esp + 0x40], ecx
jne 0x569707
lea edi, [esp + 0x5c]
mov ecx, ebx
call fcn.0054aa90
mov dword [esp + 0x90], 0
cmp byte [esi + 0xefc], 0
jne 0x5696cd
mov edx, edi
mov ecx, esi
call fcn.00565c30
mov eax, ebx
call fcn.0054aa50
lea ecx, [esp + 0x5c]
cmp eax, dword [esi + 0xc]
je 0x5696f7
mov edx, dword [esp + 0x3c]
lea eax, [edx*8]
mov dword [ebx + 0x20], eax
call fcn.004012f0
xor al, al
jmp 0x569fb7
mov dword [esp + 0x90], 0xffffffff
call fcn.004012f0
mov eax, dword [esp + 0x14]
lea edi, [esi + 0xf04]
push edi
mov ebx, 4
mov dword [esp + 0x38], edi
call fcn.0054ad30
fld dword [edi]
push ecx
fstp dword [esp]
call fcn.005cb6d0
add esp, 4
fstp dword [edi]
cmp byte [ebp + 8], 0
jne 0x5697eb
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x5c]
call fcn.0054aa90
mov edx, eax
lea eax, [esi + 0x50]
call fcn.00581330
cmp dword [esp + 0x74], 0x10
jb 0x569765
mov ecx, dword [esp + 0x60]
push ecx
call fcn.006441c7
add esp, 4
mov byte [esi + 0xf74], 0
mov esi, dword [esp + 0x14]
call fcn.0054aa10
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea edx, [esi + 0xf9c]
mov byte [esi + 0xf5a], al
push edx
mov ebx, 0x24
mov eax, edi
call fcn.0054ad30
add esi, 0xf78
push esi
mov eax, edi
call fcn.0054ad30
lea edx, [ebx - 0x21]
jmp 0x5697b0
mov eax, esi
mov ecx, 3
fld dword [eax + 0x24]
push ecx
fstp dword [esp]
call fcn.005cb6d0
fstp dword [eax + 0x24]
fld dword [eax]
fstp dword [esp]
call fcn.005cb6d0
fstp dword [eax]
add esp, 4
add eax, 0xc
sub ecx, 1
jne 0x5697b7
add esi, 4
sub edx, 1
jne 0x5697b0
mov edi, dword [esp + 0x34]
jmp 0x569818
cmp dword [esp + 0x40], 0
jne 0x56981c
mov esi, dword [esp + 0x14]
call fcn.0054aa10
lea eax, [esp + 0x5c]
push eax
mov ebx, 0x24
mov eax, esi
call fcn.0054ad30
lea ecx, [esp + 0x5c]
push ecx
mov eax, esi
call fcn.0054ad30
mov esi, dword [esp + 0x1c]
fldz
fcomp dword [edi]
fnstsw ax
test ah, 5
jp 0x569fa3
mov eax, dword [esi + 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
xor edi, edi
add eax, edx
mov dword [esp + 0x48], edi
test eax, eax
jle 0x569fb5
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], edi
mov ecx, dword [esi + 0xed8]
sub ecx, dword [esi + 0xed4]
mov ebx, dword [esp + 0x48]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x56988b
call fcn.006441b7
mov edi, dword [esi + 0xec4]
mov eax, dword [esi + 0xed4]
add eax, dword [esp + 0x4c]
mov ecx, dword [edi + 0x44]
sub ecx, dword [edi + 0x40]
add edi, 0x34
mov dword [esp + 0x30], eax
mov eax, 0x30c30c31
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x5698c2
call fcn.006441b7
mov edi, dword [edi + 0xc]
add edi, dword [esp + 0x34]
mov eax, 0x42df9bb1
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x28]
mov dword [esp + 0x3c], edi
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x58], 0
test ecx, ecx
jle 0x569f63
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x58]
mov eax, 0x4bda12f7
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x569926
call fcn.006441b7
mov edi, dword [esi + 0x10]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
add edi, dword [esp + 0x44]
mov eax, 0x42df9bb1
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x20], edi
cmp ebx, ecx
jb 0x569955
call fcn.006441b7
mov ebx, dword [esi + 0x28]
add ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.0054aa10
test al, al
je 0x5699b4
mov eax, dword [esp + 0x14]
lea esi, [edi + 0x9c]
push esi
mov ebx, 0x24
call fcn.0054ad30
lea edx, [ebx - 0x21]
mov eax, esi
mov ecx, 3
lea esp, [esp]
fld dword [eax]
push ecx
fstp dword [esp]
call fcn.005cb6d0
fstp dword [eax]
add esp, 4
add eax, 0xc
sub ecx, 1
jne 0x569990
add esi, 4
sub edx, 1
jne 0x569985
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
call fcn.0054aa10
mov byte [edi + 0x2c], al
call fcn.0054aa10
mov edx, dword [esp + 0x1c]
mov byte [edi + 0x2d], al
mov esi, dword [edx + 0xec4]
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
mov ebx, dword [ebx + 0x20]
add esi, 4
sar eax, 2
cmp ebx, eax
jb 0x5699ea
call fcn.006441b7
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [eax + 0xf44]
sub ecx, dword [eax + 0xf40]
mov dword [esp + 0x40], eax
mov eax, 0x2fa0be83
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ebx, ebx
test eax, eax
jle 0x569a71
mov dword [esp + 0x18], ebx
jmp 0x569a20
mov ecx, dword [edi + 0x68]
sub ecx, dword [edi + 0x64]
sar ecx, 4
cmp ebx, ecx
jb 0x569a32
call fcn.006441b7
mov esi, dword [edi + 0x64]
add esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.00564d40
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xf44]
sub ecx, dword [eax + 0xf40]
add dword [esp + 0x18], 0x10
mov edi, dword [esp + 0x20]
mov eax, 0x2fa0be83
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jl 0x569a20
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x48]
sub ecx, dword [eax + 0x44]
xor ebx, ebx
test ecx, 0xfffffffc
jle 0x569acd
mov dword [esp + 0x18], ebx
lea esp, [esp]
mov edx, dword [edi + 0x40]
sub edx, dword [edi + 0x3c]
sar edx, 4
cmp ebx, edx
jb 0x569aa2
call fcn.006441b7
mov esi, dword [edi + 0x3c]
add esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.00564d40
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x48]
sub ecx, dword [eax + 0x44]
add dword [esp + 0x18], 0x10
mov edi, dword [esp + 0x20]
inc ebx
sar ecx, 2
cmp ebx, ecx
jl 0x569a90
mov eax, dword [esp + 0x14]
call fcn.0054aa50
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x569de5
fldz
fst dword [esp + 0x5c]
fstp dword [esp + 0x60]
jmp 0x569b00
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
add ecx, 0xf20
call fcn.00571ad0
mov ebx, eax
mov eax, dword [esp + 0x14]
call fcn.0054aa20
mov edx, dword [edi + 0x48]
sub edx, dword [edi + 0x44]
movsx esi, ax
sar edx, 2
cmp esi, edx
jb 0x569b33
call fcn.006441b7
mov eax, dword [edi + 0x44]
mov edi, dword [eax + esi*4]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0xec4]
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
add esi, 4
sar edx, 2
cmp edi, edx
jb 0x569b58
call fcn.006441b7
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov esi, ebx
mov dword [ebx + 0x10], edx
call fcn.00564da0
mov edx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xc]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 4], edx
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0xf44]
sub edx, dword [esi + 0xf40]
mov eax, 0x2fa0be83
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
lea ecx, [ebx + 0x110]
add eax, edx
mov dword [esp + 0x3c], esi
call fcn.00572c90
mov ecx, dword [esi + 0xf44]
sub ecx, dword [esi + 0xf40]
mov eax, 0x2fa0be83
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x24], 0
test eax, eax
jle 0x569c60
mov dword [esp + 0x28], 0
nop
mov ecx, dword [ebx + 0x120]
sub ecx, dword [ebx + 0x11c]
sar ecx, 4
cmp dword [esp + 0x24], ecx
jb 0x569c1a
call fcn.006441b7
mov esi, dword [ebx + 0x11c]
add esi, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
call fcn.00564d40
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xf44]
sub ecx, dword [eax + 0xf40]
mov esi, dword [esp + 0x24]
add dword [esp + 0x28], 0x10
mov eax, 0x2fa0be83
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
mov dword [esp + 0x24], esi
jl 0x569c00
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x20]
jle 0x569c78
mov ecx, dword [eax + 0x4c]
mov dword [ecx + 4], ebx
mov edx, dword [eax + 0x4c]
mov dword [ebx], edx
jmp 0x569c7f
mov dword [eax + 0x48], ebx
mov eax, dword [esp + 0x20]
inc dword [eax + 0x50]
mov dword [eax + 0x4c], ebx
mov eax, dword [esp + 0x14]
call fcn.0054aa50
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
test eax, eax
jle 0x569dce
mov esi, dword [esp + 0x1c]
add esi, 0xf0c
cmp dword [esi + 4], 0
jne 0x569cb7
call fcn.00573e50
mov ecx, dword [esi + 0x10]
mov eax, 0x8000
cdq
idiv ecx
dec dword [esi + 4]
mov edi, eax
mov eax, dword [esi + 4]
cdq
idiv edi
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0xc]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + edx*4]
cdq
idiv edi
mov esi, dword [esi + 8]
imul ecx, edx
add ecx, dword [esi + eax*4]
je 0x569cf7
mov edx, ecx
call fcn.005603c0
mov esi, eax
jmp 0x569cf9
xor esi, esi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], ebx
call fcn.0054aa20
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0xf44]
sub edx, dword [ecx + 0xf40]
add ecx, 0xf34
movsx edi, ax
mov eax, 0x2fa0be83
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], ecx
cmp edi, eax
jb 0x569d45
call fcn.006441b7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
imul edi, edi, 0xac0
add edi, dword [ecx + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push edx
mov dword [esi + 8], edi
mov edi, dword [esp + 0x18]
push eax
mov dword [esi + 0x10], ecx
call fcn.00564da0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
push esi
lea eax, [ebx + 0x128]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.0056af40
cmp dword [esp + 0x24], 0
jle 0x569da9
mov eax, dword [ebx + 0x12c]
mov dword [eax + 4], esi
mov ecx, dword [ebx + 0x12c]
mov dword [esi], ecx
jmp 0x569daf
mov dword [ebx + 0x128], esi
mov eax, dword [esp + 0x24]
inc dword [ebx + 0x130]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [ebx + 0x12c], esi
mov dword [esp + 0x24], eax
jl 0x569ca2
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
jl 0x569b00
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
call fcn.0054aa50
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x569f23
mov ebx, dword [esp + 0x1c]
add ebx, 0xf0c
add edi, 0x70
mov dword [esp + 0x28], edi
cmp dword [ebx + 4], 0
jne 0x569e20
mov esi, ebx
call fcn.00573e50
mov ecx, dword [ebx + 0x10]
mov eax, 0x8000
cdq
idiv ecx
dec dword [ebx + 4]
mov edi, dword [ebx + 0xc]
mov esi, eax
mov eax, dword [ebx + 4]
cdq
idiv esi
mov eax, dword [edi + eax*4]
mov eax, dword [eax + edx*4]
cdq
idiv esi
mov esi, dword [ebx + 8]
imul edx, ecx
add edx, dword [esi + eax*4]
je 0x569e56
call fcn.005603c0
mov esi, eax
jmp 0x569e58
xor esi, esi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
call fcn.0054aa20
movsx edi, ax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xf44]
sub ecx, dword [eax + 0xf40]
add eax, 0xf34
mov dword [esp + 0x54], eax
mov eax, 0x2fa0be83
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x569ea4
call fcn.006441b7
mov ecx, dword [esp + 0x54]
imul edi, edi, 0xac0
add edi, dword [ecx + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov dword [esi + 8], edi
mov edi, dword [esp + 0x18]
push ecx
mov dword [esi + 0x10], edx
call fcn.00564da0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x20]
push esi
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
call fcn.0056af40
cmp dword [esp + 0x18], 0
jle 0x569f04
mov ecx, dword [edi + 0x74]
mov dword [ecx + 4], esi
mov edx, dword [edi + 0x74]
mov dword [esi], edx
jmp 0x569f0a
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov eax, dword [esp + 0x18]
inc dword [edi + 0x78]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [edi + 0x74], esi
mov dword [esp + 0x18], eax
jl 0x569e13
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x2c]
sub ecx, dword [eax + 0x28]
mov esi, dword [esp + 0x58]
add dword [esp + 0x44], 0xd8
add dword [esp + 0x50], 0x7a8
mov eax, 0x42df9bb1
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
mov dword [esp + 0x58], esi
jl 0x5698fe
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xec4]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
mov edi, dword [esp + 0x48]
add dword [esp + 0x4c], 0x60
add dword [esp + 0x34], 0x150
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 + 0x48], edi
jl 0x569861
jmp 0x569fb5
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
lea edx, [ecx*8]
mov dword [eax + 0x20], edx
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret 4