Function at 0x4a5620
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

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 0x4f72e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x51e080]
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 - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
lea edi, [esi + 0x50]
mov dword [esi], vtable.superpower2.0
push 0x14
mov dword [ebp - 0x38], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004d3886
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov ecx, dword [ebx + 8]
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
mov eax, dword [ecx + 0xb4]
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x9c4
call fcn.004d3886
mov dword [ebp - 0x38], eax
add esp, 4
mov dword [eax + 0x9c0], 0x271
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14c]
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 edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push 8
push eax
mov ecx, dword [edi + 0x1c]
call fcn.004b42f0
push 0x44
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [eax], vtable.hash_layer.0
mov dword [eax + 4], edi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
push 0x44
mov dword [edi + 0x20], eax
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [eax], vtable.hash_layer.0
mov dword [eax + 4], edi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
push 0xc8
mov dword [edi + 0x24], eax
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x38], eax
push 0x22
push 0x10
mov ecx, eax
call fcn.00405f60
push 0x2000
mov dword [edi + 0x28], eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x48], 0x7ff
call fcn.004d9a7e
add esp, 4
mov dword [edi + 0x4c], eax
push 0x2e6300
call fcn.004d9a7e
add esp, 4
mov dword [edi + 0x40], eax
lea eax, [edi + 0x58]
push 0x98
push 0
push eax
call fcn.004d6ed0
add esp, 0xc
mov dword [edi + 0x30], 0
lea eax, [edi + 0x11c]
push 0x30
push 0
push eax
call fcn.004d6ed0
add esp, 0xc
push 0x2e6300
push 0
push dword [edi + 0x40]
call fcn.004d6ed0
mov eax, dword [edi + 0x40]
add esp, 0xc
mov dword [edi + 0x3c], eax
xor edx, edx
nop dword [eax + eax]
mov ecx, dword [edi + 0x40]
lea eax, [ecx + 0x98]
add eax, edx
mov dword [ecx + edx + 4], eax
add edx, 0x98
cmp edx, 0x2e6268
jb 0x4a5850
mov eax, dword [edi + 0x48]
mov dword [edi + 0x44], 0
lea eax, [eax*4 + 4]
push eax
push 0
push dword [edi + 0x4c]
call fcn.004d6ed0
mov esi, dword [edi + 0x50]
lea eax, [edi + 0x50]
add esp, 0xc
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.0041dde0
mov dword [esi + 4], esi
lea edx, [edi + 0x118]
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 0x54], 0
mov eax, dword [edi + 0x14c]
mov dword [ebp - 0x3c], 0x28
mov eax, dword [eax + 0x4ec]
mov eax, dword [eax + 0x24]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0xf0], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x100], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x110], xmm0
test edx, edx
je 0x4a595b
xor ecx, ecx
cmp dword [ecx*8 + 0x50c190], 0x2c6
je 0x4a5905
inc ecx
cmp ecx, 0x43
jb 0x4a58f0
jmp 0x4a595b
mov ecx, dword [ecx*8 + 0x50c194]
call fcn.004c3150
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4a5955
mov dword [eax + 0x30], 0x2c6
mov esi, dword [eax + 0x4c]
push 0x10
shl esi, 5
call fcn.004d9a7e
mov ecx, dword [ebp - 0x38]
lea edx, [edi + 0x118]
mov dword [edx], eax
add esp, 4
mov dword [eax], 0x2c6
mov eax, dword [edx]
mov dword [eax + 4], esi
mov eax, dword [edx]
mov dword [eax + 8], ecx
mov eax, dword [edx]
mov dword [eax + 0xc], 0
jmp 0x4a595b
lea edx, [edi + 0x118]
push 0x28
lea eax, [edi + 0xf0]
push eax
push 0x2c6
push dword [edx]
call fcn.004bba30
mov eax, dword [edi + 0x14c]
mov esi, dword [eax + 0x4c8]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0047ac20
test eax, eax
je 0x4a5996
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0047acd0
mov eax, dword [edi + 0x150]
xor edx, edx
mov ecx, 0x18
push 0x3c
mov eax, dword [eax + 0xcc]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x308]
add eax, 0xb
div ecx
mov ecx, dword [ebp - 0x3c]
mov eax, 0xc22e4507
imul esi, edx, 0xe10
sub ecx, esi
mul ecx
shr edx, 0x10
imul eax, edx, 0x15180
add eax, esi
mov dword [edi + 0x38], eax
call fcn.004d3886
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov dword [esi], vtable.supercandidate.0
mov dword [esi + 0xc], edi
mov eax, dword [edi + 0x14c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x150]
push 0x230
mov dword [esi + 8], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 4
call fcn.004d9a7e
add esp, 4
mov dword [esi + 0x28], eax
push 0x230
push 0
push eax
call fcn.004d6ed0
mov ecx, dword [esi + 0x28]
add esp, 0xc
mov dword [esi + 0x24], ecx
lea eax, [ecx + 0x8c]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x28]
lea eax, [ecx + 0x118]
mov dword [ecx + 0x90], eax
lea eax, [edi + 4]
mov edx, dword [esi + 0x28]
push eax
lea ecx, [edx + 0x1a4]
mov dword [edx + 0x11c], ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [edi + 0x154], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
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.004d3878
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4