Function at 0x4077f0
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x45e022
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4754f4]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push esi
push edi
mov eax, dword [0x4754f4]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edi, ecx
lea esi, [edi + 0x518]
push esi
call ebp
test eax, eax
je 0x40793b
push 0x103
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.004314b0
push esi
push str.wscript___s_
lea edx, [esp + 0x38]
call fcn.00402740
add esp, 0x14
push 1
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push esi
lea ecx, [esp + 0x1c]
call fcn.00402eb0
push eax
lea edx, [esp + 0x18]
push str.RunVbs____:
push edx
mov dword [esp + 0x244], 0
call fcn.004023e0
push 0x465a78
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x250], 1
call fcn.00402300
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407934
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x407af3
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407955
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
add edi, 4
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x23c], 2
call fcn.00402eb0
push str.i8vbs.vbs
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x244], 3
call fcn.00402300
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 4
call fcn.004030c0
mov byte [esp + 0x238], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4079d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push esi
call ebp
test eax, eax
je 0x407aca
push 0x103
lea ecx, [esp + 0x12d]
push 0
push ecx
mov byte [esp + 0x134], 0
call fcn.004314b0
push esi
push str.wscript___s_
lea edx, [esp + 0x13c]
call fcn.00402740
add esp, 0x14
push 1
lea edx, [esp + 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push str.RunVbs____:
push ecx
call fcn.004023e0
push 0x465a78
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x250], 5
call fcn.00402300
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407aa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407aca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407af1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0042d298
add esp, 0x22c
ret