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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15f8
call fcn.004ac150
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x64]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
mov dword [ebp - 8], edi
cmovne eax, ecx
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42a8bd
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.0047de60
mov esi, dword [ebp + 8]
test esi, esi
je 0x42b007
movzx eax, word [esi]
test ax, ax
je 0x42b007
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42a8e6
xor edx, edx
cmp word [ecx], dx
cmove ecx, edx
mov dword [ebp + 0x10], ecx
xor ebx, ebx
mov dword [ebp + 8], esi
xor ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
test ebx, ebx
je 0x42a979
push str.find
push esi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42a96d
push str.explore
push esi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42a96d
push str.open
push esi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42a96d
push str.edit
push esi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42a96d
push str.print
push esi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42a96d
push str.properties
push esi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42a96d
mov dword [ebp - 0xc], ebx
xor edx, edx
jmp 0x42a9ba
mov edx, esi
mov ecx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp + 8], ecx
jmp 0x42a9bc
mov ebx, esi
mov edi, eax
nop dword [eax]
mov ecx, 0x4c678c
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x42aa38
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x42a990
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x42a980
xor edx, edx
mov edi, dword [ebp - 8]
mov ecx, esi
cmp byte [ebp + 0x24], 0
je 0x42aaf6
mov eax, dword [edi + 0x6e4]
test eax, eax
je 0x42a9d6
cmp dword [eax + 8], 0
jne 0x42a9fe
mov eax, dword [edi + 0x6f0]
test eax, eax
je 0x42a9e6
cmp dword [eax + 8], 0
jne 0x42a9fe
mov eax, dword [edi + 0x6fc]
test eax, eax
je 0x42aaf6
cmp dword [eax + 8], 0
je 0x42aaf6
mov byte [ebp + 0x27], 1
test edx, edx
je 0x42aafa
cmp byte [ebp + 0x14], 0
je 0x42b0f3
push 0
push 9
push 0x4b431c
push str.System_verbs_unsupported_with_RunAs.
mov ecx, edi
call fcn.00428b60
lea esp, [ebp - 0x1604]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
sub ebx, esi
sar ebx, 1
add ebx, ebx
lea eax, [ebx + 2]
call fcn.004ac040
mov eax, esp
push ebx
push esi
push eax
call fcn.00497340
mov edi, eax
add esp, 0xc
xor eax, eax
mov word [ebx + edi], ax
cmp word [edi], 0x2a
jne 0x42aa69
lea edx, [edi + 2]
mov dword [ebp - 0x10], edx
jmp 0x42aade
push str.find
push edi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42aad9
push str.explore
push edi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42aad9
push str.open
push edi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42aad9
push str.edit
push edi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42aad9
push str.print
push edi
call fcn.004979b3
add esp, 8
test eax, eax
je 0x42aad9
push str.properties
push edi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x42a9b5
mov edx, edi
mov dword [ebp - 0x10], edi
test edx, edx
je 0x42a9b7
mov edi, dword [ebp - 8]
lea ecx, [esi + 2]
add ecx, ebx
mov dword [ebp + 8], ecx
jmp 0x42a9bc
mov byte [ebp + 0x27], 0
mov edi, ecx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42ab00
sub edi, ecx
sar edi, 1
cmp edi, 0x4001
jb 0x42ab45
cmp byte [ebp + 0x14], al
je 0x42b0f3
mov ecx, dword [ebp - 8]
push 0
push 9
push 0x4b431c
push str.String_too_long.
call fcn.00428b60
lea esp, [ebp - 0x1604]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ebx, dword [ebp + 0x18]
test edx, edx
jne 0x42adf4
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0x44
xor eax, eax
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x7a], xmm0
movlpd qword [ebp - 0x72], xmm0
mov word [ebp - 0x6a], ax
mov dword [ebp - 0x80], 1
test ebx, ebx
je 0x42abae
cmp word [ebx], ax
je 0x42abae
mov ecx, ebx
call fcn.00414310
jmp 0x42abb3
mov eax, 1
mov word [ebp - 0x7c], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x24], xmm0
test eax, eax
je 0x42ac0a
cmp word [eax], 0
je 0x42ac0a
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42abd0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + edi]
lea eax, [eax*2 + 0x14]
call fcn.004ac040
mov eax, esp
push dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
push esi
push str._s__s
push eax
call fcn.0040d540
mov edx, dword [ebp + 0x18]
add esp, 0x10
jmp 0x42ac30
lea eax, [edi*2 + 2]
call fcn.004ac040
mov edx, esp
mov ecx, edx
mov dword [ebp + 0x18], edx
sub ecx, esi
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x42ac20
cmp byte [ebp + 0x27], 0
je 0x42adc2
mov ebx, dword [ebp + 0x10]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0xf0], xmm0
mov word [ebp - 0xb2], ax
mov ax, word [ebp - 0x7c]
movlpd qword [ebp - 0xe8], xmm0
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0xd8], xmm0
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xc2], xmm0
movlpd qword [ebp - 0xba], xmm0
mov dword [ebp - 0xf4], 0x44
mov dword [ebp - 0xc8], 1
mov word [ebp - 0xc4], ax
test ebx, ebx
je 0x42acaa
cmp word [ebx], 0
jne 0x42acac
xor ebx, ebx
mov edi, dword [ebp - 8]
mov ecx, 0x4b431c
mov eax, dword [edi + 0x6f0]
test eax, eax
je 0x42acc9
mov eax, dword [eax]
mov esi, ecx
test eax, eax
cmovne esi, eax
jmp 0x42acce
mov esi, 0x4b431c
mov eax, dword [edi + 0x6fc]
test eax, eax
je 0x42ace3
mov eax, dword [eax]
mov edx, ecx
test eax, eax
cmovne edx, eax
jmp 0x42ace8
mov edx, 0x4b431c
mov eax, dword [edi + 0x6e4]
test eax, eax
je 0x42acfb
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
jmp 0x42ad00
mov ecx, 0x4b431c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp + 0x18]
push ebx
push 0
push 0
push eax
push 0
push 1
push esi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x42ad57
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42ad35
push eax
call esi
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp + 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebx], eax
test edi, edi
je 0x42afe6
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00413da0
jmp 0x42afe6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov ebx, dword [ebp - 0xc]
cmp byte [ebp + 0x20], 0
je 0x42ad70
mov eax, dword [0x4d78c8]
mov dword [eax + 0x38], ecx
cmp byte [ebp + 0x14], 0
je 0x42b0f3
push 0
push 0x1ff
lea eax, [ebp - 0x5f4]
push eax
push 0
push ecx
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42b033
push ecx
push str._nVerb:___s_
lea eax, [ebp - 0x1f4]
push 0x80
push eax
call fcn.0047a7e0
add esp, 0x10
jmp 0x42b03c
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xac]
push eax
push esi
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42ad25
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42ae02
xor ecx, ecx
cmp byte [ebp + 0x27], cl
jne 0x42ad5f
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x5c], 0x440
mov dword [ebp - 0x48], esi
test ebx, ebx
je 0x42ae47
cmp word [ebx], 0
je 0x42ae47
mov ecx, ebx
call fcn.00414310
mov dword [ebp - 0x44], eax
jmp 0x42ae4e
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42ae6e
push str.properties
push eax
mov dword [ebp - 0x54], eax
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x42ae6e
or dword [ebp - 0x5c], 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x42afa7
lea eax, [edi*2 + 2]
call fcn.004ac040
mov ecx, dword [ebp + 8]
mov edi, esp
mov edx, edi
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x42ae90
cmp word [edi], 0x22
lea esi, [edi + 2]
jne 0x42aee1
push 0x22
push esi
call fcn.0049515e
add esp, 8
test eax, eax
je 0x42aee1
xor ecx, ecx
mov dword [ebp + 8], esi
mov word [eax], cx
movzx ecx, word [eax + 2]
test cx, cx
je 0x42afa7
lea ebx, [eax + 2]
cmp ecx, 0x20
jne 0x42afa7
add ebx, 2
jmp 0x42afa7
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42aeef
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x20
push esi
call fcn.0049515e
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42af82
lea esi, [ebx - 2]
cmp esi, edi
jbe 0x42af2c
nop dword [eax + eax]
movzx eax, word [esi]
push eax
push 0x4ccd88
call fcn.0049515e
add esp, 8
test eax, eax
jne 0x42af2c
sub esi, 2
cmp esi, edi
ja 0x42af10
cmp word [esi], 0x2e
jne 0x42af6e
xor eax, eax
mov word [ebx], ax
mov eax, ebx
sub eax, esi
and eax, 0xfffffffe
cmp eax, 8
jne 0x42af57
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.0047abc0
test eax, eax
jne 0x42b01b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42b01b
mov eax, 0x20
mov word [ebx], ax
lea eax, [ebx + 2]
push 0x20
push eax
call fcn.0049515e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42af04
mov ebx, dword [ebp - 0xc]
cmp dword [ebp + 0x10], 0
je 0x42afa7
mov eax, dword [0x4da9b0]
mov ecx, 0x4b431c
test eax, eax
je 0x42afa0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42b026
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
test eax, eax
je 0x42afe0
mov edi, dword [ebp + 0x28]
test edi, edi
je 0x42afe0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
mov ecx, edi
call fcn.00413da0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x20], 0
je 0x42aff8
mov eax, dword [0x4d78c8]
mov dword [eax + 0x38], 0
cmp dword [ebp + 0x1c], 0
jne 0x42b007
mov eax, dword [ebx]
test eax, eax
je 0x42b007
push eax
call esi
mov eax, 1
lea esp, [ebp - 0x1604]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [ebp + 8], edi
add ebx, 2
jmp 0x42af85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x42ad62
xor eax, eax
mov word [ebp - 0x1f4], ax
test ebx, ebx
mov edi, 0x4b431c
cmovne edi, ebx
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42b050
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 0x42b067
sub esi, ecx
mov ecx, 0x4c7074
sar esi, 1
mov eax, ecx
cmp edx, 0x190
mov edx, 0x4b431c
cmovbe eax, edx
cmp esi, 0x190
push eax
push edi
lea eax, [ebp - 0x1f4]
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 - 0x15f4]
push 0x800
push eax
call fcn.0047a7e0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x5f4]
add esp, 0x24
push 0
push 9
push eax
lea eax, [ebp - 0x15f4]
push eax
call fcn.00428b60
lea esp, [ebp - 0x1604]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
xor eax, eax
lea esp, [ebp - 0x1604]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24