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

Disassembly:
push ecx
add esp, 4
xor esi, 0x16e58
or esi, 0xc3c6
and esi, 0x12f60
sub esi, 0x7bc3
pop esi
push edi
and edi, 0x1cdd
add edi, 0x10886
sub edi, 0x120f2
pop edi
mov byte [ebp - 0x9d4], 0x56
mov byte [ebp - 0x9d3], 0x69
mov byte [ebp - 0x9d2], 0x72
mov byte [ebp - 0x9d1], 0x74
mov byte [ebp - 0x9d0], 0x75
mov byte [ebp - 0x9cf], 0x61
mov byte [ebp - 0x9ce], 0x6c
mov byte [ebp - 0x9cd], 0x50
mov byte [ebp - 0x9cc], 0x72
mov byte [ebp - 0x9cb], 0x6f
mov byte [ebp - 0x9ca], 0x74
mov byte [ebp - 0x9c9], 0x65
aaa
idiv bh
jmp dword [ebp - 0x3a]
test dword [eax], edi
idiv bh
jmp dword [ebx - 0x3a]
test dword [ecx], edi
idiv bh
push dword [esi + eax*8 - 0x7b]
cmp dh, dh
invalid
inc dword [eax]
push ecx
add ecx, 0x2022
and ecx, 0x31a3
or ecx, 0xbd8c
call 0x4063ca
add byte [eax + 0x38], al
inc esp
inc edx
cmp dword [ebx + 0x3a], eax
add esp, 4
pop ecx
push ebx
and ebx, 0x1685e
or ebx, 0x6dd2
pop ebx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x19f8], eax
mov ecx, dword [ebp - 0x19f8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x19fc], edx
mov eax, dword [ebp - 0x19fc]
mov dword [ebp - 0x1618], eax
jmp 0xe8976404
pop es
add byte [eax], al
add byte [eax], al
cmp al, 0x34
cmp ecx, dword [ebp + 0x3f]
add esp, 4
sub esi, 0x1085c
call 0x406425
add byte [ebx], bh
push eax
dec eax
dec edi
dec esp
cmp al, 0x83
les eax, [esi + ebx*2]
push ecx
push esi
add esp, 4
or ecx, 0x53c0
pop ecx
cmp dword [ebp - 0x1618], 0
jne 0x40644d
mov dword [ebp - 0x2fc], 0
jmp 0x4066f4
mov ecx, dword [ebp - 0x1618]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push ecx
push edi
add esp, 4
xor ecx, 0x399c
pop ecx
push esi
xor esi, 0xeab4
jmp 0x406478
sub esi, 0x16b19
or esi, 0x9c40
pop esi
push eax
push edx
add esp, 4
add eax, 0xaa43
pop eax
cmp dword [ebp - 0xcc4], 0
jne 0x4064a9
mov dword [ebp - 0x2fc], 0
jmp 0x4066f4
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
push edi
add edi, 0x5101
jmp 0x4064c2
or edi, 0x8731
sub edi, 0x16a40
pop edi
push ecx
push ecx
add esp, 4
and ecx, 0x11895
or ecx, 0xb12
or ecx, 0x278
pop ecx
lea edx, [ebp - 0x173c]
mov dword [ebp - 0xcc0], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcbc], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push eax
push esi
add esp, 4
xor eax, 0x3df1
pop eax
push eax
push edi
add esp, 4
or eax, 0x8e18
pop eax
push esi
push edx
add esp, 4
and esi, 0x238b
pop esi
push esi
or esi, 0x698
sub esi, 0x8708
pop esi
mov ecx, dword [ebp - 0xcbc]
mov dx, word [ecx]
mov word [ebp - 0x103e], dx
mov eax, dword [ebp - 0xcbc]
add eax, 2
mov dword [ebp - 0xcbc], eax
mov cx, word [ebp - 0x103e]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xcc0]
mov ax, word [edx]
mov word [ebp - 0x1040], ax
mov ecx, dword [ebp - 0xcc0]
add ecx, 2
mov dword [ebp - 0xcc0], ecx
mov dx, word [ebp - 0x1040]
mov word [ebp - 0x38], dx
push ecx
push ecx
add esp, 4
add ecx, 0x80f0
xor ecx, 0x27db
and ecx, 0x156d0
pop ecx
push ecx
and ecx, 0x163d2
sub ecx, 0x8873
xor ecx, 0x12c0a
add ecx, 0x112d6
pop ecx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x4065e9
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1620], ecx
jmp 0x406643
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x406511
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x406511
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x40662d
mov dword [ebp - 0x161c], 0xffffffff
jmp 0x406637
mov dword [ebp - 0x161c], 1
mov eax, dword [ebp - 0x161c]
mov dword [ebp - 0x1620], eax
cmp dword [ebp - 0x1620], 0
jne 0x40668c
push eax
add eax, 0x4ffd
call 0x406663
add byte [edi + edi + 0x34], cl
dec esi
dec ebx
inc ecx
inc edi
inc eax
dec edi
add esp, 4
call 0x406673
add byte [ecx], bh
dec edi
dec edx
inc ebx
aaa
inc ebx
dec ebx
add esp, 4
jmp 0x40667d
pop eax
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2fc], ecx
jmp 0x4066f4
push edx
push edx
add esp, 4
call 0x4066a1
add byte [edx], bh
cmp byte [ebx], bh
xor al, byte [ebp + 0x4f]
dec ecx
xor esi, dword [esi]
inc eax
add esp, 4
pop edx
push esi
push esi
add esp, 4
call 0x4066ba
add byte [eax + 0x45], dl
push eax
inc ebp
aas
dec ecx
aaa
dec ebx
cmp eax, 0x83364d33
les eax, [esi + ebx*2]
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xcc4]
je 0x4066ea
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x4064b5
mov dword [ebp - 0x2fc], 0
push eax
push ecx
add esp, 4
sub eax, 0x11560
add eax, 0xf8dc
rcr ah, 0xf8
add byte [eax], al
or eax, 0x5abe
sub eax, 0xd1e1
pop eax
push esi
or esi, 0x89ef
or esi, 0xd77f
or esi, 0xc5e5
into
in eax, 0xc5
add byte [eax], al
pop esi
cmp dword [ebp - 0x2fc], 0
jne 0x40702b
mov eax, 0x6b
mov word [ebp - 0x1774], ax
mov ecx, 0x65
mov word [ebp - 0x1772], cx
mov edx, 0x72
mov word [ebp - 0x1770], dx
mov eax, 0x6e
mov word [ebp - 0x176e], ax
mov ecx, 0x65
mov word [ebp - 0x176c], cx
mov edx, 0x6c
mov word [ebp - 0x176a], dx
mov eax, 0x33
mov word [ebp - 0x1768], ax
mov ecx, 0x32
mov word [ebp - 0x1766], cx
mov edx, 0x2e
mov word [ebp - 0x1764], dx
mov eax, 0x64
mov word [ebp - 0x1762], ax
mov ecx, 0x6c
mov word [ebp - 0x1760], cx
mov edx, 0x6c
mov word [ebp - 0x175e], dx
xor eax, eax
mov word [ebp - 0x175c], ax
push ecx
and ecx, 0x970d
or ecx, 0x6d05
or ecx, 0x6c29
pop ecx
push eax
push edx
add esp, 4
jmp 0x4067eb
pop eax
push eax
call 0x4067fa
add byte [ebp + eax*2 + 0x36], cl
xor dh, byte [0xc483443b]
add al, 0x58
mov byte [ebp - 0x8a4], 0x4c
mov byte [ebp - 0x8a3], 0x6f
mov byte [ebp - 0x8a2], 0x61
mov byte [ebp - 0x8a1], 0x64
mov byte [ebp - 0x8a0], 0x4c
dec esp
mov byte [ebp - 0x89f], 0x69
mov byte [ebp - 0x89e], 0x62
mov byte [ebp - 0x89d], 0x72
mov byte [ebp - 0x89c], 0x61
mov byte [ebp - 0x89b], 0x72
mov byte [ebp - 0x89a], 0x79
mov byte [ebp - 0x899], 0x57
mov byte [ebp - 0x898], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1a00], ecx
mov edx, dword [ebp - 0x1a00]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1a04], eax
test esp, edi
in eax, 0xff
dec dword [ebx - 0x1a0373]
dec dword [ecx - 0x162373]
call dword [edi - 0x7f]
idiv edx
test dword [ecx], eax
add byte [ecx + 0x75d6c7], al
add byte [ecx + 0x84cbf7], al
add byte [ecx + 0x1287ef7], al
add byte [edi + 0x51], bl
push ebx
add esp, 4
add ecx, 0xd696
pop ecx
push ecx
push ecx
add esp, 4
sub ecx, 0x172dc
pop ecx
cmp dword [ebp - 0x1624], 0
jne 0x4068cb
invalid
invalid
invalid
clc