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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15c0
call fcn.004b8400
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x70]
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 0x44999d
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004a19e0
mov esi, dword [ebp + 8]
test esi, esi
je 0x449ff0
cmp word [esi], 0
je 0x449ff0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4499c4
xor ecx, ecx
cmp word [eax], cx
cmove eax, ecx
mov dword [ebp + 0x10], eax
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], esi
test edi, edi
je 0x449af0
push str.find
push esi
call ebx
add esp, 8
test eax, eax
je 0x449ae3
push str.explore
push esi
call ebx
add esp, 8
test eax, eax
je 0x449ae3
push str.open
push esi
call ebx
add esp, 8
test eax, eax
je 0x449ae3
push str.edit
push esi
call ebx
add esp, 8
test eax, eax
je 0x449ae3
push str.print
push esi
call ebx
add esp, 8
test eax, eax
je 0x449ae3
push str.properties
push esi
call ebx
add esp, 8
test eax, eax
je 0x449ae3
mov dword [ebp - 0x14], edi
xor ecx, ecx
mov edi, esi
xor edx, edx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x1c], edx
cmp byte [ebp + 0x24], dl
je 0x449bb4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb24]
test eax, eax
je 0x449a7f
cmp dword [eax + 8], edx
jne 0x449aab
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb30]
test eax, eax
je 0x449a91
cmp dword [eax + 8], edx
jne 0x449aab
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb3c]
test eax, eax
je 0x449bb4
cmp dword [eax + 8], edx
je 0x449bb4
mov byte [ebp + 0x27], 1
test ecx, ecx
je 0x449bb7
cmp byte [ebp + 0x14], dl
je 0x44a120
mov ecx, dword [ebp - 0x10]
push 0x4bac30
push str.System_verbs_unsupported_with_RunAs.
call fcn.00448ad0
xor eax, eax
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], ecx
jmp 0x449a5b
mov edx, 0x4d1604
mov ecx, esi
call fcn.004065e0
test eax, eax
je 0x449a57
sub eax, esi
sar eax, 1
lea edi, [eax + eax]
lea eax, [edi + 2]
mov dword [ebp + 8], edi
call fcn.004b8430
mov eax, esp
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp + 8]
add esp, 0xc
mov word [eax + edi], cx
cmp word [edi], 0x2a
jne 0x449b39
lea ecx, [edi + 2]
jmp 0x449b9c
push str.find
push edi
call ebx
add esp, 8
test eax, eax
je 0x449b97
push str.explore
push edi
call ebx
add esp, 8
test eax, eax
je 0x449b97
push str.open
push edi
call ebx
add esp, 8
test eax, eax
je 0x449b97
push str.edit
push edi
call ebx
add esp, 8
test eax, eax
je 0x449b97
push str.print
push edi
call ebx
add esp, 8
test eax, eax
je 0x449b97
push str.properties
push edi
call ebx
add esp, 8
test eax, eax
jne 0x449a57
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x449a59
lea edi, [esi + 2]
add edi, eax
mov dword [ebp - 8], edi
jmp 0x449a5b
mov byte [ebp + 0x27], dl
lea ecx, [edi + 2]
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x449bc0
sub edi, ecx
sar edi, 1
cmp edi, 0x4001
jb 0x449c03
cmp byte [ebp + 0x14], dl
je 0x44a120
mov ecx, dword [ebp - 0x10]
push 0x4bac30
push str.String_too_long.
call fcn.00448ad0
xor eax, eax
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [ebp - 0x18], edx
jne 0x449da2
mov ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x8a], xmm0
movlpd qword [ebp - 0x82], xmm0
mov word [ebp - 0x7a], ax
mov dword [ebp - 0xbc], 0x44
mov dword [ebp - 0x90], 1
test ecx, ecx
je 0x449c74
cmp word [ecx], ax
je 0x449c74
call fcn.0042b080
jmp 0x449c79
mov eax, 1
mov word [ebp - 0x8c], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x449cda
cmp word [eax], 0
je 0x449cda
mov ecx, eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449ca0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + edi]
lea eax, [eax*2 + 0x14]
call fcn.004b8430
mov eax, esp
push dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push esi
push str._s__s
push eax
call fcn.00405ec0
mov edx, dword [ebp - 0x20]
add esp, 0x10
jmp 0x449d00
lea eax, [edi*2 + 2]
call fcn.004b8430
mov edx, esp
mov ecx, edx
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x449cf0
cmp byte [ebp + 0x27], 0
mov esi, dword [ebp + 0x10]
je 0x449d45
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x28]
push dword [ebp - 0x8c]
push dword [ebp + 0x14]
push esi
push edx
call fcn.0046f5e0
test eax, eax
je 0x44a120
cmp byte [ebp + 0xb], 0
jne 0x449fc6
mov edx, dword [ebp - 0x1c]
jmp 0x449da5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xbc]
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
je 0x449d9a
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x449d78
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x449fcf
push dword [ebp - 0x28]
mov ecx, eax
call fcn.00401620
jmp 0x449fcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449daf
mov esi, dword [ebp + 0x10]
cmp byte [ebp + 0x27], 0
jne 0x44a018
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x440
mov dword [ebp - 0x54], esi
test eax, eax
je 0x449dfc
cmp word [eax], 0
je 0x449dfc
mov ecx, eax
call fcn.0042b080
mov dword [ebp - 0x50], eax
jmp 0x449e03
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x449e20
push str.properties
push eax
mov dword [ebp - 0x60], eax
call ebx
add esp, 8
test eax, eax
jne 0x449e20
or dword [ebp - 0x68], 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x449f55
lea eax, [edi*2 + 2]
call fcn.004b8430
mov ecx, dword [ebp - 8]
mov edi, esp
mov edx, edi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x449e40
cmp word [edi], 0x22
lea esi, [edi + 2]
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcschr]
jne 0x449e94
push 0x22
push esi
call ebx
add esp, 8
test eax, eax
je 0x449e94
xor ecx, ecx
mov dword [ebp - 8], esi
mov word [eax], cx
movzx ecx, word [eax + 2]
test cx, cx
je 0x449f52
lea ebx, [eax + 2]
cmp ecx, 0x20
jne 0x449f55
add ebx, 2
jmp 0x449f55
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x449ea2
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x20
push esi
call ebx
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x449f23
lea esi, [ebx - 2]
cmp esi, edi
jbe 0x449ed4
movzx eax, word [esi]
push eax
push 0x4d88e4
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
jne 0x449ed4
sub esi, 2
cmp esi, edi
ja 0x449eb7
cmp word [esi], 0x2e
jne 0x449f0e
xor eax, eax
mov word [ebx], ax
mov eax, ebx
sub eax, esi
and eax, 0xfffffffe
cmp eax, 8
jne 0x449efb
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.0049d970
test eax, eax
jne 0x449f4a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x449f4a
mov eax, 0x20
mov word [ebx], ax
lea eax, [ebx + 2]
push 0x20
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x449eb0
mov ebx, dword [ebp - 0x14]
cmp dword [ebp + 0x10], 0
je 0x449f55
mov eax, dword [0x4e5b50]
mov ecx, 0x4bac30
test eax, eax
je 0x449f41
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x449f55
mov dword [ebp - 8], edi
add ebx, 2
jmp 0x449f26
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x58], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x44a00e
mov eax, dword [0x4eafcc]
test al, 1
jne 0x449f9f
push str.GetProcessId
or eax, 1
push str.kernel32.dll
mov dword [0x4eafcc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4eafd0], eax
jmp 0x449fa4
mov eax, dword [0x4eafd0]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
mov dword [edx], ecx
test ecx, ecx
je 0x44a004
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x44a004
test eax, eax
je 0x44a004
push ecx
call eax
push eax
mov ecx, ebx
call fcn.00401620
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
cmp byte [ebp + 0x20], 0
je 0x449fe1
mov eax, dword [0x4e40f4]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x449ff0
mov eax, dword [ecx]
test eax, eax
je 0x449ff0
push eax
call esi
mov eax, 1
lea esp, [ebp - 0x15cc]
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 0x449fcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x44a01b
mov ebx, dword [ebp - 0x14]
cmp byte [ebp + 0x20], 0
je 0x44a02a
mov ecx, dword [0x4e40f4]
mov dword [ecx + 0x30], edx
cmp byte [ebp + 0x14], 0
je 0x44a120
push 0
push 0x1ff
lea eax, [ebp - 0x5bc]
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 0x44a075
push eax
push str._nVerb:___s_
lea eax, [ebp - 0x1bc]
push 0x80
push eax
call fcn.0049d580
add esp, 0x10
jmp 0x44a07e
xor eax, eax
mov word [ebp - 0x1bc], ax
test ebx, ebx
mov edi, 0x4bac30
cmovne edi, ebx
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44a090
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 0x44a0a7
sub esi, ecx
mov ecx, 0x4d1fb8
sar esi, 1
mov eax, ecx
cmp edx, 0x190
mov edx, 0x4bac30
cmovbe eax, edx
cmp esi, 0x190
push eax
push edi
lea eax, [ebp - 0x1bc]
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 - 0x15bc]
push 0x800
push eax
call fcn.0049d580
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5bc]
add esp, 0x24
push eax
lea eax, [ebp - 0x15bc]
push eax
call fcn.00448ad0
xor eax, eax
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24