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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
sub esp, 0x6c
mov dword [ebp - 0x4c], ecx
mov eax, dword fs:[0x18]
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
mov dword [ebp - 0x54], eax
test eax, eax
je 0x40135f
mov ecx, eax
mov edx, 1
xor eax, eax
mov dword [ecx], esi
xor ebx, ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
test esi, esi
je 0x401199
mov dword [ebp - 0x50], esi
mov esi, edi
mov edi, ebx
mov ebx, dword [ebp - 0x54]
lea esi, [esi]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x401520
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00403b08
sub esp, 0x18
test eax, eax
jne 0x40118e
sub dword [ebx], 1
add edi, 1
add esi, 0xc
cmp dword [ebp - 0x50], edi
jne 0x401158
mov edi, dword [sym.imp.kernelbase.dll_GetTickCount]
xor ebx, ebx
call edi
add eax, 0x1388
mov dword [ebp - 0x50], eax
lea esi, [esi]
nop
call edi
mov dword [esp + 0x10], 0x4ff
mov edx, eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], 0
mov dword [esp], 1
sub eax, edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.00403b48
sub esp, 0x14
test eax, eax
je 0x4012d8
lea esi, [ebp - 0x34]
cmp eax, 1
je 0x401250
cmp eax, 0x102
jne 0x401358
test ebx, ebx
jne 0x401358
mov dword [esp], 0
call dword [sym.imp.kernelbase.dll_GetModuleHandleW]
lea ecx, [ebp - 0x40]
sub esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x401650
mov dword [esp + 8], 0
mov dword [esp + 4], 0x64
mov dword [esp], eax
call fcn.00403c08
sub esp, 0x14
mov ebx, eax
jmp 0x4011b0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00403b28
sub esp, 0x14
test eax, eax
je 0x4012b0
test ebx, ebx
je 0x401296
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00403b78
sub esp, 8
test eax, eax
jne 0x401250
mov dword [esp], esi
call fcn.00403ac8
sub esp, 4
mov dword [esp], esi
call fcn.00403be8
sub esp, 4
jmp 0x401250
mov edx, eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
test ecx, ecx
je 0x401323
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4011b0
mov eax, dword [ebp - 0x54]
mov dword [eax + 4], 1
jmp 0x401304
mov ecx, dword [ebp - 0x54]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
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 ebx, ebx
je 0x401319
mov dword [ebp - 0x50], edx
mov dword [esp], ebx
call fcn.00403bf8
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 dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x40136e
mov ecx, dword [ebp - 0x54]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0xc
lea esi, [esi]
mov edx, 1
jmp 0x401304
lea esp, [ebp - 0xc]
mov edx, 1
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov ecx, eax
mov esi, dword [eax + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
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, dword [ebp - 0x50]
sub esp, 0xc
test esi, esi
je 0x401304
jmp 0x401358