Function at 0x42db10
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 0x42db49
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004744e0
mov esi, dword [ebp + 8]
test esi, esi
je 0x42e12e
cmp byte [esi], 0
je 0x42e12e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42db6e
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 0x42dc9b
push str.find
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dc90
push str.explore
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dc90
push str.open
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dc90
push str.edit
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dc90
push str.print
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dc90
push str.properties
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dc90
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 0x42dd65
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x634]
test eax, eax
je 0x42dc37
cmp dword [eax + 8], ebx
jne 0x42dc5c
mov eax, dword [ecx + 0x640]
test eax, eax
je 0x42dc46
cmp dword [eax + 8], ebx
jne 0x42dc5c
add ecx, 0x648
call fcn.0042e260
test al, al
jne 0x42dd65
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov byte [ebp + 0x27], 1
test edx, edx
je 0x42dd6b
cmp byte [ebp + 0x14], bl
je 0x42dc7f
push 0x49bc4d
push str.System_verbs_unsupported_with_RunAs.
call fcn.0042ce80
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 0x42dc13
mov edx, 0x49e8b4
mov ecx, esi
call fcn.00409840
mov ebx, eax
test ebx, ebx
je 0x42dc11
sub ebx, esi
lea eax, [ebx + 1]
call fcn.0048eed0
mov eax, esp
push ebx
push esi
push eax
call fcn.0048cfd0
mov edi, eax
add esp, 0xc
mov byte [edi + ebx], 0
cmp byte [edi], 0x2a
jne 0x42dcdb
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
jmp 0x42dd50
push str.find
push edi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dd4b
push str.explore
push edi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dd4b
push str.open
push edi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dd4b
push str.edit
push edi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dd4b
push str.print
push edi
call fcn.00484212
add esp, 8
test eax, eax
je 0x42dd4b
push str.properties
push edi
call fcn.00484212
add esp, 8
test eax, eax
jne 0x42dc11
mov eax, edi
mov dword [ebp - 0x14], edi
test eax, eax
je 0x42dc11
lea edi, [esi + 1]
add edi, ebx
mov dword [ebp - 8], edi
jmp 0x42dc13
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 0x42dd70
sub edi, ecx
cmp edi, 0x4001
jb 0x42ddad
cmp byte [ebp + 0x14], bl
je 0x42dc7f
mov ecx, dword [ebp - 0x18]
push 0x49bc4d
push str.String_too_long.
call fcn.0042ce80
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
test edx, edx
jne 0x42dea3
push 0x40
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0048e820
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 1
test ecx, ecx
je 0x42dded
cmp byte [ecx], bl
je 0x42dded
call fcn.00414a90
jmp 0x42ddf2
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 0x42de3f
cmp byte [ebx], 0
je 0x42de3f
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42de12
sub ecx, edx
lea eax, [edi + 0xa]
add eax, ecx
call fcn.0048eed0
mov eax, esp
push ebx
push esi
push str._s__s
push eax
mov dword [ebp + 0xc], eax
call fcn.0048498d
mov edx, dword [ebp + 0xc]
add esp, 0x10
jmp 0x42de5d
lea eax, [edi + 1]
call fcn.0048eed0
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 0x42de50
cmp byte [ebp + 0x27], 0
je 0x42dee9
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.0044d550
test eax, eax
je 0x42dc7f
cmp byte [ebp + 0xb], 0
jne 0x42e104
mov ebx, dword [ebp - 0x1c]
cmp byte [ebp + 0x27], 0
jne 0x42e154
mov ebx, dword [ebp + 0x10]
push 0x38
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0048e820
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 0x42df4c
cmp byte [eax], 0
je 0x42df4c
mov ecx, eax
call fcn.00414a90
mov dword [ebp - 0x50], eax
jmp 0x42df53
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 0x42df41
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42df1f
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 0x42e10d
push dword [ebp - 0x24]
mov ecx, eax
call fcn.00401470
jmp 0x42e10a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42deb0
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42df73
push str.properties
push eax
mov dword [ebp - 0x60], eax
call fcn.00484212
add esp, 8
test eax, eax
jne 0x42df73
or dword [ebp - 0x68], 0xc
cmp dword [ebp - 0xc], 0
jne 0x42e090
lea eax, [edi + 1]
call fcn.0048eed0
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 0x42df90
cmp byte [edi], 0x22
jne 0x42dfdd
lea esi, [edi + 1]
push 0x22
push esi
call fcn.004855e4
add esp, 8
test eax, eax
je 0x42dfdd
mov byte [eax], 0
cmp byte [eax + 1], 0
mov dword [ebp - 8], esi
je 0x42e08b
cmp byte [eax + 1], 0x20
lea ebx, [eax + 1]
mov dword [ebp - 0xc], ebx
jne 0x42e096
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x42e096
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test ebx, ebx
je 0x42dfea
push ebx
call esi
lea eax, [edi + 1]
push 0x20
push eax
call fcn.004855e4
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42e06a
mov edi, edi
lea esi, [ebx - 1]
cmp esi, edi
jbe 0x42e021
movsx eax, byte [esi]
push eax
push 0x4a1448
call fcn.004855e4
add esp, 8
test eax, eax
jne 0x42e021
dec esi
cmp esi, edi
ja 0x42e007
cmp byte [esi], 0x2e
jne 0x42e050
mov eax, ebx
mov byte [ebx], 0
sub eax, esi
cmp eax, 4
jne 0x42e042
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.00471970
test eax, eax
jne 0x42e07c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x42e07c
mov byte [ebx], 0x20
lea eax, [ebx + 1]
push 0x20
push eax
call fcn.004855e4
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42e000
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ebx, dword [ebp - 0xc]
cmp dword [ebp + 0x10], 0
je 0x42e093
push 0x4acfc0
call esi
jmp 0x42e093
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
inc ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
jmp 0x42e06d
mov ebx, dword [ebp - 0xc]
jmp 0x42e096
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 0x42e14c
mov eax, dword [0x4b05a8]
test al, 1
jne 0x42e0dd
push str.GetProcessId
or eax, 1
push str.kernel32.dll
mov dword [0x4b05a8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b05ac], eax
jmp 0x42e0e2
mov eax, dword [0x4b05ac]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [edx], ecx
test ecx, ecx
je 0x42e142
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x42e142
test eax, eax
je 0x42e142
push ecx
call eax
push eax
mov ecx, ebx
call fcn.00401470
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
cmp byte [ebp + 0x20], 0
je 0x42e11f
mov eax, dword [0x4aa1d8]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x42e12e
mov ecx, dword [ecx]
test ecx, ecx
je 0x42e12e
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 0x42e10d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp byte [ebp + 0x20], 0
je 0x42e163
mov ecx, dword [0x4aa1d8]
mov dword [ecx + 0x30], ebx
cmp byte [ebp + 0x14], 0
je 0x42dc7f
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 0x42e1ae
push eax
push str._nVerb:___s_
lea eax, [ebp - 0xec]
push 0x80
push eax
call fcn.004715d0
add esp, 0x10
jmp 0x42e1b5
mov byte [ebp - 0xec], 0
mov eax, dword [ebp - 0xc]
mov edi, 0x49bc4d
test eax, eax
cmovne edi, eax
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42e1c7
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 0x42e1d8
sub esi, ecx
cmp edx, 0x190
mov ecx, 0x49ec38
mov edx, 0x49bc4d
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.004715d0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2ec]
add esp, 0x24
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.0042ce80
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24