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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15bc
call fcn.004932a0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x2c]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
jne 0x42be33
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov dword [eax], 0
test ecx, ecx
je 0x42be4d
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004698a0
test esi, esi
je 0x42c276
cmp word [esi], 0
je 0x42c276
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42be64
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2c], eax
cmp eax, 0x4001
jb 0x42bea5
cmp byte [ebp + 0x18], cl
je 0x42be94
mov ecx, dword [ebp + 8]
push 0x4a5c64
push str.String_too_long.__The_current_thread_will_exit.
call fcn.0042b900
xor eax, eax
lea esp, [ebp - 0x15c8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
lea eax, [eax + eax + 2]
mov dword [ebp - 0x28], eax
call fcn.00490a60
mov edi, esp
mov dword [ebp - 0x14], edi
test ebx, ebx
je 0x42bec7
cmp word [ebx], 0
jne 0x42bec7
mov dword [ebp + 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
test eax, eax
jne 0x42bedb
mov dword [ebp - 8], 0x4a5c64
mov byte [ebp - 1], 0
test eax, eax
je 0x42bf61
push str.find
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bf58
push str.explore
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bf58
push str.open
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bf58
push str.edit
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bf58
push 0x4a3540
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bf58
push str.properties
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bf58
mov byte [ebp - 1], 0
jmp 0x42c05b
mov byte [ebp - 1], 1
jmp 0x42c05b
mov edx, edi
mov eax, esi
sub edx, esi
jmp 0x42bf70
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x42bf70
cmp word [edi], 0x22
jne 0x42bf95
lea esi, [edi + 2]
push 0x22
push esi
call fcn.00482b51
add esp, 8
jmp 0x42bfa3
mov ebx, 0x49eed0
mov eax, edi
mov esi, edi
call fcn.00408fc0
test eax, eax
je 0x42c05b
xor ecx, ecx
mov word [eax], cx
cmp word [edi], 0x22
lea ebx, [eax + 2]
jne 0x42bfc1
cmp word [ebx], cx
je 0x42bfc1
add ebx, 2
cmp word [esi], 0x2a
jne 0x42bfd0
add esi, 2
mov byte [ebp - 1], 1
jmp 0x42c04a
push str.find
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bfca
push str.explore
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bfca
push str.open
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bfca
push str.edit
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bfca
push 0x4a3540
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bfca
push str.properties
push esi
call fcn.00481dd9
add esp, 8
test eax, eax
je 0x42bfca
mov byte [ebp - 1], 0
test ebx, ebx
je 0x42c05b
cmp word [edi], 0x22
jne 0x42c05b
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x42c05b
mov dword [ebp - 8], 0x4a5c64
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x5b6]
push eax
mov byte [ebp - 2], 0
mov word [ebp - 0x5b8], dx
call fcn.0048bac0
mov edi, dword [ebp + 8]
add esp, 0xc
cmp byte [ebp + 0x28], 0
je 0x42c0e6
mov eax, dword [edi + 0x8bc]
test eax, eax
je 0x42c096
cmp dword [eax + 8], 0
jne 0x42c0b4
lea eax, [edi + 0x8c4]
call fcn.0042c550
test al, al
je 0x42c0b4
lea eax, [edi + 0x8d0]
call fcn.0042c550
test al, al
jne 0x42c0e6
cmp byte [ebp - 1], 0
mov byte [ebp + 0x2b], 1
je 0x42c0f4
cmp byte [ebp + 0x18], 0
je 0x42c0d5
push 0x4a5c64
push str.System_verbs_unsupported_with_RunAs.__The_current_thread_will_exit.
mov ecx, edi
call fcn.0042b900
xor eax, eax
lea esp, [ebp - 0x15c8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
cmp byte [ebp - 1], 0
mov byte [ebp + 0x2b], 0
jne 0x42c2a1
push 0x40
lea ecx, [ebp - 0xb4]
push 0
push ecx
call fcn.0048bac0
mov esi, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0xb8], 0x44
mov dword [ebp - 0x8c], 1
test esi, esi
je 0x42c136
cmp word [esi], 0
je 0x42c136
call fcn.00413b10
mov word [ebp - 0x88], ax
jmp 0x42c142
mov edx, 1
mov word [ebp - 0x88], dx
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x42c193
cmp word [ebx], ax
je 0x42c193
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c161
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2c]
lea eax, [eax + eax + 0x14]
call fcn.00490a60
mov edx, dword [ebp + 0xc]
mov esi, esp
push ebx
push edx
push str._s__s
push esi
call fcn.004821e3
add esp, 0x10
jmp 0x42c1b3
mov eax, dword [ebp - 0x28]
call fcn.00490a60
mov eax, dword [ebp + 0xc]
mov esi, esp
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x42c1a4
cmp byte [ebp + 0x2b], 0
je 0x42c201
mov ecx, dword [ebp - 0x10]
mov bl, byte [ebp + 0x18]
lea eax, [ebp - 0x5b8]
push eax
push ecx
mov ecx, dword [ebp + 0x2c]
lea edx, [ebp - 2]
push edx
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x24]
push ecx
push edx
mov edx, dword [ebp + 0x14]
push eax
push esi
push edi
mov cl, bl
call fcn.0044a1c0
test eax, eax
jne 0x42c2dc
lea esp, [ebp - 0x15c8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xb8]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42c28a
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42c235
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
test eax, eax
je 0x42c24d
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00401220
cmp byte [ebp + 0x24], 0
je 0x42c260
mov ecx, dword [0x4bd4c4]
mov dword [ecx + 0x30], 0
cmp dword [ebp + 0x20], 0
jne 0x42c276
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
test eax, eax
je 0x42c276
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0x15c8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 0x24]
push eax
mov eax, 0x200
lea esi, [ebp - 0x5b8]
call fcn.00467fd0
add esp, 4
push 0x38
lea edx, [ebp - 0x64]
push 0
push edx
call fcn.0048bac0
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x50], eax
inc ebp
mov al, 0x85
invalid
je 0x42c30e
cmp word [esi], 0
je 0x42c30e
call fcn.00413b10
mov dword [ebp - 0x4c], eax
jmp 0x42c315
cmp byte [ebp - 2], 0
jne 0x42c24d
test bl, bl
je 0x42c2fd
lea ecx, [ebp - 0x5b8]
push ecx
push str.Launch_Error__possibly_related_to_RunAs_.__The_current_thread_will_exit.
mov ecx, edi
call fcn.0042b900
xor eax, eax
lea esp, [ebp - 0x15c8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
sub byte [eax], al
mov dword [ebp - 0x4c], 1
cmp byte [ebp - 1], 0
je 0x42c349
mov edi, dword [ebp - 0xc]
push str.properties
push edi
mov dword [ebp - 0x5c], edi
call fcn.00481dd9
add esp, 8
test eax, eax
jne 0x42c337
or dword [ebp - 0x64], 0xc
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0
jmp 0x42c444
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0xc], edx
jne 0x42c426
mov eax, edx
mov edx, dword [ebp - 0x14]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x42c360
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42c37d
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edi, dword [ebp - 0x14]
lea eax, [edi + 2]
push 0x20
push eax
call fcn.00482b51
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42c415
lea esi, [ebx - 2]
cmp esi, edi
jbe 0x42c3bc
nop
movzx ecx, word [esi]
push ecx
push 0x4a3694
call fcn.00482b51
add esp, 8
test eax, eax
jne 0x42c3bc
sub esi, 2
cmp esi, edi
ja 0x42c3a0
cmp word [esi], 0x2e
jne 0x42c3f6
mov eax, ebx
sub eax, esi
xor edx, edx
and eax, 0xfffffffe
mov word [ebx], dx
cmp eax, 8
jne 0x42c3e3
mov eax, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.004672f0
test eax, eax
jne 0x42c40c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42c40c
mov ecx, 0x20
mov word [ebx], cx
push 0x20
add ebx, 2
push ebx
call fcn.00482b51
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42c398
jmp 0x42c415
add ebx, 2
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x14], 0
je 0x42c426
push 0x4c1690
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], edx
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x54], ecx
mov edi, edx
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42c45f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x42c24d
mov edx, dword [ebp + 0x24]
push edx
mov eax, 0x200
lea esi, [ebp - 0x5b8]
call fcn.00467fd0
add esp, 4
cmp byte [ebp + 0x18], 0
je 0x42c535
cmp byte [ebp - 1], 0
je 0x42c4a4
push edi
push str._nVerb:___s_
mov esi, 0x80
lea edi, [ebp - 0x1b8]
call fcn.00466f40
mov edi, dword [ebp - 0xc]
add esp, 8
jmp 0x42c4ad
xor eax, eax
mov word [ebp - 0x1b8], ax
mov ebx, dword [ebp - 8]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c4b5
sub eax, edx
sar eax, 1
mov esi, 0x49f3c0
cmp eax, 0x190
ja 0x42c4d5
mov esi, 0x4a5c64
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c4e0
sub eax, edx
sar eax, 1
cmp eax, 0x190
mov eax, 0x49f3c0
ja 0x42c500
mov eax, 0x4a5c64
push esi
push ebx
lea ecx, [ebp - 0x1b8]
push ecx
push eax
push edi
push str.Failed_attempt_to_launch_program_or_document:_nAction:____0.400s_s__s_nParams:____0.400s_s__n_nThe_current_thread_will_exit.
mov esi, 0x800
lea edi, [ebp - 0x15b8]
call fcn.00466f40
mov ecx, dword [ebp + 8]
add esp, 0x18
lea edx, [ebp - 0x5b8]
push edx
mov eax, edi
push eax
call fcn.0042b900
xor eax, eax
lea esp, [ebp - 0x15c8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28