Function at 0x42eff0
Capabilities:
Create process on windows
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaf0
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x30]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
push ebx
cmovne eax, ecx
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [eax], 0
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42f029
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004759c0
mov esi, dword [ebp + 8]
test esi, esi
je 0x42f60e
cmp byte [esi], 0
je 0x42f60e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42f04e
xor ecx, ecx
cmp byte [eax], cl
cmove eax, ecx
mov dword [ebp + 0x10], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 0
test edi, edi
je 0x42f17b
push str.find
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f170
push str.explore
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f170
push str.open
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f170
push str.edit
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f170
push str.print
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f170
push str.properties
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f170
mov dword [ebp - 0xc], edi
mov edi, esi
xor ebx, ebx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x1c], ebx
cmp byte [ebp + 0x24], bl
je 0x42f245
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x634]
test eax, eax
je 0x42f117
cmp dword [eax + 8], ebx
jne 0x42f13c
mov eax, dword [ecx + 0x640]
test eax, eax
je 0x42f126
cmp dword [eax + 8], ebx
jne 0x42f13c
add ecx, 0x648
call fcn.0042f740
test al, al
jne 0x42f245
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov byte [ebp + 0x27], 1
test edx, edx
je 0x42f24b
cmp byte [ebp + 0x14], bl
je 0x42f15f
push 0x49e065
push str.System_verbs_unsupported_with_RunAs.
call fcn.0042e360
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], edi
jmp 0x42f0f3
mov edx, 0x4a0c84
mov ecx, esi
call fcn.0040a9c0
mov ebx, eax
test ebx, ebx
je 0x42f0f1
sub ebx, esi
lea eax, [ebx + 1]
call fcn.004903b0
mov eax, esp
push ebx
push esi
push eax
call fcn.0048e4b0
mov edi, eax
add esp, 0xc
mov byte [edi + ebx], 0
cmp byte [edi], 0x2a
jne 0x42f1bb
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
jmp 0x42f230
push str.find
push edi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f22b
push str.explore
push edi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f22b
push str.open
push edi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f22b
push str.edit
push edi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f22b
push str.print
push edi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x42f22b
push str.properties
push edi
call fcn.004855c8
add esp, 8
test eax, eax
jne 0x42f0f1
mov eax, edi
mov dword [ebp - 0x14], edi
test eax, eax
je 0x42f0f1
lea edi, [esi + 1]
add edi, ebx
mov dword [ebp - 8], edi
jmp 0x42f0f3
mov edx, dword [ebp - 0x14]
mov byte [ebp + 0x27], bl
lea ecx, [edi + 1]
mov edi, edi
mov al, byte [edi]
inc edi
test al, al
jne 0x42f250
sub edi, ecx
cmp edi, 0x4001
jb 0x42f28d
cmp byte [ebp + 0x14], bl
je 0x42f15f
mov ecx, dword [ebp - 0x18]
push 0x49e065
push str.String_too_long.
call fcn.0042e360
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
test edx, edx
jne 0x42f383
push 0x40
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0048fd00
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 1
test ecx, ecx
je 0x42f2cd
cmp byte [ecx], bl
je 0x42f2cd
call fcn.00415c10
jmp 0x42f2d2
mov eax, 1
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov word [ebp - 0x84], ax
movdqu xmmword [ebp - 0x2c], xmm0
test ebx, ebx
je 0x42f31f
cmp byte [ebx], 0
je 0x42f31f
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f2f2
sub ecx, edx
lea eax, [edi + 0xa]
add eax, ecx
call fcn.004903b0
mov eax, esp
push ebx
push esi
push str._s__s
push eax
mov dword [ebp + 0xc], eax
call fcn.00485e6d
mov edx, dword [ebp + 0xc]
add esp, 0x10
jmp 0x42f33d
lea eax, [edi + 1]
call fcn.004903b0
mov edx, esp
mov ecx, edx
sub ecx, esi
lea ecx, [ecx]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x42f330
cmp byte [ebp + 0x27], 0
je 0x42f3c9
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x28]
push dword [ebp - 0x84]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edx
call fcn.0044ea30
test eax, eax
je 0x42f15f
cmp byte [ebp + 0xb], 0
jne 0x42f5e4
mov ebx, dword [ebp - 0x1c]
cmp byte [ebp + 0x27], 0
jne 0x42f634
mov ebx, dword [ebp + 0x10]
push 0x38
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0048fd00
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x440
mov dword [ebp - 0x54], ebx
test eax, eax
je 0x42f42c
cmp byte [eax], 0
je 0x42f42c
mov ecx, eax
call fcn.00415c10
mov dword [ebp - 0x50], eax
jmp 0x42f433
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb4]
push eax
push ebx
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42f421
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42f3ff
push eax
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42f5ed
push dword [ebp - 0x24]
mov ecx, eax
call fcn.004024b0
jmp 0x42f5ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42f390
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42f453
push str.properties
push eax
mov dword [ebp - 0x60], eax
call fcn.004855c8
add esp, 8
test eax, eax
jne 0x42f453
or dword [ebp - 0x68], 0xc
cmp dword [ebp - 0xc], 0
jne 0x42f570
lea eax, [edi + 1]
call fcn.004903b0
mov ecx, dword [ebp - 8]
mov edi, esp
mov edx, edi
sub edx, ecx
mov edi, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x42f470
cmp byte [edi], 0x22
jne 0x42f4bd
lea esi, [edi + 1]
push 0x22
push esi
call fcn.00486ac4
add esp, 8
test eax, eax
je 0x42f4bd
mov byte [eax], 0
cmp byte [eax + 1], 0
mov dword [ebp - 8], esi
je 0x42f56b
cmp byte [eax + 1], 0x20
lea ebx, [eax + 1]
mov dword [ebp - 0xc], ebx
jne 0x42f576
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x42f576
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test ebx, ebx
je 0x42f4ca
push ebx
call esi
lea eax, [edi + 1]
push 0x20
push eax
call fcn.00486ac4
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42f54a
mov edi, edi
lea esi, [ebx - 1]
cmp esi, edi
jbe 0x42f501
movsx eax, byte [esi]
push eax
push 0x4a3830
call fcn.00486ac4
add esp, 8
test eax, eax
jne 0x42f501
dec esi
cmp esi, edi
ja 0x42f4e7
cmp byte [esi], 0x2e
jne 0x42f530
mov eax, ebx
mov byte [ebx], 0
sub eax, esi
cmp eax, 4
jne 0x42f522
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.00472e50
test eax, eax
jne 0x42f55c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x42f55c
mov byte [ebx], 0x20
lea eax, [ebx + 1]
push 0x20
push eax
call fcn.00486ac4
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42f4e0
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ebx, dword [ebp - 0xc]
cmp dword [ebp + 0x10], 0
je 0x42f573
push 0x4aef88
call esi
jmp 0x42f573
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
inc ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
jmp 0x42f54d
mov ebx, dword [ebp - 0xc]
jmp 0x42f576
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x5c], esi
push eax
mov dword [ebp - 0x58], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x42f62c
mov eax, dword [0x4b25d8]
test al, 1
jne 0x42f5bd
push str.GetProcessId
or eax, 1
push str.kernel32.dll
mov dword [0x4b25d8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b25dc], eax
jmp 0x42f5c2
mov eax, dword [0x4b25dc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [edx], ecx
test ecx, ecx
je 0x42f622
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x42f622
test eax, eax
je 0x42f622
push ecx
call eax
push eax
mov ecx, ebx
call fcn.004024b0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
cmp byte [ebp + 0x20], 0
je 0x42f5ff
mov eax, dword [0x4ac1d8]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x42f60e
mov ecx, dword [ecx]
test ecx, ecx
je 0x42f60e
push ecx
call esi
mov eax, 1
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edx
jmp 0x42f5ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp byte [ebp + 0x20], 0
je 0x42f643
mov ecx, dword [0x4ac1d8]
mov dword [ecx + 0x30], ebx
cmp byte [ebp + 0x14], 0
je 0x42f15f
push 0
push 0x1ff
lea eax, [ebp - 0x2ec]
push eax
push 0
push ebx
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42f68e
push eax
push str._nVerb:___s_
lea eax, [ebp - 0xec]
push 0x80
push eax
call fcn.00472ab0
add esp, 0x10
jmp 0x42f695
mov byte [ebp - 0xec], 0
mov eax, dword [ebp - 0xc]
mov edi, 0x49e065
test eax, eax
cmovne edi, eax
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42f6a7
mov ebx, dword [ebp - 8]
sub edx, ecx
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42f6b8
sub esi, ecx
cmp edx, 0x190
mov ecx, 0x4a0ffc
mov edx, 0x49e065
mov eax, ecx
cmovbe eax, edx
cmp esi, 0x190
push eax
push edi
lea eax, [ebp - 0xec]
cmovbe ecx, edx
cmp byte [ebp + 0x27], 0
push eax
push ecx
push ebx
mov ecx, str.Failed_attempt_to_launch_program_or_document:
mov eax, str.Launch_Error__possibly_related_to_RunAs_:
cmove eax, ecx
push eax
push str._s_nAction:____0.400s_s__s_nParams:____0.400s_s_
lea eax, [ebp - 0xaec]
push 0x800
push eax
call fcn.00472ab0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2ec]
add esp, 0x24
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.0042e360
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24