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

Disassembly:
add esp, 4
xor esi, 0xa1c1
pop esi
push edx
jmp 0x405f58
pop edx
cmp dword [ebp - 0x15ec], 0
jne 0x405f71
mov dword [ebp - 0x754], 0
jmp 0x40622d
mov ecx, dword [ebp - 0x15ec]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xca8], eax
push edx
push ecx
add esp, 4
add edx, 0x106aa
pop edx
push eax
or eax, 0x14ba6
call 0x405fa5
add byte [ebx + 0x4e], cl
inc esp
dec eax
dec esi
dec ecx
inc esp
cmp bh, byte [ebx]
add esp, 4
sub eax, 0xf963
and eax, 0x741f
pop eax
cmp dword [ebp - 0xca8], 0
jne 0x405fcd
mov dword [ebp - 0x754], 0
jmp 0x40622d
mov ecx, dword [ebp - 0xca8]
mov dword [ebp - 0x50c], ecx
push edx
push eax
add esp, 4
call 0x405feb
add byte [esi], dh
dec esi
cmp dword [edx + 0x48], eax
cmp byte [edi - 0x7d], al
les eax, [ecx + eax*4]
loop 0x406010
add byte [eax], al
sub edx, 0x8043
call 0x406007
add byte [esi], dh
dec ecx
xor al, 0x35
cmp edi, dword [edi]
inc eax
add esp, 4
pop edx
lea edx, [ebp - 0x17ac]
mov dword [ebp - 0xca4], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xca0], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
dec dword [ecx - 0xca36b]
dec dword [ebx - 0x50b7b]
dec dword [ebx - 0x7276cfb8]
pushal
invalid
push eax
push eax
add esp, 4
sub eax, 0x16c38
pop eax
push eax
push edx
add esp, 4
and eax, 0x5c05
add eax, 0xf441
add eax, 0x143b6
sub eax, 0x3067
pop eax
push ebx
xor ebx, 0xa62b
pop ebx
mov ecx, dword [ebp - 0xca0]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xca0]
add eax, 2
mov dword [ebp - 0xca0], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca4]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xca4]
add ecx, 2
mov dword [ebp - 0xca4], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x110], dx
push edx
add edx, 0x178d8
pop edx
push ebx
push eax
add esp, 4
or ebx, 0xd61
or ebx, 0xd13b
call 0x4060ec
add byte [edi], bh
dec esp
cmp edi, dword ds:[eax]
xor eax, dword [ecx + 0x3f]
dec eax
add esp, 4
xor ebx, 0xec9f
pop ebx
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x406119
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15f4], ecx
jmp 0x40617c
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
je 0x406038
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x406038
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x406166
mov dword [ebp - 0x15f0], 0xffffffff
jmp 0x406170
mov dword [ebp - 0x15f0], 1
mov eax, dword [ebp - 0x15f0]
mov dword [ebp - 0x15f4], eax
cmp dword [ebp - 0x15f4], 0
jne 0x4061c5
push eax
push edi
add esp, 4
xor eax, 0xe44c
sub eax, 0x6432
and eax, 0xe4d6
or eax, 0xc4e5
pop eax
push eax
sub eax, 0x7051
xor eax, 0xb9dc
or eax, 0x309f
pop eax
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x754], ecx
jmp 0x40622d
push edi
call 0x4061d2
add byte [edx + esi + 0x3d], cl
cmp eax, 0xc4833647
add al, 0x81
idiv dword [ebp + esi + 1]
add byte [edi + 0x53], bl
call 0x4061ed
add byte [edi + 0x46], cl
dec ebx
inc esi
dec eax
aas
inc edx
cmp dword [0x8104c483], esi
jmp 0x40625e
push esi
xor esi, 0x1b35
call 0x406243
add byte [esi], bh
inc eax
dec ecx
dec esp
dec eax
inc esp
aaa
dec eax
add esp, 4
pop esi
push edi
push edx
add esp, 4
sub edi, 0x1294e
or edi, 0x14862
xor edi, 0xb571
pop edi
cmp dword [ebp - 0x754], 0
jne 0x4062a9
push edi
xor edi, 0x5f42
and edi, 0xe706
call 0x406282
add byte [esi], dh
inc ecx
xor eax, 0x503e4649
add esp, 4
add edi, 0x185bd
pop edi
push esi
push edi
add esp, 4
jmp 0x406299
pop esi
mov dword [ebp - 0x7a0], 0
jmp 0x406dd0
push ecx
push edi
add esp, 4
xor ecx, 0x11395
sub ecx, 0x139c7
xor ecx, 0xe82
pop ecx
push edx
and edx, 0x17209
add edx, 0x2be4
sub edx, 0x14886
xor edx, 0x53b5
pop edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x764], 0
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x15f8], edx
cmp dword [ebp - 0x15f8], 0
jne 0x40631a
mov eax, dword [ebp - 0x764]
mov dword [ebp - 0x3f8], eax
jmp 0x40660b
mov ecx, dword [ebp - 0x15f8]