Function at 0x4f5c1e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov esi, esp
mov dword [esi + 0x148], ebp
lea eax, [esi + 0x150]
mov dword [esi + 4], ecx
mov dword [esi + 0x44], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504bd0
mov ecx, dword fs:[0]
mov dword [eax], ecx
xor ecx, ecx
mov dword fs:[0], eax
and dword [eax + 8], 0
inc ecx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ecx
and dword [esi + 0xb8], 0
mov byte [esi + 0xbc], 0
push 0x20
pop ecx
push 4
pop edx
call fcn.004ea8ea
movsd xmm0, qword [esi + 0xb8]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0xb0]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0xa8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lock inc dword [eax]
jle 0x4f5f2f
xor ecx, ecx
lea edx, [esi + 0xa8]
mov dword [esi + 0x50], eax
mov dword [esi + 0x158], 2
inc ecx
mov dword [edx - 8], ecx
mov dword [edx - 4], ecx
mov dword [edx], eax
push 0xc
pop ecx
push 4
pop edx
mov dword [esi + 8], eax
call fcn.004ea8ea
lea ecx, [esi + 0xa0]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 4]
movsd xmm0, qword [ecx]
mov ecx, dword [esi + 8]
movsd qword [eax], xmm0
mov dword [esi + 0x48], ecx
xor ecx, ecx
mov ebx, dword [edx + 0x20]
mov edi, dword [edx + 0x1c]
cmp ebx, 0x3b9aca00
cmove edi, ecx
cmove ebx, ecx
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ebx
push 0xa
pop ecx
cmovne ecx, dword [edx + 0x18]
and dword [esi + 0x58], 0
and dword [esi + 0x5c], 0
and dword [esi + 0x50], 0
and dword [esi + 0x84], 0
mov dword [esi + 0x54], 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x158], 5
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0xa0]
call fcn.004eaf33
lea ecx, [esi + 0x90]
lea edx, [esi + 0xa0]
call fcn.004eafa1
mov eax, dword [esi + 0x9c]
movsd xmm2, qword [esi + 0x84]
mov ecx, dword [esi + 0x8c]
movsd xmm0, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
movsd xmm3, qword [0x57fcf8]
mov ebx, dword [esi + 4]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x90]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x94]
movsd qword [esi + 0x78], xmm2
movsd xmm2, qword [0x57fcf0]
mov dword [esi + 0x80], ecx
movsd qword [esi + 0xa0], xmm0
movsd qword [esi + 0x6f], xmm3
movsd qword [esi + 0x5f], xmm1
movsd qword [esi + 0x57], xmm0
movsd qword [esi + 0x67], xmm2
mov dword [esi + 0x24], eax
mov edi, dword [ebx + 0x28]
lock inc dword [edi]
jle 0x4f5f2f
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
call fcn.0048afac
mov dword [esi + 0x1c], edx
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi + 0x20], eax
call fcn.0048afac
mov dword [esi + 4], eax
lea eax, [esi + 0x50]
mov dword [esi + 0x14], edx
lea ebx, [esi + 0xc9]
push 0x27
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x80]
movsd xmm0, qword [esi + 0x78]
lea edx, [esi + 0xa8]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x158], 4
mov dword [ebx + 0x47], eax
xor eax, eax
movsd qword [ebx + 0x3f], xmm0
inc eax
mov dword [ebx - 0x29], eax
mov dword [ebx - 0x25], eax
mov eax, dword [esi + 0x10]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x38]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x34]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], eax
xor eax, eax
mov byte [edx + 0x20], al
mov dword [edx + 0x4c], ecx
mov ecx, dword [esi + 0x28]
mov dword [edx + 0x48], ecx
mov ecx, dword [esi + 0x2c]
mov dword [edx + 0x54], ecx
mov ecx, dword [esi + 0x30]
mov dword [edx + 0x50], ecx
mov ecx, dword [esi + 0x40]
and dword [edx + 0x58], 0
mov dword [edx + 0x5c], ecx
and dword [edx + 0x6c], 0
mov byte [edx + 0x70], al
mov eax, dword [esi + 0x20]
mov dword [edx + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [edx + 0x7c], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x5f], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x63], eax
mov eax, dword [esi + 0x44]
and dword [ebx + 0x67], 0
mov dword [ebx + 0x6b], eax
and dword [ebx + 0x6f], 0
and dword [ebx + 0x73], 0
and dword [ebx + 0x77], 0
push 8
pop edx
mov ecx, 0xa8
call fcn.004ea8ea
mov edi, eax
push 0xa8
lea eax, [esi + 0xa0]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x150]
mov edx, dword [esi + 8]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2