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

Disassembly:
mov edx, dword [ebp - 0x4fc]
add edx, 1
mov dword [ebp - 0x4fc], edx
add esp, 4
or eax, 0xf812
add eax, 0x16c15
and eax, 0x1377
pop eax
push esi
push eax
add esp, 4
sub esi, 0x9a81
pop esi
mov edx, dword [ebp - 0x15c4]
mov dword [ebp - 0xa60], edx
mov dword [ebp - 0xc84], 0
mov eax, dword [ebp - 0x4fc]
cmp eax, dword [ebp - 0x15c4]
jne 0x10004a17
push ecx
call 0x100049e4
add byte [eax + 0x42], al
dec ecx
dec esi
cmp dword [ebp + 0x39], eax
cmp ecx, dword [edi - 0x7d]
les eax, [ecx + eax*4]
shl dword [edi - 0x7effffde], 0xe9
pop edx
xor eax, 0x50590001
push eax
add esp, 4
or eax, 0x768d
jmp 0x10004a05
pop eax
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], ecx
jmp 0x10004b48
cmp dword [ebp - 0xc80], 0
jle 0x10004b3c
push esi
push ecx
add esp, 4
and esi, 0x12f38
xor esi, 0x18157
and esi, 0x2d40
pop esi
push esi
or esi, 0xc504
sub esi, 0xc871
and esi, 0x17f9d
sub esi, 0xacdb
pop esi
mov edx, dword [ebp - 0xac4]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x10004ad8
push edi
jmp 0x10004a75
call 0x10004a82
add byte [eax + edx*2], bh
dec esi
xor eax, dword [edi + 0x32]
inc edx
add esp, 4
call 0x10004a92
add byte [ebx + 0x48], al
dec esi
inc ebp
inc esp
xor al, byte [ebx + 0x515f04c4]
sub ecx, 0x128f4
pop ecx
mov eax, dword [ebp - 0xac4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x10004ac0
mov dword [ebp - 0x15c8], 1
jmp 0x10004aca
mov dword [ebp - 0x15c8], 0xffffffff
mov ecx, dword [ebp - 0x15c8]
mov dword [ebp - 0xc84], ecx
jmp 0x10004b3c
push esi
push edx
add esp, 4
or esi, 0x3f69
jmp 0x10004aeb
pop esi
push ecx
push ecx
add esp, 4
xor ecx, 0x9d5
pop ecx
push ecx
push edi
add esp, 4
xor ecx, 0x12fd
or ecx, 0x11d56
pop ecx
mov edx, dword [ebp - 0xc80]
sub edx, 1
mov dword [ebp - 0xc80], edx
mov eax, dword [ebp - 0xac4]
add eax, 1
mov dword [ebp - 0xac4], eax
mov ecx, dword [ebp - 0xa60]
add ecx, 1
mov dword [ebp - 0xa60], ecx
jmp 0x10004a17
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], edx
cmp dword [ebp - 0x15cc], 0
jne 0x10004b91
push esi
push ecx
add esp, 4
jmp 0x10004b5b
call 0x10004b6b
add byte [ebx + 0x3f], cl
cmp byte [esi + 0x39], al
inc edx
xor al, 0x4a
inc edi
dec ebx
add esp, 4
pop esi
push ecx
push ecx
add esp, 4
sub ecx, 0x3f43
pop ecx
push ebx
xor ebx, 0x51df
pop ebx
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x3e8], eax
jmp 0x10004bd2
jmp 0x100048df
push edx
xor edx, 0x920a
pop edx
push edx
push ebx
add esp, 4
add edx, 0x108ad
call 0x10004bf3
add byte [ecx], bh
inc edx
inc edi
cmp eax, 0xc4833345
add al, 0xeb
add eax, dword [ecx + 0x48]
cmp eax, 0xc781575a
sahf
add al, byte [ecx]
add byte [edi + 0x56], bl
xor esi, 0x73d4
xor esi, 0xd576
add esi, 0x14a0d
xor esi, 0x185c2
pop esi
push ebx
push ebx
add esp, 4
and ebx, 0x7535
jmp 0x10004c2f
or ebx, 0x148a5
pop ebx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbe4]
mov dword [ebp - 0x15d0], eax
push edx
or edx, 0x9201
pop edx
push ebx
push edx
add esp, 4
sub ebx, 0x14b0
sub ebx, 0x17dad
pop ebx
push edx
push edi
add esp, 4
jmp 0x10004c70
add edx, 0xe4b8
jmp 0x10004c7c
pop edx
mov dword [ebp - 0x20d4], 0xffffffff
push ecx
push edx
add esp, 4
xor ecx, 0x6583
and ecx, 0x3d84
or ecx, 0x70ec
pop ecx
push esi
and esi, 0x7555
sub esi, 0xd88e
or esi, 0x3c46
add esi, 0xccd2
pop esi
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x500], ecx
jmp 0x10004cd6
mov edx, dword [ebp - 0x500]
add edx, 1
mov dword [ebp - 0x500], edx
push esi
push eax
add esp, 4
sub esi, 0xa26e
pop esi
push ebx
push esi
add esp, 4
add ebx, 0x136fd
add ebx, 0x31f4
or ebx, 0x5f8f
pop ebx
push esi
xor esi, 0x1fc0
and esi, 0x563
pop esi
mov eax, dword [ebp - 0x500]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x10004d50
push edx
add edx, 0x12dbe
call 0x10004d30
add byte [ebx + 0x41], al
xor al, byte [eax + 0x3e]
cmp eax, 0x354d403a
add esp, 4
call 0x10004d3f
add byte [ebx], bh
inc esp
cmp eax, 0x83353549
les eax, [edx + ebx*2]
push ebx
jmp 0x10004d4a
pop ebx
jmp 0x10004f7e
mov dword [ebp - 0xc88], 7
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0xac0], ecx
push eax
push eax
add esp, 4
xor eax, 0x13161
or eax, 0xc284
pop eax
push edx
xor edx, 0x1595
sub edx, 0xa9c3
pop edx
push edx
push edi
add esp, 4
sub edx, 0x11edf
jmp 0x10004d97
pop edx
mov edx, dword [ebp - 0x15d0]
mov dword [ebp - 0xabc], edx
mov dword [ebp - 0xc8c], 0
mov eax, dword [ebp - 0x500]
cmp eax, dword [ebp - 0x15d0]
jne 0x10004dff
push eax
push edi
add esp, 4
add eax, 0x17a35
xor eax, 0x37d8
jmp 0x10004dd6
pop eax
push edx
sub edx, 0x6907
jmp 0x10004de7
or edx, 0x3475
pop edx
mov ecx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d4], ecx
jmp 0x10004f30
cmp dword [ebp - 0xc88], 0
jle 0x10004f24
push esi
or esi, 0x11323
sub esi, 0x1290a
jmp 0x10004e1e
pop esi
push ecx
push edi
add esp, 4
and ecx, 0xc95b
and ecx, 0x10d90
pop ecx
push ecx
jmp 0x10004e37
or ecx, 0xb95d
pop ecx
mov edx, dword [ebp - 0xac0]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xabc]
movzx edx, byte [ecx]
cmp eax, edx
je 0x10004ec0
push ebx
push edi
add esp, 4
and ebx, 0x76d5
sub ebx, 0x185af
xor ebx, 0x101c5
pop ebx
push ebx
sub ebx, 0x3015
call 0x10004e82
add byte [ebx + 0x36], cl
xor eax, 0x423b4e4e
inc esi
add esp, 4
pop ebx
mov eax, dword [ebp - 0xac0]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xabc]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x10004ea8
mov dword [ebp - 0x15a0], 1
jmp 0x10004eb2
mov dword [ebp - 0x15a0], 0xffffffff
mov ecx, dword [ebp - 0x15a0]
mov dword [ebp - 0xc8c], ecx
jmp 0x10004f24
push esi
push ecx
add esp, 4
sub esi, 0x15aca
jmp 0x10004ed1
and esi, 0x3ff6
and esi, 0x7da5
pop esi
push edi
xor edi, 0x17cd8
and edi, 0xe460
and edi, 0x3d1b
pop edi
mov edx, dword [ebp - 0xc88]
sub edx, 1
mov dword [ebp - 0xc88], edx
mov eax, dword [ebp - 0xac0]
add eax, 1
mov dword [ebp - 0xac0], eax
mov ecx, dword [ebp - 0xabc]
add ecx, 1
mov dword [ebp - 0xabc], ecx
jmp 0x10004dff
mov edx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d4], edx
cmp dword [ebp - 0x15d4], 0
jne 0x10004f79
push esi
push esi
add esp, 4
jmp 0x10004f47
jmp 0x10004f4d
pop esi
push ecx
jmp 0x10004f58
sub ecx, 0x178ef
and ecx, 0x12038
xor ecx, 0x14653
pop ecx
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0xab8], eax
jmp 0x10004fba
jmp 0x10004cc7
push esi
push ebx
add esp, 4
and esi, 0xe5ea
pop esi
push eax
sub eax, 0x18214
call 0x10004f9e
add byte [ecx + eax*2 + 0x49], al
dec esp
push eax
xor al, 0x43
add esp, 4
pop eax
push esi
sub esi, 0x4b52
and esi, 0x109ec
pop esi
mov dword [ebp - 0xab8], 0
push edx
add edx, 0x32fc
sub edx, 0xe934
pop edx
push edi
push ebx
add esp, 4
and edi, 0x8c6b
call 0x10004fe3
add byte [edx], bh
inc edi
inc eax
inc ebx
xor al, 0x36
inc eax
cmp ecx, dword [ebx + edi - 0x7d]
les eax, [ebx + ebp*8]
add eax, dword [eax + 0x39]
xor bl, byte [edi - 0x3a]
test dword [eax + 0x45fffff7], ecx
mov byte [ebp - 0x877], pe_nt_image_headers32
mov byte [ebp - 0x876], 0x69
mov byte [ebp - 0x875], 0x74
mov byte [ebp - 0x874], 0x50
mov byte [ebp - 0x873], 0x72
mov byte [ebp - 0x872], 0x6f
mov byte [ebp - 0x871], 0x63
mov byte [ebp - 0x870], 0x65
mov byte [ebp - 0x86f], 0x73
mov byte [ebp - 0x86e], 0x73
mov byte [ebp - 0x86d], 0
push esi
push eax
add esp, 4
call 0x10005051
add byte [ebx], dh
dec ecx
xor bh, byte [ecx]
inc eax
inc esp
add esp, 4
pop esi
push ebx
xor ebx, 0x143bd
pop ebx
push esi
push ebx
add esp, 4
call 0x1000506e
add byte [0x454f393f], bh
cmp dword [ebx - 0x46a1fb3c], eax
imul eax, dword [eax], 0
add byte [esi - 0x77], ah
invalid