Function at 0x4e0300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5131c4
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.0041be20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov dword [eax], vtable.CUGGridInfo.0
mov ecx, dword [ebp - 0x48]
add ecx, 0x88
call fcn.004c5b90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 8], 0xffffffff
mov eax, dword [ebp - 0x48]
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1c], 0x4b
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x24], 0xffffffff
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x38], 0xffffffff
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x3c], 0xffffffff
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x50], 0x14
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x5c], 0xffffffff
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x64], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x68], 1
push 4
call sub.mfc100.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x6c]
mov dword [eax], 0x14
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x70], 1
push 4
call sub.mfc100.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x74], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x74]
mov dword [edx], 0x19
push 0x88
call fcn.004319d0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x4e04c8
mov ecx, dword [ebp - 0x1c]
call fcn.004c5b90
mov dword [ebp - 0x4c], eax
jmp 0x4e04cf
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x78], edx
push 0x88
call fcn.004319d0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], 0
je 0x4e0506
mov ecx, dword [ebp - 0x24]
call fcn.004c5b90
mov dword [ebp - 0x50], eax
jmp 0x4e050d
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x7c], edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x7c]
call fcn.004c6e90
push 0x2000
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x7c]
call fcn.004c7010
push 0x24
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 0x7c]
call fcn.004c6fb0
push 0x80
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x7c]
call fcn.004dc1c0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x110], 0x14
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x114], 0x28
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x118], eax
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x11c], eax
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x120], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x124], 1
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x128], 1
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x130], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1a4], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1a8], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1ac], 1
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1b8], 1
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1bc], 1
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1c0], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1c4], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1c8], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1cc], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1d0], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1d4], 1
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1d8], 1
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1dc], 1
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1e4], 1
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1e0], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1e8], 1
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1ec], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1f0], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1f4], 1
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1f8], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1fc], 0xc8
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x200], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x204], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x208], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x20c], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x210], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x214], 0
mov ecx, dword [ebp - 0x48]
fldz
fstp dword [ecx + 0x218]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x21c], 0
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x224], 0
push 0x24
call sub.mfc100.dll_Ordinal_1294
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0
je 0x4e0779
mov ecx, dword [ebp - 0x2c]
call fcn.004e6710
mov dword [ebp - 0x54], eax
jmp 0x4e0780
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x230], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x230]
mov dword [ecx + 0x22c], eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x228], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x234], 0
push 0x64
call sub.mfc100.dll_Ordinal_1294
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 0
je 0x4e07e6
mov ecx, dword [ebp - 0x34]
call fcn.004e8740
mov dword [ebp - 0x58], eax
jmp 0x4e07ed
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x23c], edx
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x240], eax
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x244], eax
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x248], eax
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x254], 4
push 0x10
call fcn.004319d0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x3c], 0
je 0x4e0873
mov ecx, dword [ebp - 0x3c]
call fcn.004eb520
mov dword [ebp - 0x5c], eax
jmp 0x4e087a
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x258], edx
push 8
call fcn.004319d0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x44], 0
je 0x4e08ba
push 0xdcdcdc
push 1
push 0
mov ecx, dword [ebp - 0x44]
call sub.mfc100.dll_Ordinal_796
mov dword [ebp - 0x60], eax
jmp 0x4e08c1
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x25c], edx
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x260], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x264], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x268], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret