Function at 0x4c81b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
lea edi, [ebp - 0x40]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea esi, [ebp - 0x40]
xor eax, eax
push ebp
push 0x4c8523
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x4c853c
call fcn.004049c8
lea eax, [ebp - 0xc]
mov edx, 0x4c85a8
call fcn.00404bf0
lea eax, [ebp - 0xc]
mov edx, 0x4c8620
call fcn.00404bf0
lea eax, [ebp - 0xc]
mov edx, 0x4c869c
call fcn.00404bf0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x4fd878]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4bc13c]
call fcn.004c58d8
mov dword [ebp - 8], eax
mov edx, dword [0x4fd1f8]
mov eax, dword [ebp - 8]
call fcn.004c5118
mov eax, dword [ebp - 8]
call fcn.004af294
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x248]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
xor edx, edx
call fcn.004acc6c
mov edx, ebx
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 1
call fcn.004acc6c
mov edx, dword [esi]
call fcn.004ae570
call fcn.0040b0e8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x44]
mov eax, 0x4c872c
call fcn.0040bd40
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 2
call fcn.004acc6c
pop edx
call fcn.004ae6a0
call fcn.0040b0e8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x48]
mov eax, 0x4c874c
call fcn.0040bd40
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 3
call fcn.004acc6c
pop edx
call fcn.004ae6a0
call fcn.0040b0e8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x4c]
mov eax, 0x4c8768
call fcn.0040bd40
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 4
call fcn.004acc6c
pop edx
call fcn.004ae6a0
call fcn.0040b0e8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0x4c8780
call fcn.0040bd40
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 5
call fcn.004acc6c
pop edx
call fcn.004ae6a0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 6
call fcn.004acc6c
mov edx, dword [esi + 4]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 7
call fcn.004acc6c
mov edx, dword [esi + 8]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 8
call fcn.004acc6c
mov edx, dword [esi + 0xc]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 9
call fcn.004acc6c
mov edx, dword [esi + 0x10]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0xa
call fcn.004acc6c
mov edx, dword [esi + 0x14]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0xb
call fcn.004acc6c
mov edx, dword [esi + 0x18]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0xc
call fcn.004acc6c
mov edx, dword [esi + 0x1c]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0xd
call fcn.004acc6c
mov edx, dword [esi + 0x20]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0xe
call fcn.004acc6c
mov edx, dword [esi + 0x24]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0xf
call fcn.004acc6c
mov edx, dword [esi + 0x28]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0x10
call fcn.004acc6c
mov edx, dword [esi + 0x2c]
call fcn.004ae570
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
mov edx, 0x11
call fcn.004acc6c
mov edx, dword [esi + 0x30]
call fcn.004ae570
xor eax, eax
push ebp
push 0x4c84f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004c6178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8500
mov eax, dword [ebp - 8]
call fcn.004af294
mov eax, dword [ebp - 8]
call fcn.00403bc4
ret