Function at 0x401220
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d7ec
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x43b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x42f220
call fcn.00412ddc
add esp, 4
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404a30
mov dword [ebp - 4], 0
push str.System32_vmGuestLib.dll
lea ecx, [ebp - 0xc0]
call fcn.00406320
push str.SystemRoot
call fcn.00412ddc
add esp, 4
push eax
lea ecx, [ebp - 0xd8]
call fcn.00404a30
mov byte [ebp - 4], 1
push str.System32_vboxmrxnp.dll
lea ecx, [ebp - 0xd8]
call fcn.00406320
lea ecx, [ebp - 0xa8]
call fcn.00404c90
mov byte [ebp - 4], 2
push 0x42f26c
push str.TASKLIST__FI__STATUS_eq_RUNNING___find__V__Image_Name___find__V___
call fcn.00413b44
add esp, 8
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
push eax
push 0x80
lea ecx, [ebp - 0x90]
push ecx
call fcn.0041344a
add esp, 0xc
test eax, eax
je 0x401303
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00406320
nop
jmp 0x4012cf
mov eax, dword [ebp - 0x10c]
push eax
call fcn.00413a6d
add esp, 4
lea ecx, [ebp - 0x108]
call fcn.00404ed0
mov byte [ebp - 4], 3
mov dword [ebp - 0xfc], 0
mov ecx, dword [ebp - 0xfc]
push ecx
push 0x42f2b8
lea ecx, [ebp - 0xa8]
call fcn.00409800
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0xffffffff
je 0x4013bb
mov edx, dword [ebp - 0xfc]
add edx, 4
push edx
push 0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040a320
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x108]
call fcn.00409db0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
call fcn.00405740
nop
mov eax, dword [ebp - 0xfc]
add eax, 4
mov dword [ebp - 0xfc], eax
jmp 0x40132b
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x108]
call fcn.004095e0
mov edx, dword [eax]
mov dword [ebp - 0x11c], edx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x108]
call fcn.00408390
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
push str.VMwareService.exe
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.00404160
add esp, 0x10
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x108]
call fcn.004095e0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x128]
call fcn.004060f0
movzx ecx, al
test ecx, ecx
jne 0x4014d9
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x108]
call fcn.004095e0
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x108]
call fcn.00408390
mov edx, dword [eax]
mov dword [ebp - 0x140], edx
push str.VMwareTray.exe
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.00404160
add esp, 0x10
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x108]
call fcn.004095e0
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x138]
call fcn.004060f0
movzx edx, al
test edx, edx
je 0x401550
push str.VMwareService.exe__VMwareTray.exe_process_are_running
mov ecx, 0x43c1c8
call fcn.00405e30
mov dword [ebp - 0x148], eax
push 0x4040c0
mov ecx, dword [ebp - 0x148]
call fcn.00405e10
nop
mov byte [ebp - 0xf5], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.00405870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00405740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00405740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00405740
mov al, byte [ebp - 0xf5]
jmp 0x401757
lea ecx, [ebp - 0xc0]
call fcn.00408400
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4015de
push str.Vmware_DLL_Detected
mov ecx, 0x43c1c8
call fcn.00405e30
mov dword [ebp - 0x12c], eax
push 0x4040c0
mov ecx, dword [ebp - 0x12c]
call fcn.00405e10
nop
mov byte [ebp - 0xf1], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.00405870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00405740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00405740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00405740
mov al, byte [ebp - 0xf1]
jmp 0x401757
lea ecx, [ebp - 0xd8]
call fcn.00408400
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40166c
push str.VirtualBox_DLL_Detected
mov ecx, 0x43c1c8
call fcn.00405e30
mov dword [ebp - 0x130], eax
push 0x4040c0
mov ecx, dword [ebp - 0x130]
call fcn.00405e10
nop
mov byte [ebp - 0xf2], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.00405870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00405740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00405740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00405740
mov al, byte [ebp - 0xf2]
jmp 0x401757
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x40170b
push str.Sandboxie_DLL_Detected
mov ecx, 0x43c1c8
call fcn.00405e30
mov dword [ebp - 0x134], eax
push 0x4040c0
mov ecx, dword [ebp - 0x134]
call fcn.00405e10
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov byte [ebp - 0xf3], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.00405870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00405740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00405740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00405740
mov al, byte [ebp - 0xf3]
jmp 0x401757
mov byte [ebp - 0xf4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.00405870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00405740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00405740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00405740
mov al, byte [ebp - 0xf4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dd98
mov esp, ebp
pop ebp
ret