Function at 0x4a7ff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7324
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
push eax
mov dword [ebx], vtable.unity.0
mov dword [ebx + 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], ecx
cmp dword [eax + 0x24c], 0
jbe 0x4a80ac
push 4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 2
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x9c4
call fcn.004d3886
mov dword [ebp - 0x38], eax
add esp, 4
mov dword [eax + 0x9c0], 0x271
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 0x488]
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x20
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004b0e10
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 0x54]
lea eax, [ebp - 0x34]
push 8
push eax
call fcn.004b42f0
push 0x50
call fcn.004d3886
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.unity_maid.0
mov dword [edi + 0x10], ebx
mov eax, dword [ebx + 0xc]
push 0x30
mov dword [edi + 0xc], eax
call fcn.004d3886
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
push 0x40000
mov dword [esi], vtable.unity_file_maid.0
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x40000
mov dword [esi + 0x14], 0
call fcn.004d9a7e
mov dword [esi + 0xc], eax
add esp, 4
mov dword [esi + 0x18], 0
lea eax, [edi + 0x28]
mov dword [edi + 0x14], esi
mov dword [edi + 4], 0
push eax
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x580
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
call fcn.004d9a7e
add esp, 4
mov dword [edi + 0x40], eax
push 0x580
push 0
push eax
call fcn.004d6ed0
mov eax, dword [edi + 0x40]
add esp, 0xc
mov dword [edi + 0x44], eax
mov esi, 0x160
mov eax, 0x58
mov ecx, dword [edi + 0x40]
add ecx, eax
mov dword [ecx - 4], ecx
mov edx, dword [edi + 0x40]
lea ecx, [edx + 0x58]
add ecx, eax
mov dword [edx + eax + 0x54], ecx
mov edx, dword [edi + 0x40]
lea ecx, [edx - 0x58]
add ecx, esi
add esi, 0x1b8
mov dword [eax + edx + 0xac], ecx
mov edx, dword [edi + 0x40]
lea ecx, [edx + 0x108]
add ecx, eax
mov dword [eax + edx + 0x104], ecx
mov edx, dword [edi + 0x40]
lea ecx, [edx + 0x160]
add ecx, eax
mov dword [eax + edx + 0x15c], ecx
add eax, 0x1b8
cmp eax, 0x580
jb 0x4a81d5
xor esi, esi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [edi + 0x40]
mov dword [esi + ecx + 0x4c], eax
add esi, 0x58
cmp esi, 0x580
jb 0x4a8230
mov dword [ebx + 8], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 4