Function at 0x4e8980
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eddaa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x522464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.00401b87
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00401b87
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 8
call fcn.00401b87
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0xc
call fcn.00401b87
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.00401b87
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
call fcn.00401b87
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00401b87
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.00401b87
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
call fcn.00401b87
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
call fcn.00401b87
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.00401b87
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c
call fcn.00401b87
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
add ecx, 0x30
call fcn.00401b87
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0x34
call fcn.00401b87
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
call fcn.00401b87
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x24]
add ecx, 0x3c
call fcn.00401b87
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x24]
add ecx, 0x40
call fcn.00401b87
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x24]
add ecx, 0x44
call fcn.00401b87
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x24]
add ecx, 0x58
call fcn.00401b87
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x24]
add eax, 0x60
call fcn.0040554c
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x24]
add ecx, 0x84
call fcn.00401b87
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x24]
add ecx, 0xa8
call fcn.00401b87
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x24]
add ecx, 0xac
call fcn.00401b87
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x24]
add ecx, 0xb0
call fcn.00401b87
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x24]
add ecx, 0xc0
call fcn.00401b87
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x24]
add ecx, 0xc4
call fcn.00401b87
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x24]
add ecx, 0xc8
call fcn.00401b87
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x70], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x74], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x78], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x7c], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x80], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x88], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x8c], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x90], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x94], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xb4], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xb8], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xbc], 0
push 0x10
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
push ecx
call fcn.00497490
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret