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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15b8
call fcn.00493680
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, edx
cmp eax, ebx
jne 0x42de84
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov dword [eax], ebx
cmp ecx, ebx
je 0x42de98
push 1
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0046dd60
cmp edi, ebx
je 0x42e273
cmp word [edi], bx
je 0x42e273
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x42deb8
cmp word [eax], bx
jne 0x42deb8
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], ebx
cmp esi, ebx
je 0x42df44
push str.find
push edi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42df39
push str.explore
push edi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42df39
push str.open
push edi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42df39
push str.edit
push edi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42df39
push 0x4a3400
push edi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42df39
push str.properties
push edi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42df39
mov dword [ebp - 0x14], esi
jmp 0x42e001
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], esi
jmp 0x42e001
mov ebx, 0x49e6d0
mov eax, edi
call fcn.00409070
test eax, eax
je 0x42e001
sub eax, edi
sar eax, 1
lea ebx, [eax + eax]
lea eax, [ebx + 2]
call fcn.00491130
mov eax, esp
push ebx
push edi
push eax
call fcn.00489760
mov esi, eax
xor eax, eax
add esp, 0xc
mov word [ebx + esi], ax
cmp word [esi], 0x2a
jne 0x42df87
add esi, 2
jmp 0x42dff3
push str.find
push esi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42dff3
push str.explore
push esi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42dff3
push str.open
push esi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42dff3
push str.edit
push esi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42dff3
push 0x4a3400
push esi
call fcn.00486339
add esp, 8
test eax, eax
je 0x42dff3
push str.properties
push esi
call fcn.00486339
add esp, 8
test eax, eax
jne 0x42e001
mov dword [ebp - 0x10], esi
test esi, esi
je 0x42e001
lea ecx, [ebx + edi + 2]
mov dword [ebp - 0xc], ecx
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x5b2]
push eax
mov byte [ebp - 5], 0
mov word [ebp - 0x5b4], dx
call fcn.00490160
mov esi, dword [ebp + 8]
add esp, 0xc
cmp byte [ebp + 0x24], 0
je 0x42e08d
mov eax, dword [esi + 0xacc]
test eax, eax
je 0x42e03c
cmp dword [eax + 8], 0
jne 0x42e05b
mov eax, dword [esi + 0xad8]
test eax, eax
je 0x42e04c
cmp dword [eax + 8], 0
jne 0x42e05b
lea eax, [esi + 0xae0]
call fcn.0042e580
test al, al
jne 0x42e08d
cmp dword [ebp - 0x10], 0
mov byte [ebp + 0x27], 1
je 0x42e091
cmp byte [ebp + 0x14], 0
je 0x42e07c
push 0x4a596c
push str.System_verbs_unsupported_with_RunAs.__The_current_thread_will_exit.
mov ecx, esi
call fcn.0042d6d0
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov byte [ebp + 0x27], 0
mov eax, dword [ebp - 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e097
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c], eax
cmp eax, 0x4001
jb 0x42e0d7
cmp byte [ebp + 0x14], cl
je 0x42e0c6
push 0x4a596c
push str.String_too_long.__The_current_thread_will_exit.
mov ecx, esi
call fcn.0042d6d0
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [ebp - 0x10], 0
jne 0x42e2e5
push 0x40
lea ecx, [ebp - 0xb0]
push 0
push ecx
call fcn.00490160
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 1
test eax, eax
je 0x42e125
cmp word [eax], 0
je 0x42e125
mov esi, eax
call fcn.00413e50
mov word [ebp - 0x84], ax
jmp 0x42e131
mov edx, 1
mov word [ebp - 0x84], dx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x42e183
cmp word [ebx], ax
je 0x42e183
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e154
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 0x14]
call fcn.00491130
mov esi, esp
push ebx
push edi
push str._s__s
push esi
call fcn.00486743
add esp, 0x10
jmp 0x42e1af
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
call fcn.00491130
mov esi, esp
mov edx, esi
mov eax, edi
sub edx, edi
jmp 0x42e1a0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x42e1a0
cmp byte [ebp + 0x27], 0
je 0x42e1fe
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x5b4]
push edx
push eax
mov eax, dword [ebp + 0x28]
lea ecx, [ebp - 5]
push ecx
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 8]
push ecx
mov cl, byte [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push esi
push eax
call fcn.0044c500
test eax, eax
jne 0x42e2db
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xb4]
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 0x42e287
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42e232
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [edx], ecx
test eax, eax
je 0x42e24a
push eax
mov eax, dword [ebp - 0x24]
call fcn.00401220
cmp byte [ebp + 0x20], 0
je 0x42e25d
mov edx, dword [0x4bd41c]
mov dword [edx + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x42e273
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x42e273
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x20]
push eax
mov eax, 0x200
lea esi, [ebp - 0x5b4]
call fcn.0046c390
add esp, 4
push 0x38
lea edx, [ebp - 0x68]
push 0
push edx
call fcn.00490160
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x440
test eax, eax
je 0x42e316
cmp word [eax], 0
je 0x42e316
mov esi, eax
call fcn.00413e50
mov dword [ebp - 0x50], eax
jmp 0x42e31d
cmp byte [ebp - 5], 0
jne 0x42e24a
cmp byte [ebp + 0x27], 0
je 0x42e29e
cmp byte [ebp + 0x14], 0
je 0x42e305
lea ecx, [ebp - 0x5b4]
push ecx
mov ecx, dword [ebp + 8]
push str.Launch_Error__possibly_related_to_RunAs_.__The_current_thread_will_exit.
call fcn.0042d6d0
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42e33d
push str.properties
push eax
mov dword [ebp - 0x60], eax
call fcn.00486339
add esp, 8
test eax, eax
jne 0x42e33d
or dword [ebp - 0x68], 0xc
cmp dword [ebp - 0x14], 0
jne 0x42e45d
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
call fcn.00491130
mov eax, dword [ebp - 0xc]
mov edi, esp
mov edx, edi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x42e360
cmp word [edi], 0x22
jne 0x42e3a3
lea esi, [edi + 2]
push 0x22
push esi
call fcn.00487101
add esp, 8
test eax, eax
je 0x42e3a3
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xc], esi
cmp word [eax], cx
je 0x42e45d
mov dword [ebp - 0x14], eax
jmp 0x42e45d
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42e3b1
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [edi + 2]
push 0x20
push edx
call fcn.00487101
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42e44c
lea esp, [esp]
lea esi, [ebx - 2]
cmp esi, edi
jbe 0x42e3f3
movzx eax, word [esi]
push eax
push 0x4a35b4
call fcn.00487101
add esp, 8
test eax, eax
jne 0x42e3f3
sub esi, 2
cmp esi, edi
ja 0x42e3d7
cmp word [esi], 0x2e
jne 0x42e42d
mov edx, ebx
sub edx, esi
xor ecx, ecx
and edx, 0xfffffffe
mov word [ebx], cx
cmp edx, 8
jne 0x42e41a
mov eax, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.0046b6b0
test eax, eax
jne 0x42e443
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42e443
mov eax, 0x20
mov word [ebx], ax
push 0x20
add ebx, 2
push ebx
call fcn.00487101
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42e3d0
jmp 0x42e44c
add ebx, 2
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0x10], 0
je 0x42e45d
push 0x4c17f8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42e484
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
mov dword [edx], ecx
jmp 0x42e24a
mov eax, dword [ebp + 0x20]
push eax
mov eax, 0x200
lea esi, [ebp - 0x5b4]
call fcn.0046c390
add esp, 4
cmp byte [ebp + 0x14], 0
je 0x42e565
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42e4c7
push eax
push str._nVerb:___s_
mov esi, 0x80
lea edi, [ebp - 0x1b4]
call fcn.0046b300
add esp, 8
jmp 0x42e4d0
xor ecx, ecx
mov word [ebp - 0x1b4], cx
cmp dword [ebp - 0x14], 0
mov esi, 0x4a596c
jne 0x42e4de
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp - 0x14]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e4e6
sub eax, edx
sar eax, 1
cmp eax, 0x190
jbe 0x42e501
mov esi, 0x49ebc0
mov edi, dword [ebp - 0xc]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e510
sub eax, edx
sar eax, 1
cmp eax, 0x190
mov eax, 0x49ebc0
ja 0x42e530
mov eax, 0x4a596c
push esi
push ebx
lea edx, [ebp - 0x1b4]
push edx
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 - 0x15b4]
call fcn.0046b300
add esp, 0x18
lea eax, [ebp - 0x5b4]
push eax
mov ecx, edi
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042d6d0
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24