Function at 0x411740
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f476c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x548014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x50d430
lea ecx, [esi + 8]
mov dword [esi], vtable.CChattingOption.0
mov dword [esi + 4], 0
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call dword [0x501144]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
push 0x50d430
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call dword [0x501144]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x2c]
push 0x50d430
mov dword [esi + 0x28], 0xffffffff
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call dword [0x501144]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x48]
push 0x50d430
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 6
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 7
call dword [0x501144]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x58]
push 0x50d430
mov dword [esi + 0x54], 0
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 9
call dword [0x501144]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x64]
push 0x50d430
mov dword [esi + 0x60], 0
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xb
call dword [0x501144]
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x6c]
push 0x50d430
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0xd
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0xe
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xf
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0x10
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 0x11
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 0x12
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 0x13
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 0x14
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0x15
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 0x16
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 0x17
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 0x18
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0x19
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0x1a
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0x1b
call dword [0x501144]
mov byte [ebp - 4], 0x1c
lea ecx, [esi + 0xb0]
mov dword [esi + 0xac], 0
push 0x50d430
call dword [0x501144]
push 0x50d430
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0x1d
call dword [0x501144]
mov dword [esi + 0xb8], 0
mov eax, esi
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret