Function at 0x10005108
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add ebx, 0x1162e
pop ebx
push ecx
jmp 0x10004dbf
add ecx, 0x1791e
jmp 0x10004dce
pop ecx
push eax
push esi
add esp, 4
sub eax, 0xc1b9
and eax, 0x7b01
pop eax
mov dword [ebp - 0x277c], 0xffffffff
push ecx
or ecx, 0x61cb
add byte [eax], al
call 0x10004e02
add byte [0x3a3a454b], dh
inc edi
inc esi
inc eax
inc edx
add esp, 4
pop ecx
push edx
jmp 0x10004e0e
pop edx
push eax
and eax, 0x453
or eax, 0xd0df
pop eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x5c0], ecx
jmp 0x10004e3a
mov edx, dword [ebp - 0x5c0]
add edx, 1
mov dword [ebp - 0x5c0], edx
push esi
sub esi, 0x7b87
call 0x10004e4d
add byte [ecx], bh
inc edx
xor eax, 0x834c363a
les eax, [ecx + eax*4]
into
loopne 0x10004ea5
add dword [eax], eax
pop esi
push edx
or edx, 0x77d1
add edx, 0x758a
jmp 0x10004e6b
pop edx
mov eax, dword [ebp - 0x5c0]
sub eax, dword [ebp - 0x488]
cmp eax, 0xffffffff
jb 0x10004eb4
push eax
add eax, 0xa194
pop eax
push ebx
push esi
add esp, 4
sub ebx, 0x100ce
pop ebx
push ecx
push ecx
add esp, 4
and ecx, 0xb0a1
and ecx, 0xa04d
pop ecx
push edi
push ebx
add esp, 4
sub edi, 0x13e8c
pop edi
jmp 0x100050e2
mov dword [ebp - 0xe88], 7
mov ecx, dword [ebp - 0x5c0]
mov dword [ebp - 0xc04], ecx
push edx
or edx, 0x180ca
sub edx, 0x17985
sub edx, 0xa0cb
pop edx
push eax
push edi
add esp, 4
or eax, 0x7c9d
xor eax, 0x15d1d
and eax, 0xda87
sub eax, 0x52a0
pop eax
mov edx, dword [ebp - 0x18e4]
mov dword [ebp - 0xc00], edx
mov dword [ebp - 0xe8c], 0
mov eax, dword [ebp - 0x5c0]
cmp eax, dword [ebp - 0x18e4]
jne 0x10004f63
push edx
add edx, 0x1516d
or edx, 0x16ba3
pop edx
push ebx
xor ebx, 0x17ed4
sub ebx, 0xb902
pop ebx
push edx
or edx, 0x5859
jmp 0x10004f4b
add edx, 0x1ef6
pop edx
mov ecx, dword [ebp - 0xe8c]
mov dword [ebp - 0x18b0], ecx
jmp 0x10005094
cmp dword [ebp - 0xe88], 0
jle 0x10005088
push ebx
push edx
add esp, 4
or ebx, 0x16d63
add ebx, 0xea49
xor ebx, 0xbf2f
pop ebx
push ebx
xor ebx, 0x1179b
add ebx, 0x157c
xor ebx, 0x1141c
add ebx, 0x5105
pop ebx
mov edx, dword [ebp - 0xc04]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xc00]
movzx edx, byte [ecx]
cmp eax, edx
je 0x10005024
push edi
push eax
add esp, 4
sub edi, 0x148e
add edi, 0xafed
add edi, 0x149ae
sub edi, 0x17c37
pop edi
push eax
and eax, 0x83bf
pop eax
push ecx
push esi
add esp, 4
xor ecx, 0x34b
pop ecx
mov eax, dword [ebp - 0xc04]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc00]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x1000500c
mov dword [ebp - 0x18e8], 1
jmp 0x10005016
mov dword [ebp - 0x18e8], 0xffffffff
mov ecx, dword [ebp - 0x18e8]
mov dword [ebp - 0xe8c], ecx
jmp 0x10005088
push esi
push esi
add esp, 4
and esi, 0x6796
add esi, 0x866b
sub esi, 0x5997
pop esi
push ecx
xor ecx, 0x5523
xor ecx, 0xd401
or ecx, 0x8419
sub ecx, 0xc011
pop ecx
mov edx, dword [ebp - 0xe88]
sub edx, 1
mov dword [ebp - 0xe88], edx
mov eax, dword [ebp - 0xc04]
add eax, 1
mov dword [ebp - 0xc04], eax
mov ecx, dword [ebp - 0xc00]
add ecx, 1
mov dword [ebp - 0xc00], ecx
jmp 0x10004f63
mov edx, dword [ebp - 0xe8c]
mov dword [ebp - 0x18b0], edx
cmp dword [ebp - 0x18b0], 0
jne 0x100050dd
push ecx
sub ecx, 0x255c
and ecx, 0xfc46
pop ecx
push ecx
push edi
add esp, 4
xor ecx, 0x18164
pop ecx
push eax
push edi
add esp, 4
sub eax, 0x4ea4
pop eax
push edx
push edi
add esp, 4
add edx, 0x13d19
pop edx
mov eax, dword [ebp - 0x5c0]
mov dword [ebp - 0xbfc], eax
jmp 0x1000511e
jmp 0x10004e2b
push esi
push edi
add esp, 4
and esi, 0x4a0d
and esi, 0xee1a
jmp 0x100050f8
call 0x10005108
add byte [eax + 0x36], dl
inc esi
dec ecx
xor eax, 0x4538374c
xor eax, dword [ebx + 0x535e04c4]
or ebx, 0x148ce
pop ebx
mov dword [ebp - 0xbfc], 0
push edi
push eax
add esp, 4
and edi, 0xc31d
sub edi, 0x17f34
xor edi, 0x321d
jmp 0x1000513e
pop edi
push ecx
push edi
add esp, 4
jmp 0x10005149
xor ecx, 0x16b47
pop ecx
mov byte [ebp - 0x9c0], 0x45
mov byte [ebp - 0x9bf], 0x78
mov byte [ebp - 0x9be], 0x69
mov byte [ebp - 0x9bd], 0x74
mov byte [ebp - 0x9bc], 0x50
mov byte [ebp - 0x9bb], 0x72
mov byte [ebp - 0x9ba], 0x6f
mov byte [ebp - 0x9b9], 0x63
mov byte [ebp - 0x9b8], 0x65
mov byte [ebp - 0x9b7], 0x73
mov byte [ebp - 0x9b6], 0x73
mov byte [ebp - 0x9b5], 0
idiv bh
inc dword [eax]
push ebx
jmp 0x100051ac
jmp 0x100051b2
jmp 0x100051bb
xor ebx, 0x8cba
pop ebx
push edi
and edi, 0x1655e
or edi, 0xaa65
sub edi, 0x11d6e
pop edi
mov ecx, 0x6b
mov word [ebp - 0x1a68], cx
mov edx, 0x65
mov word [ebp - 0x1a66], dx
mov eax, 0x72
mov word [ebp - 0x1a64], ax
mov ecx, 0x6e
mov word [ebp - 0x1a62], cx
mov dword [ebp - 0x1a62], ecx
mov edx, 0x65
mov word [ebp - 0x1a60], dx
mov eax, 0x6c
mov word [ebp - 0x1a5e], ax
mov ecx, 0x33
mov word [ebp - 0x1a5c], cx
mov edx, 0x32
mov word [ebp - 0x1a5a], dx
mov eax, 0x2e
mov word [ebp - 0x1a58], ax
mov ecx, 0x64
mov word [ebp - 0x1a56], cx
mov edx, 0x6c
mov word [ebp - 0x1a54], dx
mov eax, 0x6c
mov word [ebp - 0x1a52], ax
xor ecx, ecx
mov word [ebp - 0x1a50], cx
push edx