Function at 0x566150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671e06
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x73bb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
push str.input
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
push str.client
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], eax
push str.config
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi + 0x10], eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [esi + 4]
mov dword [esi + 0x14], eax
push str.console
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 0x18], eax
push str.engine
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 0x1c], eax
push str.graphics
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 0x20], eax
push str.textrender
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 0x24], eax
push str.storage
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 0x2c], eax
push str.sound
mov eax, dword [ecx]
call dword [eax + 8]
push dword [esi + 4]
lea ecx, [esi + 0x40]
mov dword [esi + 0x28], eax
call fcn.00545f10
sub esp, 0x28
lea ecx, [esi + 0x40]
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_723b60cdfa3d93e4131987b4f2ca0397___void___.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.00549380
push dword [esi + 0x24]
lea ecx, [esi + 0x30]
push dword [esi + 0x20]
call fcn.0053ae00
mov eax, dword [esi + 0x1920]
lea ecx, [esi + 0x1920]
push esi
call dword [eax + 4]
mov eax, dword [esi + 0x1960]
lea ecx, [esi + 0x1960]
push esi
call dword [eax + 4]
mov dword [esi + 0x1c68], esi
lea ecx, [esi + 0x124]
mov eax, dword [esi + 0x11c]
cmp eax, dword [esi + 0x120]
je 0x56628b
mov dword [eax], ecx
add dword [esi + 0x11c], 4
jmp 0x566298
push ecx
push eax
lea ecx, [esi + 0x118]
call fcn.0054fc60
mov eax, dword [esi + 0x11c]
lea ecx, [esi + 0x2080]
cmp eax, dword [esi + 0x120]
je 0x5662b7
mov dword [eax], ecx
add dword [esi + 0x11c], 4
jmp 0x5662c4
push ecx
push eax
lea ecx, [esi + 0x118]
call fcn.0054fc60
mov eax, dword [esi + 0x11c]
lea ecx, [esi + 0x1f0]
cmp eax, dword [esi + 0x120]
je 0x5662e3
mov dword [eax], ecx
add dword [esi + 0x11c], 4
jmp 0x5662f0
push ecx
push eax
lea ecx, [esi + 0x118]
call fcn.0054fc60
mov ebx, dword [esi + 0x11c]
mov edi, dword [esi + 0x118]
cmp edi, ebx
je 0x56630f
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, ebx
jne 0x566300
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x10]
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.editor_checker.png
push edx
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x10]
push 0
push 0
mov eax, dword [eax]
push 0xffffffffffffffff
mov dword [esi + 0x1c38], eax
mov eax, dword [ecx]
push str.editor_background.png
push edx
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x10]
push 0
push 0
mov eax, dword [eax]
push 0xffffffffffffffff
mov dword [esi + 0x1c3c], eax
mov eax, dword [ecx]
push str.editor_cursor.png
push edx
call dword [eax + 0xa0]
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [eax]
lea edx, [ebp - 0x10]
mov dword [esi + 0x1c40], eax
mov ecx, dword [esi + 0x20]
push str.editor_cursor_resize.png
push edx
mov eax, dword [ecx]
call dword [eax + 0xa0]
push 0x280
mov eax, dword [eax]
mov dword [esi + 0x1c48], eax
mov dword [esi + 0x1c44], eax
call fcn.006326f1
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x5663eb
push 0x10
xorps xmm0, xmm0
lea ecx, [edi + 0xc]
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x10
push esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_CLayerTiles_.0
call fcn.005b1340
jmp 0x5663ed
xor edi, edi
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x1c58], eax
or ebx, 0xffffffff
mov eax, dword [esi + 0x1c5c]
mov dword [esi + 0x1c5c], edi
mov edi, eax
test edi, edi
je 0x566431
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x566431
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x566431
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 0x1c58]
call fcn.005b3930
mov eax, dword [esi + 0x1c58]
push 0x3c
mov byte [eax + 0x1c], 1
call fcn.006326f1
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x56648d
xorps xmm0, xmm0
lea ecx, [edi + 0xc]
movq qword [edi], xmm0
mov dword [edi + 8], 0
push esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_CLayerQuads_.0
call fcn.005a9e40
jmp 0x56648f
xor edi, edi
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x1c60], eax
mov eax, dword [esi + 0x1c64]
mov dword [esi + 0x1c64], edi
mov edi, eax
test edi, edi
je 0x5664d0
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x5664d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x5664d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 0x1c60]
push 0x40
push 0x40
push 0
push 0
call fcn.005aacc0
mov eax, dword [esi + 0x1c60]
mov byte [eax + 0x1c], 1
lea eax, [ebp - 0x18]
push eax
call fcn.005535e0
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov edi, dword [esi + 0x1c54]
mov dword [esi + 0x1c50], ecx
mov dword [esi + 0x1c54], edx
test edi, edi
je 0x566540
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x566540
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x566540
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x566565
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x566565
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x566565
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x1c50]
lea ecx, [esi + 0x1c68]
push 0
mov dword [eax], ecx
mov ecx, esi
call fcn.00578390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret