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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x4aa0
call fcn.007082a0
mov esi, esp
mov dword [esi + 0x4a88], ebp
mov dword [esi + 0x4a8c], esp
mov dword [esi + 0x4a98], 0xffffffff
mov dword [esi + 0x4a94], 0x7051d0
mov ebx, ecx
lea eax, [esi + 0x4a90]
mov ecx, dword fs:[0]
mov dword [esi + 0x4a90], ecx
mov dword fs:[0], eax
lea eax, [esi + 0xa88]
push 0x4000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x288]
push 0x800
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pxor xmm0, xmm0
lea eax, [esi + 0xc8]
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x2a], 0
mov dword [esi + 0x26], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x90], xmm0
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x50], xmm0
push 0x1c0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x919880]
test eax, eax
jne 0x5b4a4b
mov dword [esi + 4], ebx
mov dword [esi + 0x4a98], 0
call fcn.007223e0
mov ebx, dword [esi + 4]
and eax, 0x8000
xor ecx, ecx
mov edi, 0x6a0000
or eax, ecx
jne 0x5b4a8f
mov eax, dword [0x919880]
test eax, eax
jne 0x5b4a79
mov dword [esi + 4], ebx
mov dword [esi + 0x4a98], 0
call fcn.007223e0
mov ebx, dword [esi + 4]
and eax, 0x200
xor ecx, ecx
or eax, ecx
mov eax, 0x69fd30
mov edi, 0x69ffe0
cmove edi, eax
mov dword [ebx], 2
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea eax, [ebx + 0xc]
push 0x4000
lea ecx, [esi + 0xa88]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebx + 0x400c]
push 0x800
lea ecx, [esi + 0x288]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x98]
mov eax, dword [esi + 0xa8]
movsd xmm0, qword [esi + 0xa0]
movsd xmm3, qword [esi + 0x70]
movsd qword [ebx + 0x482c], xmm1
movsd xmm1, qword [esi + 0x80]
movsd qword [ebx + 0x4834], xmm2
movsd xmm2, qword [esi + 0x88]
mov dword [ebx + 0x4844], eax
movsd qword [ebx + 0x480c], xmm3
movsd qword [ebx + 0x483c], xmm0
mov eax, dword [esi + 0x68]
movsd xmm3, qword [esi + 0x10]
movsd qword [ebx + 0x481c], xmm1
movsd xmm1, qword [esi + 0x78]
movsd qword [ebx + 0x4824], xmm2
movsd xmm2, qword [esi + 0x30]
movsd qword [ebx + 0x4814], xmm1
movsd xmm1, qword [esi + 0x38]
movsd qword [ebx + 0x4848], xmm2
movsd xmm2, qword [esi + 0x48]
mov dword [ebx + 0x4880], eax
movzx eax, byte [esi + 0xc]
movsd qword [ebx + 0x4850], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [ebx + 0x4860], xmm2
movsd xmm2, qword [esi + 0x58]
movsd qword [ebx + 0x4858], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [ebx + 0x4870], xmm2
movsd xmm2, qword [esi + 0x20]
movsd qword [ebx + 0x4868], xmm1
movsd xmm1, qword [esi + 0x60]
movsd qword [ebx + 0x4878], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [ebx + 0x4894], xmm2
movsd qword [ebx + 0x4884], xmm3
movsd xmm2, qword [esi + 0xaf]
movsd qword [ebx + 0x488c], xmm1
movsd xmm1, qword [esi + 0x26]
movsd qword [ebx + 0x489a], xmm1
mov byte [ebx + 0x48a6], al
mov eax, dword [esi + 8]
movsd xmm1, qword [esi + 0xb7]
mov dword [ebx + 0x48a2], eax
movsd qword [ebx + 0x48af], xmm1
movsd xmm1, qword [esi + 0xbf]
movzx eax, byte [esi + 0xc7]
movsd qword [ebx + 0x48a7], xmm2
mov byte [ebx + 0x48bf], al
movsd qword [ebx + 0x48b7], xmm1
lea eax, [ebx + 0x48d0]
push 0x1c0
lea ecx, [esi + 0xc8]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x4a90]
xorps xmm0, xmm0
mov dword [ebx + 0x48c4], 0
mov dword [ebx + 0x48c0], 0
mov dword [ebx + 0x4aa8], 0
movaps xmmword [ebx + 0x4a90], xmm0
mov dword [ebx + 0x4ab4], 0
mov word [ebx + 0x4ab8], 0
mov dword [ebx + 0x48c8], edi
mov dword [ebx + 0x48cc], 1
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret