Function at 0x4011d0
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
mov eax, dword fs:[0x18]
sub esp, 0x6c
mov dword [ebp - 0x4c], ecx
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x40145b
mov dword [eax + 8], 1
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
test ebx, ebx
je 0x401288
lea eax, [ebx + ebx*2]
lea ebx, [esi + eax*4]
mov eax, esi
mov esi, edi
mov edi, eax
nop
lea esi, [esi]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], sym._end_session_message_callback_16
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [0x417590]
sub esp, 0x18
test eax, eax
jne 0x40127f
sub dword [esi], 1
add edi, 0xc
cmp edi, ebx
jne 0x401248
mov edi, esi
mov eax, dword [sym.imp.kernelbase.dll_GetTickCount]
xor esi, esi
mov dword [ebp - 0x54], eax
call eax
mov dword [ebp - 0x58], edi
add eax, 0x1388
mov dword [ebp - 0x50], eax
nop
mov eax, dword [ebp - 0x54]
call eax
mov ecx, dword [ebp - 0x50]
mov dword [esp], 1
mov dword [esp + 0x10], 0x1cff
sub ecx, eax
lea eax, [ebp - 0x4c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
call dword [0x417580]
sub esp, 0x14
test eax, eax
je 0x4013c8
mov edi, dword [0x417588]
lea ebx, [ebp - 0x34]
cmp eax, 1
je 0x401340
cmp eax, 0x102
jne 0x401418
test esi, esi
jne 0x401418
mov dword [esp], 0
lea ebx, [ebp - 0x40]
call dword [sym.imp.kernelbase.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], sym._endtask_dlg_proc_16
mov dword [esp + 8], 0
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [0x417550]
sub esp, 0x14
mov esi, eax
jmp 0x4012a0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call edi
sub esp, 0x14
test eax, eax
je 0x4013a0
test esi, esi
je 0x401384
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [0x417574]
sub esp, 8
test eax, eax
jne 0x401340
mov dword [esp], ebx
call dword [0x4175a0]
sub esp, 4
mov dword [esp], ebx
call dword [0x417558]
sub esp, 4
jmp 0x401340
mov edx, eax
mov eax, dword [ebp - 0x58]
mov edi, dword [eax]
test edi, edi
je 0x40141f
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4012a0
mov edi, dword [ebp - 0x58]
mov dword [edi + 4], 1
jmp 0x4013f4
mov edi, dword [ebp - 0x58]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
mov edx, 1
sub esp, 0xc
test esi, esi
je 0x40140a
mov dword [ebp - 0x50], edx
mov dword [esp], esi
call dword [0x417554]
mov edx, dword [ebp - 0x50]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 1
jmp 0x4013f4
mov ebx, dword [ebp - 0x38]
mov edi, eax
test ebx, ebx
jne 0x4013cb
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4013cb
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
mov edx, dword [ebp - 0x50]
sub esp, 0xc
jmp 0x4013f4
mov edx, 1
jmp 0x40140a