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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x675343
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
movss xmm0, dword [ebp + 0x10]
mulss xmm0, dword [0x6b08d0]
mov dword [ebp - 4], 0
cvttss2si edx, xmm0
movss xmm0, dword [ebp + 0x14]
mulss xmm0, dword [0x6b08d0]
mov esi, edx
neg esi
mov dword [ebp - 0x20], edx
cvttss2si ecx, xmm0
movss xmm0, dword [ebp + 0x18]
addss xmm0, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
neg dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
addss xmm0, dword [0x680714]
mulss xmm0, dword [0x6beaec]
cvttss2si eax, xmm0
movss xmm0, dword [ebp + 0x1c]
addss xmm0, dword [ebp + 0x14]
sub esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], esi
addss xmm0, dword [0x680714]
mulss xmm0, dword [0x6beaec]
cvttss2si eax, xmm0
sub dword [ebp - 0x38], eax
test edx, edx
jns 0x5b1e10
add esi, edx
xor edx, edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], edx
test ecx, ecx
jns 0x5b1e1c
add dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea eax, [edx + esi]
cmp eax, dword [edi + 0x28]
jle 0x5b1e2f
mov esi, dword [edi + 0x28]
sub esi, edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x38]
mov edx, dword [edi + 0x2c]
add eax, ecx
cmp eax, edx
jle 0x5b1e41
mov eax, edx
sub eax, ecx
jmp 0x5b1e44
mov eax, dword [ebp - 0x38]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
or ecx, 0xffffffff
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
test esi, esi
js 0x5b2cd8
je 0x5b2cd8
test eax, eax
je 0x5b2cd8
cmp dword [edi + 0x58], 0
je 0x5b2137
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 4]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], esi
push esi
push eax
call fcn.005b1100
add esp, 0x10
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x5b1e9a
lock inc dword [ecx + 4]
mov eax, dword [esi]
mov esi, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 4]
cmp byte [eax + 0x3e4], 0
je 0x5b1ee7
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x3c], 0xff
test ecx, ecx
je 0x5b1f0e
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x5b1f0e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b1f0e
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
test ecx, ecx
je 0x5b1f27
lock inc dword [ecx + 4]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.005a9360
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x5b1f6a
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x5b1f6a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x24]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b1f6a
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x14], eax
jle 0x5b1fc9
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
test edx, edx
jle 0x5b1fc0
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
add eax, ecx
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call edx
mov esi, dword [ebp - 0x34]
mov eax, dword [eax]
mov edx, dword [esi + 0x28]
imul edx, dword [ebp - 0x24]
mov ecx, dword [esi + 0x48]
add edx, dword [ebp - 0x2c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, edx
jl 0x5b1f80
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x14]
jl 0x5b1f77
mov eax, dword [edi + 4]
push 0x2c
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x5b20fa
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x14], ecx
jle 0x5b20fa
nop
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], eax
jle 0x5b20ed
nop
mov esi, dword [ebp - 0x1c]
add esi, ecx
mov ecx, dword [ebp - 0x34]
imul esi, dword [edi + 0x28]
mov edx, dword [ecx + 0x28]
imul edx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x274]
add esi, eax
mov eax, dword [edi + 0x274]
add esi, dword [ebp - 0x20]
add edx, dword [ebp - 0x28]
mov ax, word [eax + esi*2]
mov esi, dword [ebp - 0x34]
mov word [ecx + edx*2], ax
mov eax, dword [esi + 0x28]
imul eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x274]
add eax, dword [ebp - 0x28]
movzx eax, byte [ecx + eax*2 + 1]
push eax
call fcn.00630370
add esp, 4
test al, al
je 0x5b20da
mov eax, dword [esi + 0x28]
imul eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x274]
push 0
add eax, dword [ebp - 0x28]
movzx eax, byte [ecx + eax*2 + 1]
push eax
call fcn.006300b0
add esp, 8
test al, al
je 0x5b209a
mov edx, dword [esi + 0x28]
imul edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x274]
mov ecx, dword [edi + 4]
add edx, dword [ebp - 0x28]
mov al, byte [eax + edx*2]
mov byte [ecx + 0x2624], al
jmp 0x5b20da
mov eax, dword [esi + 0x28]
imul eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x274]
push 1
add eax, dword [ebp - 0x28]
movzx eax, byte [ecx + eax*2 + 1]
push eax
call fcn.006300b0
add esp, 8
test al, al
je 0x5b20da
mov edx, dword [esi + 0x28]
imul edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x274]
mov ecx, dword [edi + 4]
add edx, dword [ebp - 0x28]
mov al, byte [eax + edx*2]
mov byte [ecx + 0x2625], al
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x18]
jl 0x5b2000
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, dword [ebp - 0x14]
jl 0x5b1ff0
mov ecx, dword [ebp - 0x38]
push 0x200
mov eax, dword [ecx]
mov al, byte [eax + 0x2624]
mov byte [esi + 0x278], al
mov eax, dword [ecx]
mov al, byte [eax + 0x2625]
mov byte [esi + 0x279], al
mov eax, dword [ecx]
add eax, 0x3e5
push eax
lea eax, [esi + 0x6c]
push eax
call fcn.00623c10
mov esi, dword [ebp - 0x30]
jmp 0x5b2981
cmp dword [edi + 0x5c], 0
je 0x5b242f
push 0x298
call fcn.006326f1
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x5b2192
push dword [ebp - 0x38]
xorps xmm0, xmm0
lea ecx, [eax + 0xc]
movq qword [eax], xmm0
mov dword [eax + 8], 0
push esi
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_CLayerSpeedup_.0
push dword [edi + 4]
call fcn.005ac980
mov ecx, dword [ebp - 0x28]
jmp 0x5b2197
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
lea edx, [ecx + 4]
test ecx, ecx
je 0x5b21aa
lock inc dword [edx]
mov eax, dword [edi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0x6c], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 0x64], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 0x68], eax
mov eax, dword [edi + 0x64]
mov dword [ecx + 0x70], eax
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x74], eax
mov eax, dword [edi + 4]
cmp byte [eax + 0x3e4], 0
je 0x5b21f5
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ecx + 0x3c], xmm0
mov dword [ecx + 0x48], 0xff
test ecx, ecx
je 0x5b222e
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x5b222e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b222e
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x5b2243
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x5b2247
lock inc dword [ecx + 4]
lea eax, [ecx + 0xc]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
mov ecx, edx
call fcn.005a9360
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0042fbe0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], eax
jle 0x5b22c9
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test esi, esi
jle 0x5b22c0
nop
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
add eax, ecx
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call edx
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [ecx + 0x34]
imul edx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x54]
add edx, dword [ebp - 0x24]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, esi
jl 0x5b2280
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x38]
jl 0x5b2275
mov eax, dword [edi + 4]
push 0x2c
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x5b23f7
mov eax, dword [ebp - 0x38]
xor edx, edx
mov dword [ebp - 0x2c], edx
test eax, eax
jle 0x5b23f7
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test esi, esi
jle 0x5b23eb
nop dword [eax]
mov eax, dword [ebp - 0x1c]
add eax, edx
imul eax, dword [edi + 0x28]
add eax, ecx
add eax, dword [ebp - 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x274]
mov edi, dword [ebp - 0x28]
mov si, word [eax + ecx*2 + 4]
mov edx, dword [eax + ecx*2]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x34]
imul eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x280]
mov dword [eax + ecx*2], edx
mov word [eax + ecx*2 + 4], si
mov eax, edi
mov esi, dword [ebp - 0x24]
mov ecx, dword [eax + 0x280]
mov eax, dword [eax + 0x34]
imul eax, dword [ebp - 0x2c]
add eax, esi
lea eax, [eax + eax*2]
movzx eax, byte [ecx + eax*2 + 2]
push eax
call fcn.006302e0
mov edi, dword [ebp - 0x44]
add esp, 4
test al, al
je 0x5b23d3
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x34]
imul eax, dword [ebp - 0x2c]
add eax, esi
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x280]
mov ecx, dword [edi + 4]
mov ax, word [eax + edx*2 + 4]
mov word [ecx + 0x262a], ax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x34]
imul eax, dword [ebp - 0x2c]
add eax, esi
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x280]
mov ecx, dword [edi + 4]
mov al, byte [eax + edx*2]
mov byte [ecx + 0x2628], al
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x34]
imul eax, dword [ebp - 0x2c]
add eax, esi
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x280]
mov ecx, dword [edi + 4]
mov al, byte [eax + edx*2 + 1]
mov byte [ecx + 0x2629], al
mov edx, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
jl 0x5b2300
mov eax, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, eax
jl 0x5b22f0
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x28]
movzx eax, byte [eax + 0x2628]
mov dword [esi + 0x284], eax
mov eax, dword [edi + 4]
movzx eax, byte [eax + 0x2629]
mov dword [esi + 0x288], eax
mov eax, dword [edi + 4]
movsx eax, word [eax + 0x262a]
mov dword [esi + 0x28c], eax
jmp 0x5b296a
cmp dword [edi + 0x64], 0
je 0x5b26ef
push 0x29c
call fcn.006326f1
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x5b248a
push dword [ebp - 0x38]
xorps xmm0, xmm0
lea ecx, [eax + 0xc]
movq qword [eax], xmm0
mov dword [eax + 8], 0
push esi
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_CLayerSwitch_.0
push dword [edi + 4]
call fcn.005ae1a0
mov ecx, dword [ebp - 0x2c]
jmp 0x5b248f
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
lea esi, [ecx + 0xc]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], esi
lea edx, [ecx + 4]
test ecx, ecx
je 0x5b24a2
lock inc dword [edx]
mov eax, dword [edi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0x6c], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 0x64], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 0x68], eax
mov eax, dword [edi + 0x64]
mov dword [ecx + 0x70], eax
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x74], eax
mov eax, dword [edi + 4]
cmp byte [eax + 0x3e4], 0
je 0x5b24ed
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ecx + 0x3c], xmm0
mov dword [ecx + 0x48], 0xff
test ecx, ecx
je 0x5b2526
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x5b2526
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b2526
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x5b253b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x5b253f
lock inc dword [ecx + 4]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.005a9360
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.0042fbe0
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x38], edx
jle 0x5b25c7
mov eax, dword [ebp - 0x3c]
nop dword [eax]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test eax, eax
jle 0x5b25be
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call edx
mov edx, dword [esi + 0x28]
imul edx, dword [ebp - 0x28]
mov ecx, dword [esi + 0x48]
mov eax, dword [eax]
add edx, dword [ebp - 0x24]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x5b2580
mov edx, dword [ebp - 0x28]
inc edx
mov dword [ebp - 0x28], edx
cmp edx, dword [ebp - 0x38]
jl 0x5b2570
mov eax, dword [edi + 4]
push 0x2c
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x5b26b2
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x38], edx
jle 0x5b26b2
mov eax, dword [ebp - 0x3c]
nop
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test eax, eax
jle 0x5b26a5
nop dword [eax]
mov esi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x274]
add esi, edx
imul esi, dword [edi + 0x28]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 0x34]
add esi, ecx
imul edx, dword [ebp - 0x28]
add esi, dword [ebp - 0x20]
mov eax, dword [eax + esi*4]
add edx, ecx
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
add esi, 0xc
mov ecx, dword [ecx + 0x280]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x28]
imul eax, dword [ebp - 0x28]
mov ecx, dword [esi + 0x274]
add eax, dword [ebp - 0x24]
movzx eax, byte [ecx + eax*4 + 1]
push eax
call fcn.006302f0
add esp, 4
test al, al
je 0x5b2690
mov edx, dword [esi + 0x28]
imul edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x274]
mov ecx, dword [edi + 4]
add edx, dword [ebp - 0x24]
mov al, byte [eax + edx*4]
mov byte [ecx + 0x262c], al
mov edx, dword [esi + 0x28]
imul edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x274]
mov ecx, dword [edi + 4]
add edx, dword [ebp - 0x24]
mov al, byte [eax + edx*4 + 3]
mov byte [ecx + 0x262d], al
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
inc ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x5b2600
inc edx
mov dword [ebp - 0x28], edx
cmp edx, dword [ebp - 0x38]
jl 0x5b25f0
mov eax, dword [edi + 4]
push 0x200
mov al, byte [eax + 0x262c]
mov byte [esi + 0x278], al
mov eax, dword [edi + 4]
mov al, byte [eax + 0x262d]
mov byte [esi + 0x279], al
mov eax, dword [edi + 4]
add eax, 0x3e5
push eax
lea eax, [esi + 0x6c]
push eax
call fcn.00623c10
mov esi, dword [ebp - 0x2c]
jmp 0x5b2981
cmp dword [edi + 0x68], 0
je 0x5b29c4
push 0x290
call fcn.006326f1
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x5b274a
push dword [ebp - 0x38]
xorps xmm0, xmm0
lea ecx, [eax + 0xc]
movq qword [eax], xmm0
mov dword [eax + 8], 0
push esi
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_CLayerTune_.0
push dword [edi + 4]
call fcn.005b7930
mov ecx, dword [ebp - 0x28]
jmp 0x5b274f
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
lea edx, [ecx + 4]
test ecx, ecx
je 0x5b2762
lock inc dword [edx]
mov eax, dword [edi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0x6c], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 0x64], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 0x68], eax
mov eax, dword [edi + 0x64]
mov dword [ecx + 0x70], eax
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x74], eax
mov eax, dword [edi + 4]
cmp byte [eax + 0x3e4], 0
je 0x5b27ad
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ecx + 0x3c], xmm0
mov dword [ecx + 0x48], 0xff
test ecx, ecx
je 0x5b27e6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x5b27e6
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b27e6
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x5b27fb
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x5b27ff
lock inc dword [ecx + 4]
lea eax, [ecx + 0xc]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edx
call fcn.005a9360
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.0042fbe0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], eax
jle 0x5b2889
nop dword [eax]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test esi, esi
jle 0x5b2880
nop dword [eax]
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
add eax, ecx
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call edx
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [ecx + 0x34]
imul edx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x54]
add edx, dword [ebp - 0x24]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, esi
jl 0x5b2840
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x38]
jl 0x5b2830
mov eax, dword [edi + 4]
push 0x2c
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x5b2958
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], eax
jle 0x5b2958
nop
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test esi, esi
jle 0x5b294b
nop dword [eax]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
add esi, eax
mov eax, dword [edi + 0x274]
imul esi, dword [edi + 0x28]
mov edx, dword [edx + 0x34]
imul edx, dword [ebp - 0x2c]
add esi, ecx
add esi, dword [ebp - 0x20]
add edx, ecx
mov ecx, dword [ebp - 0x28]
mov ax, word [eax + esi*2]
mov ecx, dword [ecx + 0x280]
mov esi, dword [ebp - 0x24]
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x280]
mov eax, dword [eax + 0x34]
imul eax, dword [ebp - 0x2c]
add eax, esi
movzx eax, byte [ecx + eax*2 + 1]
push eax
call fcn.006303b0
add esp, 4
test al, al
je 0x5b2936
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x34]
imul edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x280]
mov ecx, dword [edi + 4]
add edx, esi
mov al, byte [eax + edx*2]
mov byte [ecx + 0x2627], al
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
inc ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
cmp ecx, esi
jl 0x5b28c0
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x38]
jl 0x5b28b0
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x28]
mov al, byte [eax + 0x2627]
mov byte [esi + 0x284], al
mov eax, dword [edi + 4]
add eax, 0x3e5
push 0x200
push eax
lea eax, [esi + 0x78]
push eax
call fcn.00623c10
add esp, 0xc
or ecx, 0xffffffff
test esi, esi
je 0x5b2cd1
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x5b2cd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 8], eax
jne 0x5b2cd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or ecx, 0xffffffff
lea edi, [ecx + 2]
jmp 0x5b2cda
cmp dword [edi + 0x60], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
lea esi, [edi + 4]
push eax
push esi
je 0x5b2b27
lea eax, [ebp - 0x48]
push eax
call fcn.005b1050
add esp, 0x10
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x5b29f1
lock inc dword [ecx + 4]
mov eax, dword [esi]
mov esi, dword [ebp - 0x48]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 4]
cmp byte [eax + 0x3e4], 0
je 0x5b2a3e
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x3c], 0xff
test ecx, ecx
je 0x5b2a65
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x5b2a65
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x44]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b2a65
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x5b2a7e
lock inc dword [ecx + 4]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, eax
call fcn.005a9360
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.0042fbe0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], ecx
jle 0x5b2afa
mov eax, dword [ebp - 0x18]
nop dword [eax]
xor esi, esi
test eax, eax
jle 0x5b2aee
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov ecx, edi
push eax
mov eax, dword [ebp - 0x20]
add eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
call edx
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, dword [ecx + 0x28]
imul edx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x48]
add edx, esi
inc esi
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp esi, eax
jl 0x5b2ab6
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jl 0x5b2ab0
mov esi, dword [ebp - 0x48]
mov eax, dword [edi + 4]
add eax, 0x3e5
push 0x200
push eax
lea eax, [esi + 0x6c]
push eax
call fcn.00623c10
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.0042fbe0
or ecx, 0xffffffff
lea edi, [ecx + 2]
jmp 0x5b2cda
lea eax, [ebp - 0x50]
push eax
call fcn.005b1050
add esp, 0x10
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [ebp - 0x50]
call fcn.0042fbe0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.00553840
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x60]
mov dword [eax + 0x60], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x58]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x5c]
mov dword [eax + 0x5c], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x64]
mov dword [eax + 0x64], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x68]
mov dword [eax + 0x68], ecx
mov eax, dword [edi + 4]
cmp byte [eax + 0x3e4], 0
je 0x5b2bce
mov eax, dword [ebp - 0x34]
movups xmm0, xmmword [edi + 0x30]
movups xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x3c], 0xff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x5b2bf8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x5b2bf8
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x44]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b2bf8
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test eax, eax
je 0x5b2c14
lock inc dword [eax + 4]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
call fcn.005a9360
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x5b2c55
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x5b2c55
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x44]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5b2c55
mov eax, dword [ecx]
call dword [eax + 4]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], ecx
jle 0x5b2cac
mov eax, dword [ebp - 0x18]
xor esi, esi
test eax, eax
jle 0x5b2ca0
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov ecx, edi
push eax
mov eax, dword [ebp - 0x20]
add eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
call edx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
mov edx, dword [ecx + 0x28]
imul edx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x48]
add edx, esi
inc esi
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp esi, eax
jl 0x5b2c68
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jl 0x5b2c62
mov esi, dword [ebp - 0x2c]
mov eax, dword [edi + 4]
add eax, 0x3e5
push 0x200
push eax
lea eax, [esi + 0x6c]
push eax
call fcn.00623c10
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.0042fbe0
or ecx, 0xffffffff
mov edi, 1
jmp 0x5b2cda
xor edi, edi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x5b2d02
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x5b2d02
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x5b2d02
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 0x18