Function at 0x413690
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 0x4925f2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x4c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x60]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x6c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x70]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x74]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x78]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x80]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x84]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x88]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0xa4]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0xa8]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x114]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
lea ecx, [esi + 0x134]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x138]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x140]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x144]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x148]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x14c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x150]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x158]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [esi + 4], ecx
push 0x4ae26b
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x29
mov dword [esi], eax
mov dword [esi + 8], edx
mov dword [esi + 0x28], 0xffffffff
mov byte [esi + 0x160], bl
mov byte [esi + 0x162], 1
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea eax, [ebp + 0x14]
push eax
lea ecx, [esi + 0xa4]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SetRect]
push ebx
push ebx
push ebx
push ebx
lea eax, [esi + 0xec]
push eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov byte [esi + 0x18], bl
mov dword [esi + 0xac], ebx
call edi
push ebx
push ebx
push ebx
push ebx
push 0x4e42bc
call edi
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x104]
push ecx
call edi
mov ecx, esi
mov dword [esi + 0x120], ebx
mov byte [esi + 0x124], bl
mov dword [esi + 0x11c], 0xffffffff
mov dword [esi + 0x128], ebx
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x100], bl
mov dword [esi + 0x90], ebx
mov byte [esi + 0x7c], bl
mov byte [esi + 0x5c], bl
mov byte [esi + 0x118], bl
call fcn.00412300
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18