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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15b8
call fcn.004a4980
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
push ebx
cmovne eax, ecx
mov dword [ebp - 0xc], eax
push esi
push edi
mov dword [eax], 0
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42e08d
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.00475930
mov esi, dword [ebp + 8]
test esi, esi
je 0x42e6ec
cmp word [esi], 0
je 0x42e6ec
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42e0b4
xor ecx, ecx
cmp word [eax], cx
cmove eax, ecx
mov dword [ebp + 0x10], eax
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
test ebx, ebx
je 0x42e14d
push str.find
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e13e
push str.explore
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e13e
push str.open
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e13e
push str.edit
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e13e
push str.print
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e13e
push str.properties
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e13e
mov dword [ebp - 0x10], ebx
jmp 0x42e215
mov edi, esi
mov ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], ecx
jmp 0x42e217
mov edx, 0x4bfc0c
mov ecx, esi
call fcn.0040ab90
test eax, eax
je 0x42e215
sub eax, esi
sar eax, 1
lea ebx, [eax + eax]
lea eax, [ebx + 2]
call fcn.004a4700
mov eax, esp
push ebx
push esi
push eax
call fcn.0048ea30
mov edi, eax
add esp, 0xc
xor eax, eax
mov word [ebx + edi], ax
cmp word [edi], 0x2a
jne 0x42e190
add edi, 2
jmp 0x42e1fc
push str.find
push edi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e1fc
push str.explore
push edi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e1fc
push str.open
push edi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e1fc
push str.edit
push edi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e1fc
push str.print
push edi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x42e1fc
push str.properties
push edi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x42e210
mov dword [ebp - 0x18], edi
test edi, edi
je 0x42e212
lea ecx, [esi + 2]
add ecx, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
jmp 0x42e217
xor edi, edi
mov ebx, dword [ebp + 0xc]
mov ecx, esi
xor edx, edx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x1c], edx
cmp byte [ebp + 0x24], dl
je 0x42e28f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xaec]
test eax, eax
je 0x42e237
cmp dword [eax + 8], edx
jne 0x42e25b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xaf8]
test eax, eax
je 0x42e249
cmp dword [eax + 8], edx
jne 0x42e25b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb04]
test eax, eax
je 0x42e28f
cmp dword [eax + 8], edx
je 0x42e28f
mov byte [ebp + 0x27], 1
test edi, edi
je 0x42e292
cmp byte [ebp + 0x14], dl
je 0x42e810
mov ecx, dword [ebp - 0x14]
push 0x4ac22c
push str.System_verbs_unsupported_with_RunAs.
call fcn.0042d580
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov byte [ebp + 0x27], dl
mov edi, ecx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42e297
sub edi, ecx
sar edi, 1
cmp edi, 0x4001
jb 0x42e2da
cmp byte [ebp + 0x14], dl
je 0x42e810
mov ecx, dword [ebp - 0x14]
push 0x4ac22c
push str.String_too_long.
call fcn.0042d580
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [ebp - 0x18], edx
jne 0x42e416
mov ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x82], xmm0
movlpd qword [ebp - 0x7a], xmm0
mov word [ebp - 0x72], ax
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 1
test ecx, ecx
je 0x42e348
cmp word [ecx], ax
je 0x42e348
call fcn.004149c0
jmp 0x42e34d
mov eax, 1
mov word [ebp - 0x84], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
test ebx, ebx
je 0x42e3a4
cmp word [ebx], 0
je 0x42e3a4
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e370
sub ecx, edx
sar ecx, 1
lea eax, [ecx + edi]
lea eax, [eax*2 + 0x14]
call fcn.004a4700
mov ebx, esp
push dword [ebp + 0xc]
push esi
push str._s__s
push ebx
call fcn.004053a0
add esp, 0x10
jmp 0x42e3d0
lea eax, [edi*2 + 2]
call fcn.004a4700
mov ebx, esp
mov ecx, ebx
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x42e3c0
cmp byte [ebp + 0x27], 0
je 0x42e470
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
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 ebx
call fcn.0044ff40
test eax, eax
je 0x42e810
cmp byte [ebp + 0xb], 0
jne 0x42e6c2
mov edx, dword [ebp - 0x1c]
cmp byte [ebp + 0x27], 0
jne 0x42e70a
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x10]
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x50], ebx
test eax, eax
je 0x42e4d5
cmp word [eax], 0
je 0x42e4d5
mov ecx, eax
call fcn.004149c0
mov dword [ebp - 0x4c], eax
jmp 0x42e4dc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb4]
push eax
push dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42e4ca
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42e4a5
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42e6cb
push dword [ebp - 0x24]
mov ecx, eax
call fcn.00401c00
mov ecx, dword [ebp - 0xc]
jmp 0x42e6cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42e420
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42e4fc
push str.properties
push eax
mov dword [ebp - 0x5c], eax
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x42e4fc
or dword [ebp - 0x64], 0xc
cmp dword [ebp - 0x10], 0
jne 0x42e628
lea eax, [edi*2 + 2]
call fcn.004a4700
mov ecx, dword [ebp - 8]
mov edi, esp
mov edx, edi
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x42e520
cmp word [edi], 0x22
lea esi, [edi + 2]
jne 0x42e571
push 0x22
push esi
call fcn.0048c759
add esp, 8
test eax, eax
je 0x42e571
xor ecx, ecx
mov dword [ebp - 8], esi
mov word [eax], cx
movzx ecx, word [eax + 2]
test cx, cx
je 0x42e628
lea ebx, [eax + 2]
cmp ecx, 0x20
jne 0x42e62b
add ebx, 2
jmp 0x42e62b
test ebx, ebx
je 0x42e57c
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x20
push esi
call fcn.0048c759
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42e60a
lea esi, [ebx - 2]
cmp esi, edi
jbe 0x42e5bc
nop dword [eax + eax]
movzx eax, word [esi]
push eax
push 0x4c500c
call fcn.0048c759
add esp, 8
test eax, eax
jne 0x42e5bc
sub esi, 2
cmp esi, edi
ja 0x42e5a0
cmp word [esi], 0x2e
jne 0x42e5f6
xor eax, eax
mov word [ebx], ax
mov eax, ebx
sub eax, esi
and eax, 0xfffffffe
cmp eax, 8
jne 0x42e5e3
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.004730c0
test eax, eax
jne 0x42e620
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42e620
mov eax, 0x20
mov word [ebx], ax
lea eax, [ebx + 2]
push 0x20
push eax
call fcn.0048c759
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42e591
mov ebx, dword [ebp - 0x10]
cmp dword [ebp + 0x10], 0
je 0x42e62b
push 0x4d1460
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x42e62b
mov dword [ebp - 8], edi
add ebx, 2
jmp 0x42e60d
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x54], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42e700
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4d60d4]
cmp eax, dword [ecx + 4]
jle 0x42e69a
push 0x4d60d4
call fcn.0048b5e3
add esp, 4
cmp dword [0x4d60d4], 0xffffffff
jne 0x42e69a
push str.GetProcessId
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d60d4
mov dword [0x4d60d8], eax
call fcn.0048b599
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
test eax, eax
je 0x42e6c5
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x42e6c5
mov ecx, dword [0x4d60d8]
test ecx, ecx
je 0x42e6c2
push eax
call ecx
push eax
mov ecx, ebx
call fcn.00401c00
mov ecx, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x20], 0
je 0x42e6dd
mov eax, dword [0x4ce8c8]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x42e6ec
mov eax, dword [ecx]
test eax, eax
je 0x42e6ec
push eax
call esi
mov eax, 1
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x42e70d
mov ebx, dword [ebp - 0x10]
cmp byte [ebp + 0x20], 0
je 0x42e71c
mov ecx, dword [0x4ce8c8]
mov dword [ecx + 0x30], edx
cmp byte [ebp + 0x14], 0
je 0x42e810
push 0
push 0x1ff
lea eax, [ebp - 0x5b4]
push eax
push 0
push edx
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42e767
push eax
push str._nVerb:___s_
lea eax, [ebp - 0x1b4]
push 0x80
push eax
call fcn.00472ce0
add esp, 0x10
jmp 0x42e770
xor eax, eax
mov word [ebp - 0x1b4], ax
test ebx, ebx
mov edi, 0x4ac22c
cmovne edi, ebx
mov edx, edi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42e780
mov ebx, dword [ebp - 8]
sub edx, ecx
mov esi, ebx
sar edx, 1
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e797
sub esi, ecx
mov ecx, 0x4c0260
sar esi, 1
mov eax, ecx
cmp edx, 0x190
mov edx, 0x4ac22c
cmovbe eax, edx
cmp esi, 0x190
push eax
push edi
lea eax, [ebp - 0x1b4]
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 - 0x15b4]
push 0x800
push eax
call fcn.00472ce0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x5b4]
add esp, 0x24
push eax
lea eax, [ebp - 0x15b4]
push eax
call fcn.0042d580
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24