Function at 0x418040
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
and edx, 0x180b
pop edx
push ebx
push esi
add esp, 4
or ebx, 0x2d18
pop ebx
push ecx
push esi
add esp, 4
and ecx, 0x90d9
pop ecx
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4cc], ecx
jmp 0x418037
mov edx, dword [ebp - 0x4cc]
add edx, 1
mov dword [ebp - 0x4cc], edx
push ebx
add ebx, 0x177c5
call 0x41804e
add byte [ebx + 0x4f], al
inc eax
dec esp
cmp cl, byte [edi + 0x3a]
xor al, byte [ecx + edi - 0x7d]
les eax, [eax + ebp*8]
or dword [eax], eax
add byte [eax], al
add byte [ebp + 0x37], al
cmp ecx, dword [edx + 0x3e]
xor ecx, dword [ebx + 0x3a]
add esp, 4
and ebx, 0x18184
pop ebx
mov eax, dword [ebp - 0x4cc]
sub eax, dword [ebp - 0x3c0]
cmp eax, 0xffffffff
jb 0x4180b1
push edi
push ebx
add esp, 4
and edi, 0x163f4
pop edi
push edx
push edx
add esp, 4
add edx, 0x11e77
pop edx
push esi
push edi
add esp, 4
or esi, 0x9b4
and esi, 0x6da8
pop esi
push edi
and edi, 0x893
pop edi
jmp 0x4182df
mov dword [ebp - 0xc08], 7
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0xa68], ecx
push ebx
or ebx, 0x66ed
pop ebx
push ebx
push ecx
add esp, 4
sub ebx, 0xe11c
xor ebx, 0x16efb
pop ebx
push edi
push edx
add esp, 4
add edi, 0x16be2
sub edi, 0xf52c
xor edi, 0x77bf
pop edi
mov edx, dword [ebp - 0x14bc]
mov dword [ebp - 0xa64], edx
mov dword [ebp - 0xc0c], 0
mov eax, dword [ebp - 0x4cc]
cmp eax, dword [ebp - 0x14bc]
jne 0x418160
push edi
jmp 0x418126
or edi, 0x783a
pop edi
push ecx
push esi
add esp, 4
add ecx, 0xd1f2
call 0x418145
add byte [edi], bh
dec esp
dec ecx
inc esi
dec esi
dec edx
xor eax, dword [ebx - 0x167efb3c]
mov al, 0xd0
add byte [eax], al
pop ecx
mov ecx, dword [ebp - 0xc0c]
mov dword [ebp - 0x14c4], ecx
jmp 0x418291
cmp dword [ebp - 0xc08], 0
jle 0x418285
push ebx
push edx
add esp, 4
sub ebx, 0x146a5
or ebx, 0x3d54
xor ebx, 0x2be2
xor ebx, 0x2af
pop ebx
push edi
push esi
add esp, 4
xor edi, 0x18205
pop edi
push ebx
or ebx, 0xd538
pop ebx
mov edx, dword [ebp - 0xa68]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa64]
movzx edx, byte [ecx]
cmp eax, edx
je 0x418221
push eax
and eax, 0x102e
sub eax, 0xd4db
and eax, 0x55c2
pop eax
push eax
push ecx
add esp, 4
add eax, 0x1459e
sub eax, 0x7f82
pop eax
push edx
push eax
add esp, 4
or edx, 0x88c
pop edx
mov eax, dword [ebp - 0xa68]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa64]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x418209
mov dword [ebp - 0x14c0], 1
jmp 0x418213
mov dword [ebp - 0x14c0], 0xffffffff
mov ecx, dword [ebp - 0x14c0]
mov dword [ebp - 0xc0c], ecx
jmp 0x418285
push esi
xor esi, 0x6168
or esi, 0xed66
add esi, 0xb6f9
pop esi
push edi
push edi
add esp, 4
sub edi, 0x47b2
xor edi, 0x1704d
add edi, 0x11618
or edi, 0x8ad6
pop edi
mov edx, dword [ebp - 0xc08]
sub edx, 1
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xa68]
add eax, 1
mov dword [ebp - 0xa68], eax
mov ecx, dword [ebp - 0xa64]
add ecx, 1
mov dword [ebp - 0xa64], ecx
jmp 0x418160
mov edx, dword [ebp - 0xc0c]
mov dword [ebp - 0x14c4], edx
cmp dword [ebp - 0x14c4], 0
jne 0x4182da
push ecx
push edi
add esp, 4
and ecx, 0x953a
xor ecx, 0x7c5a
pop ecx
push edx
push ecx
add esp, 4
xor edx, 0x4487
sub edx, 0x9db0
pop edx
push esi
or esi, 0x4dcd
sub esi, 0xd2db
pop esi
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x3cc], eax
jmp 0x41831b
jmp 0x418028
push esi
push ebx
add esp, 4
or esi, 0x4abf
call 0x4182f9
add byte [eax + 0x41], dl
xor ecx, dword [ebx + 0x3b]
aas
aaa
aaa
inc ecx
add esp, 4
pop esi
push esi
sub esi, 0x15322
or esi, 0x118ff
xor esi, 0x1541
pop esi
mov dword [ebp - 0x3cc], 0
push ebx
push ecx
add esp, 4
xor ebx, 0x11bc4
xor ebx, 0x159ad
or ebx, 0x168ac
add dword [eax], eax