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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431902
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x43f080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x433720
call fcn.0041605c
add esp, 4
push eax
lea ecx, [ebp - 0xd8]
call fcn.00405d90
mov dword [ebp - 4], 0
push str.System32_vmGuestLib.dll
lea ecx, [ebp - 0xd8]
call fcn.00407d70
push str.SystemRoot
call fcn.0041605c
add esp, 4
push eax
lea ecx, [ebp - 0xc0]
call fcn.00405d90
mov byte [ebp - 4], 1
push str.System32_vboxmrxnp.dll
lea ecx, [ebp - 0xc0]
call fcn.00407d70
lea ecx, [ebp - 0xa8]
call fcn.00405ff0
mov byte [ebp - 4], 2
push 0x43376c
push str.TASKLIST__FI__STATUS_eq_RUNNING___find__V__Image_Name___find__V___
call fcn.004180f6
add esp, 8
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
push eax
push 0x80
lea ecx, [ebp - 0x90]
push ecx
call fcn.00416ecc
add esp, 0xc
test eax, eax
je 0x401323
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00407d70
nop
jmp 0x4012ef
mov eax, dword [ebp - 0x124]
push eax
call fcn.0041801f
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.00406450
mov byte [ebp - 4], 3
mov dword [ebp - 0x114], 0
mov ecx, dword [ebp - 0x114]
push ecx
push 0x4337b8
lea ecx, [ebp - 0xa8]
call fcn.0040c550
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x4013db
mov edx, dword [ebp - 0x114]
add edx, 4
push edx
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040dd20
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x164]
push edx
lea ecx, [ebp - 0x120]
call fcn.0040d350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.00406fe0
nop
mov eax, dword [ebp - 0x114]
add eax, 4
mov dword [ebp - 0x114], eax
jmp 0x40134b
lea ecx, [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x120]
call fcn.0040c210
mov edx, dword [eax]
mov dword [ebp - 0x168], edx
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040ad40
mov ecx, dword [eax]
mov dword [ebp - 0x16c], ecx
push str.VMwareService.exe
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x198]
push ecx
call fcn.00404d70
add esp, 0x10
mov dword [ebp - 0x174], eax
lea edx, [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x120]
call fcn.0040c210
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x174]
call fcn.00407a60
movzx ecx, al
test ecx, ecx
jne 0x4014f9
lea edx, [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x120]
call fcn.0040c210
mov eax, dword [eax]
mov dword [ebp - 0x178], eax
lea ecx, [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x120]
call fcn.0040ad40
mov edx, dword [eax]
mov dword [ebp - 0x130], edx
push str.VMwareTray.exe
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call fcn.00404d70
add esp, 0x10
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040c210
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x138]
call fcn.00407a60
movzx edx, al
test edx, edx
je 0x401570
push str.VMwareService.exe__VMwareTray.exe_process_are_running
mov ecx, 0x4402c8
call fcn.004077a0
mov dword [ebp - 0x13c], eax
push 0x404cd0
mov ecx, dword [ebp - 0x13c]
call fcn.00407780
nop
mov byte [ebp - 0x109], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00407150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00406fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00406fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00406fe0
mov al, byte [ebp - 0x109]
jmp 0x40194b
lea ecx, [ebp - 0xd8]
call fcn.0040adb0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4015fe
push str.Vmware_DLL_Detected
mov ecx, 0x4402c8
call fcn.004077a0
mov dword [ebp - 0x140], eax
push 0x404cd0
mov ecx, dword [ebp - 0x140]
call fcn.00407780
nop
mov byte [ebp - 0x10a], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00407150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00406fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00406fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00406fe0
mov al, byte [ebp - 0x10a]
jmp 0x40194b
lea ecx, [ebp - 0xc0]
call fcn.0040adb0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40168c
push str.VirtualBox_DLL_Detected
mov ecx, 0x4402c8
call fcn.004077a0
mov dword [ebp - 0x144], eax
push 0x404cd0
mov ecx, dword [ebp - 0x144]
call fcn.00407780
nop
mov byte [ebp - 0x10b], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00407150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00406fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00406fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00406fe0
mov al, byte [ebp - 0x10b]
jmp 0x40194b
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x40172e
push str.Sandboxie_DLL_Detected
mov ecx, 0x4402c8
call fcn.004077a0
mov dword [ebp - 0x148], eax
push 0x404cd0
mov ecx, dword [ebp - 0x148]
call fcn.00407780
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov byte [ebp - 0x10c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00407150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00406fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00406fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00406fe0
mov al, byte [ebp - 0x10c]
jmp 0x40194b
push 1
push 0x40
push 1
push str.https:__pastebin.com_raw_Xe5WMsTU
lea ecx, [ebp - 0x260]
call fcn.00405850
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.0040cac0
movzx ecx, al
test ecx, ecx
je 0x4018ca
lea ecx, [ebp - 0xf0]
call fcn.00405ff0
mov byte [ebp - 4], 6
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00405040
add esp, 8
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x12c]
add ecx, dword [edx + 4]
call fcn.00407b40
movzx eax, al
test eax, eax
je 0x4018ad
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x120]
call fcn.0040c210
mov edx, dword [eax]
mov dword [ebp - 0x14c], edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040ad40
mov ecx, dword [eax]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
lea edx, [ebp - 0x188]
push edx
call fcn.00404de0
add esp, 0x10
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040c210
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
push ecx
mov ecx, dword [ebp - 0x158]
call fcn.00407a60
movzx edx, al
test edx, edx
je 0x4018a8
mov byte [ebp - 0x10d], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call fcn.00406fe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.00407d90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00407150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00406fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00406fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00406fe0
mov al, byte [ebp - 0x10d]
jmp 0x40194b
jmp 0x40176d
lea ecx, [ebp - 0x260]
call fcn.0040afa0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call fcn.00406fe0
nop
jmp 0x4018f0
push str.asdasdasd
mov ecx, 0x440378
call fcn.004077a0
mov dword [ebp - 0x15c], eax
push 0x404cd0
mov ecx, dword [ebp - 0x15c]
call fcn.00407780
nop
mov byte [ebp - 0x10e], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.00407d90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00407150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00406fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00406fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00406fe0
mov al, byte [ebp - 0x10e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041101a
mov esp, ebp
pop ebp
ret