Function at 0x406cc0
Capabilities:
Check for vm using instruction vpcext
Contain obfuscated stackstrings
Inspect section memory permissions
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71fd88
push 0x71ea50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d8
mov eax, dword [0x7577cc]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x290], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28c], ebx
xor esi, esi
mov dword [ebp - 0x288], esi
mov byte [ecx], 0
mov al, 0x67
mov byte [ebp - 0x29e], al
xor ecx, ecx
mov dword [ebp - 0x32c], ecx
mov edx, 3
mov dword [ebp - 0x38c], edx
mov edi, edi
cmp cx, dx
jge 0x406d6b
movzx eax, al
mov ebx, eax
shr ebx, 2
shl eax, 6
xor ebx, eax
xor eax, eax
mov al, bl
mov byte [ebp - 0x29e], al
movsx edi, cx
xor ebx, ebx
mov bl, byte [edi + 0x757204]
add ebx, eax
mov byte [ebp + edi - 0x298], bl
inc ecx
mov dword [ebp - 0x32c], ecx
xor ebx, ebx
jmp 0x406d30
lea eax, [ebp - 0x298]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x2fc], ebx
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2dc], ecx
lea edx, [ebp - 0x2fc]
push edx
call dword [0x71f118]
mov dword [ebp - 0x3e8], 0x40
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x3e4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3e8]
push eax
call dword [0x71f114]
cmp dword [ebp - 0x3dc], ebx
ja 0x406e02
jb 0x406df8
cmp dword [ebp - 0x3e0], 0x8000001
jae 0x406e02
or dword [ebp - 0x28c], 0x40000000
push 0x104
lea ecx, [ebp - 0x284]
push ecx
call dword [0x71f0d4]
mov byte [ebp - 0x281], 0
lea edx, [ebp - 0x2b0]
push edx
lea eax, [ebp - 0x2a8]
push eax
push ebx
lea ecx, [ebp - 0x284]
push ecx
call dword [0x71f110]
test eax, eax
jne 0x406e53
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2ac], ebx
cmp dword [ebp - 0x2a4], ebx
jne 0x406e65
or dword [ebp - 0x28c], 0x40000000
xor edi, edi
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b4], edi
lea edx, [ebp - 0x2b8]
push edx
call dword [0x71f1f0]
push edi
call dword [0x71f1f4]
mov edi, eax
mov dword [ebp - 0x394], edi
push 0xc
push edi
call dword [0x71f08c]
mov ebx, eax
mov dword [ebp - 0x334], ebx
push edi
push 0
call dword [0x71f1e8]
cmp ebx, 0x10
jge 0x406eb8
or dword [ebp - 0x28c], 0x40000000
mov dword [ebp - 0x370], 3
mov dword [ebp - 0x36c], 0xc5
mov dword [ebp - 0x368], 0xd1
mov dword [ebp - 0x364], 0x22
mov dword [ebp - 0x360], 0x6d
mov dword [ebp - 0x35c], 0xc0
mov dword [ebp - 0x358], 0x1e
mov dword [ebp - 0x354], 0x3b
mov dword [ebp - 0x350], 0x5b
mov eax, 0x2a85
mov dword [ebp - 0x31c], eax
xor cl, cl
mov byte [ebp - 0x29d], cl
cmp cl, 9
jge 0x406f53
movzx eax, ax
mov edx, eax
shr edx, 3
shl eax, 0xd
or eax, edx
mov dword [ebp - 0x31c], eax
movsx edi, cl
xor edx, edx
mov dl, byte [ebp + edi*4 - 0x370]
add edx, eax
mov byte [ebp + edi - 0x6c], dl
inc cl
jmp 0x406f1f
lea edx, [ebp - 0x6c]
mov ecx, 0x80000001
call fcn.00406960
mov dword [ebp - 0x2cc], eax
mov ecx, 0x43c274f2
mov dword [ebp - 0x338], ecx
xor al, al
mov byte [ebp - 0x29f], al
mov edx, 8
mov dword [ebp - 0x3a8], edx
cmp al, dl
jae 0x406fb0
sub ecx, 0x2910ecf9
mov dword [ebp - 0x338], ecx
movzx edi, al
xor ebx, ebx
mov bl, byte [edi*4 + 0x757208]
add ebx, ecx
mov byte [ebp + edi - 0x60], bl
inc al
mov byte [ebp - 0x29f], al
jmp 0x406f84
movzx eax, al
mov byte [ebp + eax - 0x60], 0
lea edx, [ebp - 0x60]
mov ecx, 0x80000002
call fcn.00406960
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 0x54], 0x1a
mov byte [ebp - 0x53], 0x1b
mov byte [ebp - 0x52], 0x1e
mov byte [ebp - 0x51], 0x83
mov byte [ebp - 0x50], 0x11
mov byte [ebp - 0x4f], 0xbb
mov byte [ebp - 0x4e], 0x1d
mov bl, 0xe9
mov byte [ebp - 0x4d], bl
mov byte [ebp - 0x4c], 0x63
mov byte [ebp - 0x4b], 0x96
mov byte [ebp - 0x4a], 0x3f
mov byte [ebp - 0x49], 0x5d
mov byte [ebp - 0x48], 0xf3
mov byte [ebp - 0x47], 0xe2
mov byte [ebp - 0x46], 0xc8
mov dl, 0xea
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x44], 0x55
mov byte [ebp - 0x43], 0x2e
mov cl, 0x43
mov byte [ebp - 0x42], cl
mov byte [ebp - 0x41], 0x99
mov byte [ebp - 0x40], 0x14
mov byte [ebp - 0x3f], 0xcd
mov byte [ebp - 0x3e], 0x4a
mov byte [ebp - 0x3d], 0xfb
mov al, 0x8d
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], 0xb1
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0xd3
mov byte [ebp - 0x37], 0xe5
mov byte [ebp - 0x36], 0xcb
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x34], 0x4b
mov byte [ebp - 0x33], 0x36
mov byte [ebp - 0x32], cl
mov byte [ebp - 0x31], 0x93
mov byte [ebp - 0x30], 0x22
mov byte [ebp - 0x2f], 0xd6
mov byte [ebp - 0x2e], 0x4f
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], 0xa8
mov byte [ebp - 0x2a], 0x4e
mov byte [ebp - 0x29], 0x49
mov byte [ebp - 0x28], 0xfe
mov byte [ebp - 0x27], 0xd9
mov byte [ebp - 0x26], 0xc7
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x24], 0x5a
mov byte [ebp - 0x23], 0x29
mov byte [ebp - 0x22], 0x3b
mov byte [ebp - 0x21], 0xa9
mov byte [ebp - 0x20], 0xbd
mov ecx, 0x70e2431a
mov dword [ebp - 0x324], ecx
xor eax, eax
mov dword [ebp - 0x328], eax
mov dl, 0x34
mov byte [ebp - 0x2c1], dl
lea ebx, [ebx]
movzx edi, dl
cmp eax, edi
jae 0x4070ef
mov edi, ecx
shr edi, 0x12
shl ecx, 0xe
or ecx, edi
mov dword [ebp - 0x324], ecx
xor ebx, ebx
mov bl, byte [ebp + eax - 0x53]
add ebx, ecx
mov byte [ebp + eax - 0xf4], bl
inc eax
mov dword [ebp - 0x328], eax
jmp 0x4070c0
lea edx, [ebp - 0xf4]
mov ecx, 0x80000002
call fcn.00406960
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x2cc], 8
jb 0x40711c
cmp dword [ebp - 0x2d4], 0xf
jb 0x40711c
cmp eax, 0x16
jae 0x407126
or dword [ebp - 0x28c], 0x20000000
push 0
mov edi, dword [0x71f1ec]
call edi
mov ebx, eax
mov dword [ebp - 0x344], ebx
push 1
call edi
mov dword [ebp - 0x33c], eax
cmp ebx, 0x320
jb 0x407151
cmp eax, 0x258
jae 0x40715b
or dword [ebp - 0x28c], 0x40000000
mov eax, 0x1e32157c
mov dword [ebp - 0x304], eax
xor ecx, ecx
mov dword [ebp - 0x308], ecx
xor edx, edx
mov dl, byte [0x757228]
xor edx, 0x7c
mov byte [ebp - 0x29c], dl
nop
movzx dx, dl
cmp cx, dx
jae 0x4071bd
mov edx, eax
shr edx, 0x1e
shl eax, 2
or eax, edx
mov dword [ebp - 0x304], eax
movzx edx, cx
xor ebx, ebx
mov bl, byte [edx*4 + 0x75722c]
xor ebx, eax
mov byte [ebp + edx - 0x134], bl
inc ecx
mov dword [ebp - 0x308], ecx
mov dl, byte [ebp - 0x29c]
jmp 0x407180
mov eax, 0x48a3
mov dword [ebp - 0x310], eax
xor cl, cl
mov byte [ebp - 0x29a], cl
cmp cl, 0x2f
jge 0x4071f8
add eax, 0xf47
mov dword [ebp - 0x310], eax
movsx edx, cl
xor ebx, ebx
mov bl, byte [edx + 0x71fc54]
sub ebx, eax
mov byte [ebp + edx - 0xc0], bl
inc cl
jmp 0x4071ca
mov eax, 0x1c5e838
mov dword [ebp - 0x320], eax
xor cl, cl
mov byte [ebp - 0x29b], cl
mov dword [ebp - 0x318], 0x4b
cmp cl, byte [ebp - 0x318]
jae 0x40724b
mov edx, eax
shr edx, 0x12
shl eax, 0xe
or eax, edx
mov dword [ebp - 0x320], eax
movzx edx, cl
xor ebx, ebx
mov bl, byte [edx + 0x71fc09]
xor ebx, eax
mov byte [ebp + edx - 0x180], bl
inc cl
mov byte [ebp - 0x29b], cl
jmp 0x407215
mov eax, dword [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x2b8]
push ecx
push 0x4f
call edi
push eax
push 0x4e
call edi
push eax
mov edx, dword [ebp - 0x334]
push edx
mov eax, dword [ebp - 0x33c]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
push 0x50
call edi
push eax
lea edx, [ebp - 0x134]
mov ecx, 0x80000001
call fcn.00406860
push eax
lea edx, [ebp - 0xc0]
mov ecx, 0x80000001
call fcn.00406860
push eax
mov edx, dword [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
push 0
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x3e0]
push eax
mov ecx, dword [ebp - 0x3dc]
push ecx
movzx edx, word [ebp - 0x2da]
push edx
movzx eax, word [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x290]
lea edx, [esi + ecx]
push edx
call dword [0x71f174]
add esp, 0x68
add esi, eax
xor edi, edi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x2d8], edi
cmp edi, 2
jg 0x4073ea
mov dword [ebp - 4], 1
test edi, edi
jne 0x407343
mov eax, 0x5658
jmp 0x407354
mov eax, edi
dec eax
neg eax
sbb eax, eax
and eax, 0xffffa9e7
add eax, 0x5659
mov dword [ebp - 0x348], eax
mov eax, 0x564d5868
xor ebx, ebx
mov ecx, 0xa
mov edx, dword [ebp - 0x348]
in eax, dx
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x300]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
mov edx, dword [ebp - 0x290]
lea eax, [esi + edx]
push eax
call dword [0x71f174]
add esp, 0xc
add esi, eax
mov dword [ebp - 0x288], esi
test edi, edi
jne 0x4073a7
or dword [ebp - 0x28c], 1
mov dword [ebp - 4], 0
jmp 0x4073cc
cmp edi, 2
setne cl
dec cl
and cl, 0xc
add cl, 0x2e
mov edx, dword [ebp - 0x290]
mov byte [esi + edx], cl
inc esi
inc edi
jmp 0x40731c
mov dword [ebp - 4], 2
xor ebx, ebx
xor eax, eax
inc eax
invalid