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

Disassembly:
mov edx, dword [ebp - 0x4cc]
add edx, 1
mov dword [ebp - 0x4cc], edx
push edi
and edi, 0x3cdb
pop edi
push edi
push ebx
add esp, 4
xor edi, 0x378
or edi, 0x1633f
call 0x41805f
add byte [0x4a47383a], bh
dec esp
inc ebp
inc ebp
add esp, 4
add edi, 0x5f51
pop edi
mov eax, dword [ebp - 0x4cc]
sub eax, dword [ebp - 0x3c0]
cmp eax, 0xffffffff
jb 0x4180b1
push esi
push edx
add esp, 4
or esi, 0x15c7
pop esi
push ebx
or ebx, 0x29ac
and ebx, 0x17339
add ebx, 0x186a0
pop ebx
push ebx
push edi
add esp, 4
xor ebx, 0xe4d8
sub ebx, 0x1c16
pop ebx
jmp 0x4182df
mov dword [ebp - 0xc08], 7
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0xa68], ecx
push edi
and edi, 0xfd4b
and edi, 0x1558a
or edi, 0x1380d
add edi, 0xf870
pop edi
push esi
push esi
add esp, 4
sub esi, 0x89d3
xor esi, 0x16c3a
or esi, 0xd168
pop esi
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
xor edi, 0x3566
xor edi, 0x16b67
sub edi, 0x1865
or edi, 0xcd3
pop edi
push edi
push edi
add esp, 4
and edi, 0xcd78
and edi, 0xb897
xor edi, 0x771a
pop edi
mov ecx, dword [ebp - 0xc0c]
mov dword [ebp - 0x14c4], ecx
jmp 0x418291
cmp dword [ebp - 0xc08], 0
jle 0x418285
push ebx
push esi
add esp, 4
or ebx, 0x163db
and ebx, 0xaa7e
xor ebx, 0x4d59
pop ebx
push esi
and esi, 0x126e3
add esi, 0xbf9a
and esi, 0x14ccf
or esi, 0x8128
pop esi
mov edx, dword [ebp - 0xa68]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa64]
movzx edx, byte [ecx]
cmp eax, edx
je 0x418221
push esi
push ecx
add esp, 4
add esi, 0x114e9
add esi, 0x1150a
call 0x4181d2
add byte [0x3a3d483a], bh
cmp al, 0x83
les eax, [eax + ebp*8]
or dword [eax], eax
add byte [eax], al
add byte [edx + 0x4e], cl
cmp byte [edx + 0x33], cl
push eax
cmp al, 0x36
add esp, 4
pop esi
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 eax
call 0x418231
add byte [ebx], dh
dec ebx
inc ecx
dec esp
xor al, 0x32
dec eax
inc eax
dec eax
add esp, 4
pop eax
push ebx
push esi
add esp, 4
sub ebx, 0x12764
pop ebx
push edx
push eax
add esp, 4
or edx, 0x8316
jmp 0x418252
pop edx
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 ebx
push eax
add esp, 4
call 0x4182ac
add byte [ecx + edi], bh
inc esi
inc eax
cmp eax, 0x4c48349
xor ebx, 0x8df8
call 0x4182c3
add byte [edx], bh
cmp cl, byte ss:[edx + esi + 0x4b]
dec esp
inc esp
add esp, 4
jmp 0x4182cb
pop ebx
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x3cc], eax
jmp 0x41831b
jmp 0x418028
push ecx
call 0x4182f0
add byte [edi], bh
inc ecx
cmp al, 0x4e
inc ecx
xor dh, byte [0xc4833e39]
add al, 0x59
push eax
push edi
add esp, 4
or eax, 0x9461
pop eax
push edi
call 0x41830d
add byte [esi + 0x46], al
xor eax, dword [eax + 0x48]
cmp byte [ebx - 0x38a0fb3c], al
test dword [esp + edi*8], esi
invalid
push edx
push esi
add esp, 4
add edx, 0x3087
pop edx
push ebx
sub ebx, 0x44f3
sub ebx, 0x111fc
cld
adc dword [ecx], eax
add byte [ebx + 0x57], bl