Function at 0x401780
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a3e4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.00495cca
lea ecx, [edi + 8]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esi + 8]
call fcn.00495cca
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x18], 1
call fcn.00495cca
lea eax, [edi + 0x10]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x18], 2
call fcn.00495cca
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 3
push ecx
lea ecx, [esi + 0x14]
call fcn.00495cca
lea edx, [edi + 0x18]
lea ecx, [esi + 0x18]
push edx
mov byte [esp + 0x18], 4
call fcn.00495cca
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x18], 5
call fcn.00495cca
lea ecx, [edi + 0x20]
mov byte [esp + 0x14], 6
push ecx
lea ecx, [esi + 0x20]
call fcn.00495cca
lea edx, [edi + 0x24]
lea ecx, [esi + 0x24]
push edx
mov byte [esp + 0x18], 7
call fcn.00495cca
lea eax, [edi + 0x28]
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0x18], 8
call fcn.00495cca
lea ecx, [edi + 0x2c]
mov byte [esp + 0x14], 9
push ecx
lea ecx, [esi + 0x2c]
call fcn.00495cca
lea edx, [edi + 0x30]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x18], 0xa
call fcn.00495cca
lea eax, [edi + 0x34]
lea ecx, [esi + 0x34]
push eax
mov byte [esp + 0x18], 0xb
call fcn.00495cca
lea ecx, [edi + 0x38]
mov byte [esp + 0x14], 0xc
push ecx
lea ecx, [esi + 0x38]
call fcn.00495cca
lea edx, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push edx
mov byte [esp + 0x18], 0xd
call fcn.00495cca
lea eax, [edi + 0x40]
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x18], 0xe
call fcn.00495cca
lea ecx, [edi + 0x44]
mov byte [esp + 0x14], 0xf
push ecx
lea ecx, [esi + 0x44]
call fcn.00495cca
lea edx, [edi + 0x48]
lea ecx, [esi + 0x48]
push edx
mov byte [esp + 0x18], 0x10
call fcn.00495cca
lea eax, [edi + 0x4c]
lea ecx, [esi + 0x4c]
push eax
mov byte [esp + 0x18], 0x11
call fcn.00495cca
lea ecx, [edi + 0x50]
mov byte [esp + 0x14], 0x12
push ecx
lea ecx, [esi + 0x50]
call fcn.00495cca
lea edx, [edi + 0x54]
lea ecx, [esi + 0x54]
push edx
mov byte [esp + 0x18], 0x13
call fcn.00495cca
lea eax, [edi + 0x58]
lea ecx, [esi + 0x58]
push eax
mov byte [esp + 0x18], 0x14
call fcn.00495cca
lea ecx, [edi + 0x5c]
mov byte [esp + 0x14], 0x15
push ecx
lea ecx, [esi + 0x5c]
call fcn.00495cca
lea edx, [edi + 0x60]
lea ecx, [esi + 0x60]
push edx
mov byte [esp + 0x18], 0x16
call fcn.00495cca
lea eax, [edi + 0x64]
lea ecx, [esi + 0x64]
push eax
mov byte [esp + 0x18], 0x17
call fcn.00495cca
lea ecx, [edi + 0x68]
mov byte [esp + 0x14], 0x18
push ecx
lea ecx, [esi + 0x68]
call fcn.00495cca
mov byte [esp + 0x14], 0x19
lea edx, [edi + 0x6c]
push edx
lea ecx, [esi + 0x6c]
call fcn.00495cca
lea eax, [edi + 0x70]
lea ecx, [esi + 0x70]
push eax
mov byte [esp + 0x18], 0x1a
call fcn.00495cca
lea ecx, [edi + 0x74]
mov byte [esp + 0x14], 0x1b
push ecx
lea ecx, [esi + 0x74]
call fcn.00495cca
lea edx, [edi + 0x78]
lea ecx, [esi + 0x78]
push edx
mov byte [esp + 0x18], 0x1c
call fcn.00495cca
lea eax, [edi + 0x7c]
lea ecx, [esi + 0x7c]
push eax
mov byte [esp + 0x18], 0x1d
call fcn.00495cca
lea ecx, [edi + 0x80]
mov byte [esp + 0x14], 0x1e
push ecx
lea ecx, [esi + 0x80]
call fcn.00495cca
lea edx, [edi + 0x84]
lea ecx, [esi + 0x84]
push edx
mov byte [esp + 0x18], 0x1f
call fcn.00495cca
lea eax, [edi + 0x88]
lea ecx, [esi + 0x88]
push eax
mov byte [esp + 0x18], 0x20
call fcn.00495cca
add edi, 0x8c
lea ecx, [esi + 0x8c]
push edi
mov byte [esp + 0x18], 0x21
call fcn.00495cca
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x4b169c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4