Function at 0x47caa8
Capabilities:
Check if file exists

Disassembly:
push 0x98
mov eax, 0x5e3fa3
call fcn.00593b07
mov esi, ecx
push esi
push 0x48b
mov ebx, str.EscapeVirtualization
push ebx
push str.__s__d___EscapeVirtualization_excute_type___d
call fcn.0040a649
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0x10
push str.sftldr_wow64.dll
call edi
test eax, eax
jne 0x47cb6c
push str.sftldr.dll
call edi
test eax, eax
jne 0x47cb6c
call fcn.004c5a14
test al, al
jne 0x47cb6c
push 0x62b23c
lea ecx, [ebp - 0x58]
call fcn.0040b0d5
mov dword [ebp - 4], 9
cmp esi, 1
jne 0x47cb1b
mov esi, 0x64a1bc
jmp 0x47cb25
cmp esi, 2
jne 0x47cb36
mov esi, str._like
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.0040b220
lea ecx, [ebp - 0x58]
call fcn.004c6c97
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push 0x4b3
push ebx
push str.__s__d___WmiLaunchProcess_no_excute__s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.0040b67e
xor al, al
jmp 0x47cd0a
push 0x494
push ebx
push str.__s__d___EscapeVirtualization_excute
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004c2598
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x47cba7
mov edi, 0x62b0fc
push edi
call fcn.005baec0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
cmp esi, 1
jne 0x47cbc7
mov esi, 0x64a1bc
jmp 0x47cbd1
cmp esi, 2
jne 0x47cbe2
mov esi, str._like
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b566
lea eax, [ebp - 0x28]
mov esi, 0x62cf58
push eax
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.00440e2c
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.0041151f
push 0x62b23c
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0041151f
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0040b220
mov byte [ebp - 0xa4], bl
lea ecx, [ebp - 0x70]
push dword [ebp - 0xa4]
mov dword [ebp - 0x60], ebx
push eax
mov dword [ebp - 0x5c], ebx
call fcn.0040b632
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
call fcn.0040b67e
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.0040b67e
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov esi, str.EscapeVirtualization
cmovae eax, dword [ebp - 0x70]
push eax
push 0x4a1
push esi
push str.__s__d___WmiLaunchProcess_excute_strCmdLine___s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47ccee
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004302c7
pop ecx
test eax, eax
je 0x47ccee
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x70]
call fcn.004383a4
test al, al
jne 0x47ccee
push 0x4a6
push esi
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x47ccf0
mov bl, 1
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov al, bl
call fcn.00593ab1
ret