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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63cc64
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push esi
push edi
mov eax, dword [0x6db1a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], 0
mov esi, dword [ebx + 8]
cmp dword [esi - 0xc], 0
lea eax, [esi - 0xc]
mov dword [ebp - 0x64], esi
jl 0x567fbe
mov dword [ebp - 0x60], esi
lock inc dword [eax]
jmp 0x567fe5
mov eax, dword [0x6ce014]
mov dword [ebp - 0x60], eax
test esi, esi
jne 0x567fce
xor eax, eax
jmp 0x567fd5
push esi
call dword [0x64c2e4]
push esi
push eax
lea ecx, [ebp - 0x60]
call fcn.004fccc0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x20], 3
mov eax, dword [0x6ce014]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 1
call dword [eax + 0x1c]
mov esi, dword [ebx + 0x34]
xor ecx, ecx
or edi, 0xffffffff
mov dword [ebp - 0x34], ecx
cmp esi, dword [ebx + 0x38]
je 0x568aa5
nop word [eax + eax]
mov eax, dword [esi]
mov dword [ebp - 0x18], 0
cmp dword [eax - 8], 0
jle 0x568a95
lea eax, [ebx + 0x5c]
mov dword [ebp - 0x7c], eax
nop dword [eax]
mov eax, dword [ebp - 0x20]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x24]
push dword [ebp - 0x64]
push str._s__d__d
push eax
call fcn.004fd790
xor ebx, ebx
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
test eax, eax
jne 0x5681e1
push 0x50
call fcn.005b9a43
mov edi, eax
add esp, 4
mov dword [ebp - 0x9c], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x56814b
mov eax, dword [ebp - 0x14]
mov ecx, edi
movss xmm0, dword [eax + 0x78]
lea eax, [ebp - 0x24]
push eax
movss dword [ebp - 0x1c], xmm0
call fcn.004f8a60
mov dword [edi + 0x34], 1
mov dword [edi + 0x38], 1
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa8]
mov dword [edi], vtable.Char1Actor.0
push eax
mov ecx, edi
call fcn.0050b450
push eax
lea ecx, [edi + 0x40]
call fcn.004fb680
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], edx
test edx, edx
je 0x56812b
or ebx, 0xffffffff
lea eax, [edx + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x56812b
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x56812b
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [edi + 0x40]
movss xmm0, dword [ebp - 0x1c]
movss dword [eax + 0xf0], xmm0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x48], 0
jmp 0x56814d
xor edi, edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.005596c0
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], edx
test edx, edx
je 0x5681aa
or ebx, 0xffffffff
lea eax, [edx + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5681aa
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5681aa
mov eax, dword [ecx]
call dword [eax + 8]
push edi
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.005025f0
mov ebx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
or edi, 0xffffffff
jmp 0x568591
cmp eax, 1
jne 0x5683e3
push 0x5c
call fcn.005b9a43
mov edi, eax
add esp, 4
mov dword [ebp - 0xa0], edi
mov byte [ebp - 4], 9
test edi, edi
je 0x56834d
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, edi
movss xmm0, dword [eax + 0x78]
lea eax, [ebp - 0x24]
movss dword [esp], xmm0
push eax
call fcn.0055bb70
mov dword [edi], vtable.Char1FadeActor.0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
push 0x1c
mov byte [ebp - 4], 0xb
call fcn.005b9a43
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x56827e
mov dword [ebx], vtable.AnimationLinear.0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
jmp 0x568280
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.004f6660
mov edx, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x10], edx
test edx, edx
je 0x5682dc
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5682dc
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5682dc
mov eax, dword [ecx]
call dword [eax + 8]
push ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.005025f0
mov eax, dword [edi + 0x50]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [edi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
mov dword [edi + 0x54], eax
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 0xe
test edx, edx
je 0x56833b
or ebx, 0xffffffff
lea eax, [edx + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x56833b
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x56833b
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [edi + 0x50]
mov dword [eax + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x58], eax
jmp 0x56834f
xor edi, edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], 0
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xf
call fcn.00559760
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x10], edx
test edx, edx
je 0x5683ac
or ebx, 0xffffffff
lea eax, [edx + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5683ac
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5683ac
mov eax, dword [ecx]
call dword [eax + 8]
push edi
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.005025f0
mov ebx, dword [ebp - 0x5c]
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 2
or edi, 0xffffffff
jmp 0x568591
cmp eax, 2
jne 0x568591
push 0x68
call fcn.005b9a43
mov ebx, eax
add esp, 4
mov dword [ebp - 0x98], ebx
mov byte [ebp - 4], 0x12
test ebx, ebx
je 0x5684fe
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, ebx
movss xmm0, dword [eax + 0x78]
lea eax, [ebp - 0x24]
movss dword [esp], xmm0
push eax
call fcn.0055bb70
mov dword [ebx], vtable.Char1ShakeActor.0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
push 0x1c
mov byte [ebp - 4], 0x15
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x56849a
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax], vtable.AnimationStep.0
jmp 0x56849c
xor eax, eax
push eax
lea ecx, [ebx + 0x58]
call fcn.0055b500
push 0x1c
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x5684f1
mov dword [eax + 4], 1
lea ecx, [ebx + 0x60]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
push eax
mov dword [eax], vtable.AnimationStep.0
call fcn.0055b500
jmp 0x568500
xor eax, eax
lea ecx, [ebx + 0x60]
push eax
call fcn.0055b500
jmp 0x568500
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x16
call fcn.00559800
mov edx, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x10], edx
test edx, edx
je 0x56855a
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x56855a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x56855a
mov eax, dword [ecx]
call dword [eax + 8]
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.005025f0
mov ebx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0
call fcn.0055c870
mov eax, dword [ebx]
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, ebx
call dword [eax + 0x54]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x7c]
or dword [ecx + 0xe4], eax
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x10], edx
test edx, edx
je 0x5685e9
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5685e9
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5685e9
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call dword [eax + 0x54]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0
push 1
push 1
push dword [edx + 0x74]
mov eax, dword [ecx]
push dword [ebp - 0x7c]
mov byte [ebp - 4], 0x19
push dword [edx + 0x58]
call dword [eax + 0x40]
mov edx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x10], edx
test edx, edx
je 0x568654
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x568654
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x568654
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1b
push dword [ecx + 0x80]
mov ecx, dword [eax]
call fcn.00542410
mov edx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x10], edx
test edx, edx
je 0x5686b6
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5686b6
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5686b6
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1d
push dword [ecx + 0x84]
mov ecx, dword [eax]
call fcn.00542450
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x10], edx
test edx, edx
je 0x568718
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x568718
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x568718
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1f
push dword [ecx + 0x88]
mov ecx, dword [eax]
call fcn.00542470
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.004fb580
mov eax, dword [ebx]
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, ebx
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x20
push dword [ecx + 0x8c]
mov ecx, dword [eax]
call fcn.00542430
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.004fb580
mov eax, dword [ebx]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, ebx
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x21
push dword [ecx + 0x90]
mov ecx, dword [eax]
call fcn.00542490
lea ecx, [ebp - 0xdc]
call fcn.004fb580
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + eax]
movsx eax, al
push eax
call fcn.005d9ecd
add esp, 4
test eax, eax
je 0x568902
mov eax, dword [ebp - 0x18]
xor ecx, ecx
test eax, eax
mov byte [ebp - 4], 0x22
cmovns ecx, eax
mov eax, dword [esi]
mov dword [ebp - 0x10], ecx
mov edx, dword [eax - 8]
lea eax, [ecx + 2]
mov ecx, edx
sub ecx, dword [ebp - 0x10]
cmp eax, edx
mov eax, 2
cmovle ecx, eax
xor eax, eax
cmp dword [ebp - 0x10], edx
cmovle eax, ecx
or dword [ebp - 0x20], 4
mov ecx, dword [0x6ce014]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], ecx
test eax, eax
jne 0x568810
mov dword [ebp - 0x28], ecx
jmp 0x568836
push eax
lea ecx, [ebp - 0x28]
call fcn.004fcc00
test eax, eax
je 0x568836
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, dword [ebp - 0x10]
push ecx
push eax
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
call fcn.00502200
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
push ecx
mov ecx, dword [eax]
call fcn.005416f0
lea ecx, [ebp - 0xe4]
call fcn.004fb580
mov eax, dword [ebp - 0x68]
and eax, 0xfffffffb
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x568896
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x568896
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x70]
lea ecx, [ebp - 0xf0]
add ebx, eax
imul eax, dword [ebp - 0x18]
imul ebx, dword [ebp - 0x34]
push ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sar edi, 1
mov edx, dword [eax]
call dword [edx + 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x24
mov edx, dword [ecx + 0x64]
add edx, ebx
mov ebx, ecx
mov dword [ebp - 0x88], edx
mov ecx, dword [ebx + 0x60]
add ecx, edi
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [eax]
call fcn.00541370
lea ecx, [ebp - 0xec]
call fcn.004fb580
mov edi, dword [ebp - 0x18]
inc edi
jmp 0x568a37
mov eax, dword [ebp - 0x18]
xor ecx, ecx
test eax, eax
mov byte [ebp - 4], 0x25
cmovns ecx, eax
mov eax, dword [esi]
mov dword [ebp - 0x10], ecx
mov edx, dword [eax - 8]
lea eax, [ecx + 1]
mov ecx, edx
sub ecx, dword [ebp - 0x10]
cmp eax, edx
mov eax, 1
cmovle ecx, eax
xor eax, eax
cmp dword [ebp - 0x10], edx
cmovle eax, ecx
or dword [ebp - 0x20], 8
mov ecx, dword [0x6ce014]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x56894b
mov dword [ebp - 0x2c], ecx
jmp 0x568971
push eax
lea ecx, [ebp - 0x2c]
call fcn.004fcc00
test eax, eax
je 0x568971
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, dword [ebp - 0x10]
push ecx
push eax
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x2c]
call fcn.00502200
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x26
push ecx
mov ecx, dword [eax]
call fcn.005416f0
lea ecx, [ebp - 0xf4]
call fcn.004fb580
mov eax, dword [ebp - 0x68]
and eax, 0xfffffff7
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5689d1
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5689d1
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x70]
lea ecx, [ebp - 0x100]
add ebx, eax
imul eax, dword [ebp - 0x18]
imul ebx, dword [ebp - 0x34]
push ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sar edi, 1
mov edx, dword [eax]
call dword [edx + 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x27
mov edx, dword [ecx + 0x64]
add edx, ebx
mov ebx, ecx
mov dword [ebp - 0x90], edx
mov ecx, dword [ebx + 0x60]
add ecx, edi
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [eax]
call fcn.00541370
lea ecx, [ebp - 0xfc]
call fcn.004fb580
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x568a56
lea ecx, [eax + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x28
call dword [eax + 0x10]
lea ecx, [ebp - 0x80]
call fcn.004fb580
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004fb580
mov eax, dword [esi]
inc edi
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], edi
cmp edi, dword [eax - 8]
mov edi, 0xffffffff
jl 0x568040
or edi, edi
add esi, 4
inc ecx
mov dword [ebp - 0x34], ecx
cmp esi, dword [ebx + 0x38]
jne 0x568020
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x568ade
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x568ade
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x64]
lea eax, [ecx - 0xc]
cmp eax, dword [0x6ce010]
je 0x568b01
lea eax, [ecx - 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x568b01
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8