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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0x1a]
push edi
xor edi, edi
mov dword [esp + 0x50], ebx
test al, al
je 0x56bbe9
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xc]
lea esi, [eax + eax + 0xa]
lea ecx, [esi*8]
push ecx
call fcn.0076d5a7
add esp, 4
cmp eax, edi
je 0x56bc0f
dec esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], esi
jmp 0x56bc13
mov dword [esp + 0x3c], edi
push 0x14
call fcn.0076d5a7
mov esi, eax
add esp, 4
or ebp, 0xffffffff
cmp esi, edi
je 0x56bc65
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebp
mov dword [esi], edi
lea eax, [edx + edx + 0xa]
mov dword [esi + 4], eax
lea eax, [eax*4 + 4]
push eax
call fcn.0076d5a7
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
add esp, 4
xor eax, eax
cmp ecx, edi
jl 0x56bc67
mov ecx, dword [esi + 8]
inc eax
mov dword [ecx + eax*4 - 4], edi
mov ecx, dword [esi + 4]
cmp eax, ecx
jle 0x56bc54
jmp 0x56bc67
xor esi, esi
mov ecx, dword [esi]
xor eax, eax
cmp ecx, edi
jl 0x56bc7d
mov edx, dword [esi + 8]
inc eax
mov dword [edx + eax*4 - 4], edi
mov ecx, dword [esi]
cmp eax, ecx
jle 0x56bc6f
mov dword [esi], edi
mov eax, dword [0x836b2c]
imul eax, eax
cmp eax, edi
jle 0x56bc9d
xor ecx, ecx
mov edx, dword [0xa5861c]
add ecx, 0x50
dec eax
mov dword [ecx + edx - 0x14], ebp
jne 0x56bc8d
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x40], edi
dec ecx
js 0x56bcd9
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x2c]
movsx eax, word [edx + ecx*4 + 2]
imul eax, dword [0x836b2c]
lea edx, [edx + ecx*4]
movsx edx, word [edx]
add eax, edx
mov edx, dword [0xa5861c]
lea eax, [eax + eax*4]
shl eax, 4
dec ecx
mov dword [eax + edx + 0x38], 0xfffffffe
jns 0x56bca7
mov ebp, dword [esp + 0x50]
mov eax, 0x55555556
mov ecx, dword [ebp + 0xc]
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
cdq
and edx, 7
mov ecx, edi
add eax, edx
sar eax, 3
sub ecx, eax
inc ecx
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
fild qword [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
fstp qword [esp + 0x68]
fild qword [esp + 0x30]
fstp qword [esp + 0x58]
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
fild qword [esp + 0x30]
fmul qword [esp + 0x68]
fmul qword [0x790db8]
fadd qword [esp + 0x58]
call fcn.0076a6b0
cmp eax, edi
mov dword [esp + 0x94], eax
ja 0x56bd22
mov edi, dword [ebp + 0x38]
mov dword [esp + 0x34], ebx
dec edi
lea edx, [edi + 1]
mov dword [esp + 0x30], edx
fild qword [esp + 0x30]
fstp qword [esp + 0x68]
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
fild qword [esp + 0x30]
fmul qword [esp + 0x68]
fmul qword [0x790db8]
call fcn.0076a6b0
cmp eax, edi
ja 0x56bd6d
mov ecx, dword [ebp + 0x2c]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x54], 1
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x64], eax
mov dword [edi], eax
mov dword [edi + 4], ebx
mov ecx, dword [0xa5861c]
movsx eax, word [esp + 0x66]
imul eax, dword [0x836b2c]
movsx edx, word [esp + 0x64]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 4
mov dword [eax + ecx + 0x3c], 0xfffffffd
mov ecx, dword [esi]
mov eax, dword [edi + 4]
inc ecx
mov edx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
shr edx, 1
cmp ecx, eax
jae 0x56be31
cmp ecx, 1
jbe 0x56be14
mov ebx, dword [esi + 8]
mov ebp, dword [ebx + edx*4]
fld dword [ebp + 4]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x56be12
mov dword [ebx + ecx*4], ebp
mov ecx, edx
shr edx, 1
cmp ecx, 1
ja 0x56bdf2
xor ebx, ebx
mov edx, dword [esi + 8]
mov dword [edx + ecx*4], edi
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
inc ecx
cmp edi, eax
mov dword [esi], ecx
jbe 0x56be29
mov dword [esi + 0xc], edi
cmp edi, dword [esi + 0x10]
jae 0x56be31
mov dword [esi + 0x10], edi
mov ecx, dword [esi]
cmp ecx, ebx
jne 0x56be3b
xor edi, edi
jmp 0x56be5d
mov eax, dword [esi + 8]
push 1
mov ecx, dword [eax + ecx*4]
mov edi, dword [eax + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + edx*4], ebx
mov ecx, dword [esi]
dec ecx
mov dword [esi], ecx
mov ecx, esi
call fcn.0058bd40
mov ecx, 0xa581b8
mov dword [esp + 0x2c], edi
call fcn.0062fc90
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
fild qword [esp + 0x30]
cmp edi, ebx
fmul qword [0x790dc8]
fstp qword [esp + 0x30]
je 0x56c0db
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jge 0x56c0db
mov edx, dword [0xa5861c]
mov ecx, dword [esp + 0x2c]
test edx, edx
je 0x56bec8
movsx eax, word [ecx + 2]
imul eax, dword [0x836b2c]
movsx edi, word [ecx]
add eax, edi
lea eax, [eax + eax*4]
shl eax, 4
mov dword [eax + edx + 0x38], 0xfffffffd
movsx eax, word [ecx + 2]
imul eax, dword [0x836b2c]
movsx edx, word [ecx]
add eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], 0x834b58
lea ebp, [eax + edx*8]
jmp 0x56befd
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
and eax, 7
lea edx, [eax*4 + 0x839d80]
lea eax, [esp + 0x68]
push edx
push eax
call fcn.0042add0
mov eax, dword [eax]
mov edi, dword [0xa58614]
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
movsx ecx, ax
movsx eax, word [esp + 0x76]
lea edx, [eax + ecx]
cmp edx, edi
jle 0x56c061
mov ebx, ecx
sub ebx, eax
cmp ebx, edi
jge 0x56c061
mov ebx, eax
sub ebx, ecx
cmp ebx, edi
jge 0x56c061
cmp edx, dword [0xa58618]
jg 0x56c061
mov edx, dword [0xa5861c]
test edx, edx
je 0x56c061
imul eax, dword [0x836b2c]
add eax, ecx
lea ecx, [eax + eax*4]
shl ecx, 4
lea eax, [ecx + edx]
mov ecx, dword [ecx + edx + 0x38]
cmp ecx, 0xfffffffe
jne 0x56c061
cmp dword [eax + 0x3c], 0xfffffffd
je 0x56c061
lea edx, [esp + 0x60]
mov ecx, 0x81a800
push edx
call fcn.005453b0
mov ecx, eax
call fcn.0047b190
test al, al
je 0x56c061
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [ebp], eax
push ecx
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
call fcn.0056ac90
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
fstp dword [ebp + 4]
mov ebx, dword [edx]
mov ecx, dword [0xa5861c]
add eax, ebx
mov edx, dword [esp + 0x54]
mov edi, ebp
add ebp, 8
lea eax, [eax + eax*4]
shl eax, 4
inc edx
mov dword [eax + ecx + 0x3c], 0xfffffffd
mov ecx, dword [esi]
mov eax, dword [edi + 4]
inc ecx
mov dword [esp + 0x54], edx
mov edx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
shr edx, 1
cmp ecx, eax
jae 0x56c061
cmp ecx, 1
jbe 0x56c044
mov ebx, dword [esi + 8]
mov eax, dword [ebx + edx*4]
fld dword [eax + 4]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x41
jne 0x56c044
mov eax, dword [ebx + edx*4]
mov dword [ebx + ecx*4], eax
mov ecx, edx
shr edx, 1
cmp ecx, 1
ja 0x56c021
mov edx, dword [esi + 8]
mov dword [edx + ecx*4], edi
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
inc ecx
cmp edi, eax
mov dword [esi], ecx
jbe 0x56c059
mov dword [esi + 0xc], edi
cmp edi, dword [esi + 0x10]
jae 0x56c061
mov dword [esi + 0x10], edi
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
add eax, 8
add edi, 2
cmp eax, 0x834b78
mov dword [esp + 0x10], edi
mov dword [esp + 0x44], eax
jl 0x56bef9
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
mov ecx, 0xa57948
call fcn.005764d0
fmul qword [0x790dc0]
mov ecx, dword [esi]
test ecx, ecx
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
je 0x56c0db
mov eax, dword [esi + 8]
push 1
mov ecx, dword [eax + ecx*4]
mov edi, dword [eax + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov ecx, esi
mov dword [eax + edx*4], 0
mov edx, dword [esi]
dec edx
mov dword [esi], edx
call fcn.0058bd40
test edi, edi
mov dword [esp + 0x2c], edi
jne 0x56be89
mov ecx, dword [0x836b2c]
imul ecx, ecx
test ecx, ecx
jle 0x56c0fd
xor eax, eax
or edx, 0xffffffff
mov edi, dword [0xa5861c]
add eax, 0x50
dec ecx
mov dword [eax + edi - 0x14], edx
jne 0x56c0ed
mov ecx, dword [esi]
test ecx, ecx
jne 0x56c107
xor edi, edi
jmp 0x56c12d
mov eax, dword [esi + 8]
push 1
mov ecx, dword [eax + ecx*4]
mov edi, dword [eax + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + edx*4], 0
mov ecx, dword [esi]
dec ecx
mov dword [esi], ecx
mov ecx, esi
call fcn.0058bd40
push 0
push 0
lea ecx, [esp + 0xa0]
call fcn.0042d4a0
mov ebp, 0xa
mov dword [esp + 0x98], vtable.DynamicVectorClass_class_Cell_.0
test edi, edi
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], 0
je 0x56c1be
mov ebx, 0xfffffffd
mov edi, dword [edi]
mov dword [esp + 0x58], edi
movsx eax, word [esp + 0x5a]
imul eax, dword [0x836b2c]
movsx ecx, di
add eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [0xa5861c]
shl edx, 4
mov dword [edx + eax + 0x38], ebx
mov ecx, dword [esi]
test ecx, ecx
je 0x56c1be
mov eax, dword [esi + 8]
push 1
mov ecx, dword [eax + ecx*4]
mov edi, dword [eax + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov ecx, esi
mov dword [eax + edx*4], 0
mov edx, dword [esi]
dec edx
mov dword [esi], edx
call fcn.0058bd40
test edi, edi
jne 0x56c168
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0076d2d5
add esp, 4
test esi, esi
je 0x56c1e1
mov edx, dword [esi + 8]
push edx
call fcn.0076d2d5
push esi
call fcn.0076d2d5
add esp, 8
push 0
push 0
lea ecx, [esp + 0x84]
call fcn.0058bc10
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x7c], vtable.DynamicVectorClass_class_MapRegionClass__.0
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], 0
mov edx, dword [ebx + 0x38]
dec edx
mov dword [esp + 0x2c], edx
js 0x56c525
mov ecx, dword [0xa5861c]
mov eax, dword [ebx + 0x2c]
mov ebp, dword [eax + edx*4]
mov dword [esp + 0x58], ebp
movsx eax, word [esp + 0x5a]
imul eax, dword [0x836b2c]
movsx esi, bp
add eax, esi
lea esi, [eax + eax*4]
shl esi, 4
mov eax, dword [esi + ecx + 0x38]
cmp eax, 0xffffffff
jge 0x56c51a
mov ecx, eax
push 0x50
mov dword [esp + 0x78], ecx
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x56c271
push ebp
mov ecx, eax
call fcn.0056a510
mov ebx, eax
jmp 0x56c273
xor ebx, ebx
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x38]
lea edi, [ebx + 0x28]
cmp eax, ecx
mov dword [esp + 0x40], ebx
jl 0x56c2a6
mov al, byte [edi + 0xd]
test al, al
jne 0x56c28f
test ecx, ecx
jne 0x56c2b5
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x56c2b5
mov edx, dword [edi]
add eax, ecx
push 0
push eax
mov ecx, edi
call dword [edx + 8]
test al, al
je 0x56c2b5
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
mov dword [edi + 0x10], ecx
mov dword [edx + eax*4], ebp
mov edx, dword [ebx + 0xc]
inc edx
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x8c], eax
jl 0x56c300
mov cl, byte [esp + 0x89]
test cl, cl
jne 0x56c2db
test eax, eax
jne 0x56c31b
mov ecx, dword [esp + 0x90]
test ecx, ecx
jle 0x56c31b
add eax, ecx
push 0
push eax
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x84]
call dword [eax + 8]
test al, al
je 0x56c31b
mov ecx, dword [esp + 0x8c]
mov eax, ecx
inc ecx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x80]
mov dword [ecx + eax*4], ebx
mov eax, dword [0xa5861c]
mov edx, dword [ebx + 8]
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [esi + eax + 0x38], edx
call fcn.0042d4a0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], vtable.DynamicVectorClass_class_Cell_.0
test eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x186a0
jg 0x56c376
mov cl, byte [esp + 0x21]
test cl, cl
jne 0x56c360
test eax, eax
jne 0x56c388
add eax, 0x186a0
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [0x7875a8]
test al, al
je 0x56c388
mov ecx, dword [esp + 0x24]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax*4], ebp
mov edx, dword [esp + 0x24]
mov eax, edx
test eax, eax
je 0x56c4fb
mov ecx, dword [esp + 0x18]
dec eax
cmp eax, edx
mov esi, dword [ecx + eax*4]
mov dword [esp + 0x48], esi
jge 0x56c3c5
dec edx
cmp eax, edx
mov dword [esp + 0x24], edx
jge 0x56c3c5
jmp 0x56c3b5
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
jl 0x56c3b1
xor eax, eax
mov dword [esp + 0x10], eax
and eax, 7
lea ecx, [esp + 0x68]
lea eax, [eax*4 + 0x839d80]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0042add0
mov ebx, dword [eax]
mov esi, dword [0xa58614]
mov dword [esp + 0x58], ebx
movsx eax, word [esp + 0x5a]
movsx ecx, bx
lea edx, [eax + ecx]
cmp edx, esi
jle 0x56c4db
mov ebp, ecx
sub ebp, eax
cmp ebp, esi
jge 0x56c4db
mov ebp, eax
sub ebp, ecx
cmp ebp, esi
jge 0x56c4db
cmp edx, dword [0xa58618]
jg 0x56c4db
imul eax, dword [0x836b2c]
add eax, ecx
mov ecx, dword [0xa5861c]
mov edx, dword [esp + 0x74]
lea esi, [eax + eax*4]
shl esi, 4
add esi, ecx
cmp dword [esi + 0x38], edx
jne 0x56c4db
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x10]
cmp eax, ecx
jl 0x56c477
mov al, byte [edi + 0xd]
test al, al
jne 0x56c460
test ecx, ecx
jne 0x56c486
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x56c486
mov edx, dword [edi]
add ecx, eax
push 0
push ecx
mov ecx, edi
call dword [edx + 8]
test al, al
je 0x56c486
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
mov dword [edi + 0x10], ecx
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0xc]
inc edx
mov dword [eax + 0xc], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x24], eax
jl 0x56c4c9
mov cl, byte [esp + 0x21]
test cl, cl
jne 0x56c4ad
test eax, eax
jne 0x56c4db
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x56c4db
mov edx, dword [esp + 0x14]
add eax, ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [edx + 8]
test al, al
je 0x56c4db
mov ecx, dword [esp + 0x24]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax*4], ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x56c3cb
mov edx, dword [esp + 0x24]
mov eax, edx
test eax, eax
jne 0x56c396
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.VectorClass_class_Cell_.0
call fcn.0042cfb0
mov ecx, dword [0xa5861c]
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
dec edx
mov dword [esp + 0x2c], edx
jns 0x56c223
mov edx, dword [esp + 0x8c]
lea eax, [edx - 1]
test eax, eax
mov dword [esp + 0x2c], eax
jl 0x56cab3
jmp 0x56c541
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x3c], eax
mov cl, byte [eax + 0x24]
test cl, cl
jne 0x56caa0
mov ecx, eax
call fcn.0056cb70
mov edx, dword [0xa58620]
mov ebx, eax
push edx
call fcn.0076d5a7
mov edx, dword [0xa58620]
mov ecx, eax
add esp, 4
xor eax, eax
test edx, edx
mov dword [esp + 0x40], ecx
jle 0x56c593
mov byte [ecx + eax], 0
mov edx, dword [0xa58620]
inc eax
cmp eax, edx
jl 0x56c584
mov eax, dword [ebx + 0x10]
dec eax
mov dword [esp + 0x10], eax
js 0x56c642
mov ecx, dword [ebx + 4]
xor edi, edi
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x58], edx
mov eax, edi
lea edx, [esp + 0x68]
and eax, 7
lea ecx, [eax*4 + 0x839d80]
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.0042add0
mov eax, dword [eax]
mov esi, dword [0xa58614]
mov dword [esp + 0x48], eax
movsx ecx, ax
movsx eax, word [esp + 0x4a]
lea edx, [eax + ecx]
cmp edx, esi
jle 0x56c629
mov ebp, ecx
sub ebp, eax
cmp ebp, esi
jge 0x56c629
mov ebp, eax
sub ebp, ecx
cmp ebp, esi
jge 0x56c629
cmp edx, dword [0xa58618]
jg 0x56c629
imul eax, dword [0x836b2c]
add eax, ecx
mov ecx, dword [0xa5861c]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + ecx + 0x38]
test eax, eax
jl 0x56c629
mov edx, dword [esp + 0x3c]
cmp eax, dword [edx + 8]
je 0x56c629
mov ecx, dword [esp + 0x40]
mov byte [eax + ecx], 1
inc edi
cmp edi, 8
jl 0x56c5ad
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jns 0x56c5a1
test ebx, ebx
je 0x56c64e
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov eax, dword [0xa58620]
or ebx, 0xffffffff
xor edx, edx
mov dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], ebx
mov esi, ebx
mov edi, ebx
jle 0x56c6fd
mov ebp, dword [0xa57930]
mov eax, dword [esp + 0x40]
cmp byte [eax + edx], 0
je 0x56c6ef
xor eax, eax
test ebp, ebp
jle 0x56c69f
mov ecx, dword [0xa57924]
mov ebx, dword [ecx]
cmp dword [ebx + 8], edx
je 0x56c6d5
inc eax
add ecx, 4
cmp eax, ebp
jl 0x56c690
xor eax, eax
mov cl, byte [eax + 0x24]
test cl, cl
jne 0x56c6ef
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jle 0x56c6c9
mov bl, byte [eax + 0x14]
test bl, bl
jne 0x56c6c9
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], ecx
cmp esi, 0xffffffff
jne 0x56c6e0
mov esi, dword [eax + 0x10]
mov edi, esi
jmp 0x56c6ef
mov ecx, dword [0xa57924]
mov eax, dword [ecx + eax*4]
jmp 0x56c6a1
mov eax, dword [eax + 0x10]
cmp eax, edi
jle 0x56c6e9
mov edi, eax
cmp eax, esi
jge 0x56c6ef
mov esi, eax
mov eax, dword [0xa58620]
inc edx
cmp edx, eax
jl 0x56c67a
mov ebx, dword [esp + 0x54]
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.0046cc20
mov eax, edi
mov dword [esp + 0x14], vtable.DynamicVectorClass_int_.0
sub eax, esi
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x24], 0
je 0x56c809
cmp eax, 4
je 0x56c78b
cmp eax, 8
jne 0x56c899
lea eax, [edi + esi]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x1c]
sar esi, 1
test eax, eax
jg 0x56c774
mov cl, byte [esp + 0x21]
test cl, cl
jne 0x56c75c
test eax, eax
jne 0x56c899
add eax, 0xa
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [0x788a9c]
test al, al
je 0x56c899
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov dword [edx + eax*4], esi
jmp 0x56c899
mov eax, dword [esp + 0x1c]
test eax, eax
jg 0x56c7b3
mov cl, byte [esp + 0x21]
test cl, cl
jne 0x56c79f
test eax, eax
jne 0x56c7c9
add eax, 0xa
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [0x788a9c]
test al, al
je 0x56c7c5
mov ecx, dword [esp + 0x24]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax*4], edi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x24], eax
jl 0x56c887
mov cl, byte [esp + 0x21]
test cl, cl
jne 0x56c7e3
test eax, eax
jne 0x56c899
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x56c899
mov edx, dword [esp + 0x14]
add eax, ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [edx + 8]
test al, al
je 0x56c899
jmp 0x56c887
cmp esi, 4
jl 0x56c84b
mov eax, dword [esp + 0x1c]
add esi, 0xfffffffc
test eax, eax
jg 0x56c839
mov cl, byte [esp + 0x21]
test cl, cl
jne 0x56c825
test eax, eax
jne 0x56c84f
add eax, 0xa
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [0x788a9c]
test al, al
je 0x56c84b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov dword [edx + eax*4], esi
mov eax, dword [esp + 0x1c]
cmp edi, 7
jg 0x56c899
mov ecx, dword [esp + 0x24]
lea esi, [edi + 4]
cmp ecx, eax
jl 0x56c887
mov cl, byte [esp + 0x21]
test cl, cl
jne 0x56c86b
test eax, eax
jne 0x56c899
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x56c899
add eax, ecx
push 0
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call dword [eax + 8]
test al, al
je 0x56c899
mov ecx, dword [esp + 0x24]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax*4], esi
mov eax, dword [0xa5799c]
cmp eax, 3
je 0x56c8a8
cmp eax, 4
jne 0x56c8e3
mov esi, dword [esp + 0x24]
lea edx, [esi - 1]
test edx, edx
jl 0x56c8e3
mov ecx, dword [esp + 0x18]
cmp dword [ecx + edx*4], 0
jne 0x56c8e0
cmp edx, esi
jge 0x56c8e0
dec esi
mov eax, edx
cmp edx, esi
mov dword [esp + 0x24], esi
jge 0x56c8e0
mov esi, dword [ecx + eax*4 + 4]
mov dword [ecx + eax*4], esi
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, esi
jl 0x56c8cc
dec edx
jns 0x56c8b7
mov edx, dword [esp + 0x40]
push edx
call fcn.0076d2d5
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [eax + 0xc], 0x64
jle 0x56c9aa
mov edi, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
xor ebp, ebp
lea esi, [eax - 1]
mov dword [esp + 0x34], ebp
lea ecx, [esi + 1]
mov dword [esp + 0x30], ecx
fild qword [esp + 0x30]
fstp qword [esp + 0x48]
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebp
fild qword [esp + 0x74]
fmul qword [esp + 0x48]
fmul qword [0x790db8]
call fcn.0076a6b0
cmp eax, esi
ja 0x56c91d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + eax*4]
mov dword [ecx + 0x10], eax
sub eax, edi
mov ecx, 0x81a800
mov ebx, eax
call fcn.005571f0
mov ecx, 0x81a800
call fcn.00557130
mov esi, eax
cmp esi, ebp
je 0x56ca8f
mov edi, dword [esp + 0x3c]
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], edx
call fcn.0056b640
cmp eax, dword [edi + 8]
jne 0x56c995
add byte [esi + 0x11b], bl
mov ecx, 0x81a800
call fcn.00557130
mov esi, eax
cmp esi, ebp
jne 0x56c97a
jmp 0x56ca8f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x56ca8f
mov ebp, dword [esp + 0x3c]
mov ecx, 0x81a800
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], ebx
sub ebx, eax
call fcn.005571f0
mov ecx, 0x81a800
call fcn.00557130
mov esi, eax
test esi, esi
je 0x56ca07
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
call fcn.0056b640
cmp eax, dword [ebp + 8]
jne 0x56c9f7
add byte [esi + 0x11b], bl
mov ecx, 0x81a800
call fcn.00557130
mov esi, eax
test esi, esi
jne 0x56c9dc
mov ebx, dword [ebp + 0x38]
dec ebx
js 0x56ca8b
mov ecx, dword [esp + 0x10]
lea esi, [ecx + 0x28]
mov edx, dword [ebp + 0x2c]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edi, dword [edx + ebx*4]
cmp ecx, eax
mov dword [esp + 0x48], edi
jl 0x56ca4a
mov cl, byte [esi + 0xd]
test cl, cl
jne 0x56ca33
test eax, eax
jne 0x56ca59
mov ecx, dword [esi + 0x14]
test ecx, ecx
jle 0x56ca59
mov edx, dword [esi]
add eax, ecx
push 0
push eax
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x56ca59
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
lea ecx, [eax + 1]
mov dword [esi + 0x10], ecx
mov dword [edx + eax*4], edi
mov ecx, dword [esp + 0x10]
movsx edx, di
mov eax, dword [ecx + 0xc]
inc eax
mov dword [ecx + 0xc], eax
mov ecx, dword [ecx + 8]
movsx eax, word [esp + 0x4a]
imul eax, dword [0x836b2c]
add eax, edx
mov edx, dword [0xa5861c]
lea eax, [eax + eax*4]
shl eax, 4
dec ebx
mov dword [eax + edx + 0x38], ecx
jns 0x56ca14
mov byte [ebp + 0x24], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.VectorClass_int_.0
call fcn.0046cd60
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jns 0x56c53d
mov ebx, dword [esp + 0x50]
mov eax, dword [0xa57930]
xor ebp, ebp
lea edi, [eax - 1]
cmp edi, ebp
jl 0x56caf4
mov ecx, dword [0xa57924]
mov eax, dword [ecx + edi*4]
cmp eax, ebx
je 0x56caf1
mov dl, byte [eax + 0x24]
test dl, dl
je 0x56caf1
mov esi, eax
cmp esi, ebp
je 0x56caf1
mov ecx, esi
call fcn.0056a610
push esi
call fcn.0076d2d5
mov ecx, dword [0xa57924]
add esp, 4
dec edi
jns 0x56cac7
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x80]
inc edx
cmp eax, ebp
mov dword [ebx + 0x1c], edx
mov dword [esp + 0x7c], vtable.VectorClass_class_MapRegionClass__.0
je 0x56cb29
mov cl, byte [esp + 0x89]
test cl, cl
je 0x56cb29
push eax
call fcn.0076d2d5
add esp, 4
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x89], 0
cmp eax, ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x98], vtable.VectorClass_class_Cell_.0
je 0x56cb62
mov cl, byte [esp + 0xa5]
test cl, cl
je 0x56cb62
push eax
call fcn.0076d2d5
add esp, 4
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret