Function at 0x4bda60
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de260
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push dword [ebx + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push dword [ebx + 8]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00428be0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
add esi, 0x30
mov edi, dword [0x6ef310]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x4bdb0d
mov ecx, edi
call dword [0x5f3508]
call edi
test al, al
jne 0x4bdb16
push esi
call fcn.005cb8a1
add esp, 4
mov byte [ebp - 0x18], 1
mov edi, dword [ebp - 0x50]
lea eax, [ebx + 8]
mov dword [ebp - 0x64], eax
add edi, 0x58
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x60], eax
xorps xmm0, xmm0
lea eax, [ebx + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x5c], eax
lea esi, [edi + 0x20]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x58], eax
lea eax, [ebx + 0x18]
push esi
mov dword [ebp - 0x54], eax
call fcn.005cb8a1
add esp, 4
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x44], 1
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004bdd30
push esi
call fcn.005cb8bd
add esp, 4
mov byte [ebp - 4], 5
mov esi, dword [0x6ef310]
test esi, esi
je 0x4bdb95
mov ecx, esi
call dword [0x5f3508]
call esi
test al, al
jne 0x4bdba4
mov eax, dword [ebp - 0x50]
add eax, 0x30
push eax
call fcn.005cb8bd
add esp, 4
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.00428be0
mov ecx, dword [ebp - 0x50]
sub esp, 0x18
mov eax, esp
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebx + 0x18]
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.004bea70
mov eax, dword [0x63ada4]
lea edx, [ebx + 8]
movq xmm0, qword [str.settings_lt]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x20], 0x36333932
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x84], eax
lea eax, [ebx + 0x10]
push eax
mov dword [ebp - 0x1c], 0x46463938
mov ecx, dword [ebp - 0x1c]
movq qword [ebp - 0x90], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x90]
push 0x34
push 0x63ab60
mov dword [ebp - 0x7c], 0x58
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
call fcn.004bf540
mov edi, dword [ebp - 0x24]
add esp, 0xc
or esi, 0xffffffff
test edi, edi
je 0x4bdcc2
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4bdcc2
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4bdcc2
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or esi, 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00428f30
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x4bdd06
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4bdd06
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x4bdd06
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18