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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaf0
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x6c]
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 0x447f59
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.0049e6b0
mov edi, dword [ebp + 8]
test edi, edi
je 0x448548
cmp byte [edi], 0
je 0x448548
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x447f7e
xor ecx, ecx
cmp byte [eax], cl
cmove eax, ecx
mov dword [ebp + 0x10], eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x448017
push str.find
push edi
call fcn.004b218a
add esp, 8
test eax, eax
je 0x448008
push str.explore
push edi
call fcn.004b218a
add esp, 8
test eax, eax
je 0x448008
push str.open
push edi
call fcn.004b218a
add esp, 8
test eax, eax
je 0x448008
push str.edit
push edi
call fcn.004b218a
add esp, 8
test eax, eax
je 0x448008
push str.print
push edi
call fcn.004b218a
add esp, 8
test eax, eax
je 0x448008
push str.properties
push edi
call fcn.004b218a
add esp, 8
test eax, eax
je 0x448008
mov dword [ebp - 0x10], ebx
jmp 0x4480e0
mov esi, edi
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], ecx
jmp 0x4480e2
mov edx, 0x4d5ff4
mov ecx, edi
call fcn.00405fc0
mov dword [ebp + 8], eax
test eax, eax
je 0x4480e0
mov esi, eax
sub esi, edi
lea eax, [esi + 1]
call fcn.004c78d0
mov eax, esp
push esi
push edi
push eax
call fcn.004b19e0
mov ebx, eax
add esp, 0xc
mov byte [ebx + esi], 0
cmp byte [ebx], 0x2a
jne 0x44805a
lea esi, [ebx + 1]
mov dword [ebp - 0x18], esi
jmp 0x4480cb
push str.find
push ebx
call fcn.004b218a
add esp, 8
test eax, eax
je 0x4480c6
push str.explore
push ebx
call fcn.004b218a
add esp, 8
test eax, eax
je 0x4480c6
push str.open
push ebx
call fcn.004b218a
add esp, 8
test eax, eax
je 0x4480c6
push str.edit
push ebx
call fcn.004b218a
add esp, 8
test eax, eax
je 0x4480c6
push str.print
push ebx
call fcn.004b218a
add esp, 8
test eax, eax
je 0x4480c6
push str.properties
push ebx
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x4480db
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x4480e0
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp - 8], ecx
jmp 0x4480e2
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov ecx, edi
xor edx, edx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x1c], edx
cmp byte [ebp + 0x24], dl
je 0x44815a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x65c]
test eax, eax
je 0x448102
cmp dword [eax + 8], edx
jne 0x448126
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x668]
test eax, eax
je 0x448114
cmp dword [eax + 8], edx
jne 0x448126
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x674]
test eax, eax
je 0x44815a
cmp dword [eax + 8], edx
je 0x44815a
mov byte [ebp + 0x27], 1
test esi, esi
je 0x44815d
cmp byte [ebp + 0x14], dl
je 0x448667
mov ecx, dword [ebp - 0x14]
push 0x4d0335
push str.System_verbs_unsupported_with_RunAs.
call fcn.004470d0
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov byte [ebp + 0x27], dl
mov esi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x448162
sub esi, ecx
cmp esi, 0x4001
jb 0x44819f
cmp byte [ebp + 0x14], dl
je 0x448667
mov ecx, dword [ebp - 0x14]
push 0x4d0335
push str.String_too_long.
call fcn.004470d0
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [ebp - 0x18], edx
jne 0x4482ba
mov ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x82], xmm0
movlpd qword [ebp - 0x7a], xmm0
mov word [ebp - 0x72], ax
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 1
test ecx, ecx
je 0x44820c
cmp byte [ecx], al
je 0x44820c
call fcn.00429fb0
jmp 0x448211
mov eax, 1
mov word [ebp - 0x84], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
test ebx, ebx
je 0x448259
cmp byte [ebx], 0
je 0x448259
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x448230
sub ecx, edx
lea eax, [ecx + 0xa]
add eax, esi
call fcn.004c78d0
mov ebx, esp
push dword [ebp + 0xc]
push edi
push str._s__s
push ebx
call fcn.004058d0
add esp, 0x10
jmp 0x448274
lea eax, [esi + 1]
call fcn.004c78d0
mov ebx, esp
mov ecx, ebx
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x448267
cmp byte [ebp + 0x27], 0
je 0x448313
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
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 ebx
call fcn.0046cee0
test eax, eax
je 0x448667
cmp byte [ebp + 0xb], 0
jne 0x44851e
mov edx, dword [ebp - 0x1c]
cmp byte [ebp + 0x27], 0
jne 0x448570
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x10]
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x50], ebx
test eax, eax
je 0x448375
cmp byte [eax], 0
je 0x448375
mov ecx, eax
call fcn.00429fb0
mov dword [ebp - 0x4c], eax
jmp 0x44837c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb4]
push eax
push dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44836a
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x448348
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x448527
push dword [ebp - 0x24]
mov ecx, eax
call fcn.00401660
jmp 0x448524
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4482c4
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44839c
push str.properties
push eax
mov dword [ebp - 0x5c], eax
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x44839c
or dword [ebp - 0x64], 0xc
cmp dword [ebp - 0x10], 0
jne 0x4484aa
lea eax, [esi + 1]
call fcn.004c78d0
mov ecx, dword [ebp - 8]
mov edi, esp
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x4483b7
cmp byte [edi], 0x22
lea esi, [edi + 1]
jne 0x4483fb
push 0x22
push esi
call fcn.004b7be9
add esp, 8
test eax, eax
je 0x4483fb
mov byte [eax], 0
mov cl, byte [eax + 1]
mov dword [ebp - 8], esi
test cl, cl
je 0x4484aa
lea ebx, [eax + 1]
cmp cl, 0x20
jne 0x4484ad
inc ebx
jmp 0x4484ad
test ebx, ebx
je 0x448406
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x20
push esi
call fcn.004b7be9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44847d
lea esi, [ebx - 1]
cmp esi, edi
jbe 0x44843a
nop
movsx eax, byte [esi]
push eax
push 0x4d9d48
call fcn.004b7be9
add esp, 8
test eax, eax
jne 0x44843a
dec esi
cmp esi, edi
ja 0x448420
cmp byte [esi], 0x2e
jne 0x448469
mov eax, ebx
mov byte [ebx], 0
sub eax, esi
cmp eax, 4
jne 0x44845b
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.0049a8f0
test eax, eax
jne 0x4484a4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x4484a4
mov byte [ebx], 0x20
lea eax, [ebx + 1]
push 0x20
push eax
call fcn.004b7be9
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x448417
mov ebx, dword [ebp - 0x10]
cmp dword [ebp + 0x10], 0
je 0x4484ad
mov eax, dword [0x4e6378]
mov ecx, 0x4d0335
test eax, eax
je 0x44849b
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x4484ad
mov dword [ebp - 8], edi
inc ebx
jmp 0x448480
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x54], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x448566
mov eax, dword [0x50b7e0]
test al, 1
jne 0x4484f7
push str.GetProcessId
or eax, 1
push str.kernel32.dll
mov dword [0x50b7e0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50b7e4], eax
jmp 0x4484fc
mov eax, dword [0x50b7e4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [edx], ecx
test ecx, ecx
je 0x44855c
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x44855c
test eax, eax
je 0x44855c
push ecx
call eax
push eax
mov ecx, ebx
call fcn.00401660
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
cmp byte [ebp + 0x20], 0
je 0x448539
mov eax, dword [0x4e498c]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x448548
mov eax, dword [ecx]
test eax, eax
je 0x448548
push eax
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 0x448527
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x448573
mov ebx, dword [ebp - 0x10]
cmp byte [ebp + 0x20], 0
je 0x448582
mov ecx, dword [0x4e498c]
mov dword [ecx + 0x30], edx
cmp byte [ebp + 0x14], 0
je 0x448667
push 0
push 0x1ff
lea eax, [ebp - 0x2ec]
push eax
push 0
push edx
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4485cd
push eax
push str._nVerb:___s_
lea eax, [ebp - 0xec]
push 0x80
push eax
call fcn.0049a540
add esp, 0x10
jmp 0x4485d4
mov byte [ebp - 0xec], 0
test ebx, ebx
mov edi, 0x4d0335
cmovne edi, ebx
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4485e3
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 0x4485f4
sub esi, ecx
cmp edx, 0x190
mov ecx, 0x4d6530
mov edx, 0x4d0335
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.0049a540
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2ec]
add esp, 0x24
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.004470d0
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24