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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15b8
call fcn.004cb9b0
mov dword [ebp - 0x18], 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 0x44eaad
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b3f70
mov edi, dword [ebp + 8]
test edi, edi
je 0x44f19e
movzx eax, word [edi]
test ax, ax
je 0x44f19e
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44ead6
xor edx, edx
cmp word [ecx], dx
cmove ecx, edx
mov dword [ebp + 0x10], ecx
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x44ebfb
push str.find
push edi
call ebx
add esp, 8
test eax, eax
je 0x44ebec
push str.explore
push edi
call ebx
add esp, 8
test eax, eax
je 0x44ebec
push str.open
push edi
call ebx
add esp, 8
test eax, eax
je 0x44ebec
push str.edit
push edi
call ebx
add esp, 8
test eax, eax
je 0x44ebec
push str.print
push edi
call ebx
add esp, 8
test eax, eax
je 0x44ebec
push str.properties
push edi
call ebx
add esp, 8
test eax, eax
je 0x44ebec
mov dword [ebp - 0x10], esi
xor ecx, ecx
mov ebx, edi
xor edx, edx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x1c], edx
cmp byte [ebp + 0x24], dl
je 0x44ecf7
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xb24]
test eax, eax
je 0x44eb8f
cmp dword [eax + 8], edx
jne 0x44ebb5
mov eax, dword [esi + 0xb30]
test eax, eax
je 0x44eb9e
cmp dword [eax + 8], edx
jne 0x44ebb5
mov eax, dword [esi + 0xb3c]
test eax, eax
je 0x44ecf7
cmp dword [eax + 8], edx
je 0x44ecf7
mov byte [ebp + 0x27], 1
test ecx, ecx
je 0x44ecfa
cmp byte [ebp + 0x14], dl
je 0x44f2cd
push 0x4cdc40
push str.System_verbs_unsupported_with_RunAs.
mov ecx, esi
call fcn.0044dc10
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, edi
mov ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ebx
jmp 0x44eb6b
mov ebx, edi
mov esi, eax
nop
mov ecx, 0x4e4614
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x44ec36
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x44ec10
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x44ec00
jmp 0x44eb67
sub ebx, edi
sar ebx, 1
add ebx, ebx
lea eax, [ebx + 2]
call fcn.004cb9e0
mov eax, esp
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, eax
add esp, 0xc
xor eax, eax
mov word [ebx + esi], ax
cmp word [esi], 0x2a
jne 0x44ec67
lea ecx, [esi + 2]
mov dword [ebp - 0x14], ecx
jmp 0x44ece2
push str.find
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x44ecdd
push str.explore
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x44ecdd
push str.open
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x44ecdd
push str.edit
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x44ecdd
push str.print
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x44ecdd
push str.properties
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x44eb67
mov ecx, esi
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x44eb69
add ebx, 2
add ebx, edi
mov dword [ebp - 8], ebx
jmp 0x44eb6b
mov byte [ebp + 0x27], dl
mov esi, ebx
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44ed00
sub esi, ecx
sar esi, 1
cmp esi, 0x4001
jb 0x44ed43
cmp byte [ebp + 0x14], dl
je 0x44f2cd
mov ecx, dword [ebp - 0x18]
push 0x4cdc40
push str.String_too_long.
call fcn.0044dc10
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ebx, dword [ebp + 0x18]
cmp dword [ebp - 0x14], edx
jne 0x44ef12
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0x44
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 - 0x88], 1
test ebx, ebx
je 0x44edec
cmp word [ebx], ax
je 0x44edec
mov edx, 0x4e5d28
mov ecx, ebx
call fcn.004afc80
test eax, eax
je 0x44edc1
mov eax, 6
jmp 0x44edf1
mov edx, 0x4e5d30
mov ecx, ebx
call fcn.004afc80
test eax, eax
je 0x44edd8
mov eax, 3
jmp 0x44edf1
mov edx, str.HIDE
mov ecx, ebx
call fcn.004afc80
test eax, eax
je 0x44edec
xor eax, eax
jmp 0x44edf1
mov eax, 1
mov word [ebp - 0x84], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x2c], xmm0
test eax, eax
je 0x44ee4b
cmp word [eax], 0
je 0x44ee4b
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ee11
sub ecx, edx
sar ecx, 1
lea eax, [ecx + esi]
lea eax, [eax*2 + 0x14]
call fcn.004cb9e0
mov eax, esp
push dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
push edi
push str._s__s
push eax
call fcn.00406580
mov edx, dword [ebp + 0x18]
add esp, 0x10
jmp 0x44ee70
lea eax, [esi*2 + 2]
call fcn.004cb9e0
mov edx, esp
mov ecx, edx
sub ecx, edi
nop dword [eax]
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x44ee60
cmp byte [ebp + 0x27], 0
mov edi, dword [ebp + 0x10]
je 0x44eeb5
mov ecx, dword [ebp - 0x18]
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 edi
push edx
call fcn.0047b8b0
test eax, eax
je 0x44f2cd
cmp byte [ebp + 0xb], 0
jne 0x44f174
mov edx, dword [ebp - 0x1c]
jmp 0x44ef15
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb4]
push eax
push edi
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 0x44ef0a
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44eee8
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 0x44f17d
push dword [ebp - 0x24]
mov ecx, eax
call fcn.00401570
jmp 0x44f17a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ef1f
mov edi, dword [ebp + 0x10]
cmp byte [ebp + 0x27], 0
jne 0x44f1c6
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x50], edi
test ebx, ebx
je 0x44ef99
cmp word [ebx], 0
je 0x44ef99
mov edx, 0x4e5d28
mov ecx, ebx
call fcn.004afc80
test eax, eax
je 0x44ef6f
mov eax, 6
jmp 0x44ef9e
mov edx, 0x4e5d30
mov ecx, ebx
call fcn.004afc80
test eax, eax
je 0x44ef86
mov eax, 3
jmp 0x44ef9e
mov edx, str.HIDE
mov ecx, ebx
call fcn.004afc80
neg eax
sbb eax, eax
inc eax
jmp 0x44ef9e
mov eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44efc2
push str.properties
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x44efc2
or dword [ebp - 0x64], 0xc
cmp dword [ebp - 0x10], 0
jne 0x44f100
lea eax, [esi*2 + 2]
call fcn.004cb9e0
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 0x44efe1
cmp word [edi], 0x22
lea esi, [edi + 2]
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcschr]
jne 0x44f034
push 0x22
push esi
call ebx
add esp, 8
test eax, eax
je 0x44f034
xor ecx, ecx
mov ebx, esi
mov word [eax], cx
movzx ecx, word [eax + 2]
test cx, cx
je 0x44f0fb
lea esi, [eax + 2]
cmp ecx, 0x20
jne 0x44f106
add esi, 2
jmp 0x44f106
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44f042
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 0x44f0cc
lea esi, [ebx - 2]
cmp esi, edi
jbe 0x44f07d
nop dword [eax + eax]
movzx eax, word [esi]
push eax
push 0x4eb8dc
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
jne 0x44f07d
sub esi, 2
cmp esi, edi
ja 0x44f060
cmp word [esi], 0x2e
jne 0x44f0b7
xor eax, eax
mov word [ebx], ax
mov eax, ebx
sub eax, esi
and eax, 0xfffffffe
cmp eax, 8
jne 0x44f0a4
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.004afc80
test eax, eax
jne 0x44f0f3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x44f0f3
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 0x44f054
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 0x10], 0
je 0x44f103
mov eax, dword [0x4f8b50]
mov ecx, 0x4cdc40
test eax, eax
je 0x44f0ea
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x44f103
mov dword [ebp - 8], edi
lea esi, [ebx + 2]
jmp 0x44f0cf
mov esi, dword [ebp - 0x10]
jmp 0x44f106
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], ebx
push eax
mov dword [ebp - 0x54], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x44f1bc
mov eax, dword [0x4fdfcc]
test al, 1
jne 0x44f14d
push str.GetProcessId
or eax, 1
push str.kernel32.dll
mov dword [0x4fdfcc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4fdfd0], eax
jmp 0x44f152
mov eax, dword [0x4fdfd0]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [edx], ecx
test ecx, ecx
je 0x44f1b2
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x44f1b2
test eax, eax
je 0x44f1b2
push ecx
call eax
push eax
mov ecx, ebx
call fcn.00401570
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
cmp byte [ebp + 0x20], 0
je 0x44f18f
mov eax, dword [0x4f70f4]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x44f19e
mov eax, dword [ecx]
test eax, eax
je 0x44f19e
push eax
call esi
mov eax, 1
lea esp, [ebp - 0x15c4]
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 0x44f17d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x44f1cc
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
cmp byte [ebp + 0x20], 0
je 0x44f1db
mov ecx, dword [0x4f70f4]
mov dword [ecx + 0x30], edx
cmp byte [ebp + 0x14], 0
je 0x44f2cd
push 0
push 0x1ff
lea eax, [ebp - 0x5b4]
push eax
push 0
push edx
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44f226
push eax
push str._nVerb:___s_
lea eax, [ebp - 0x1b4]
push 0x80
push eax
call fcn.004af890
add esp, 0x10
jmp 0x44f22f
xor eax, eax
mov word [ebp - 0x1b4], ax
test esi, esi
mov edi, 0x4cdc40
cmovne edi, esi
mov edx, edi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44f240
mov esi, ebx
sub edx, ecx
sar edx, 1
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44f254
sub esi, ecx
mov ecx, 0x4e4fc8
sar esi, 1
mov eax, ecx
cmp edx, 0x190
mov edx, 0x4cdc40
cmovbe eax, edx
cmp esi, 0x190
push eax
push edi
lea eax, [ebp - 0x1b4]
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 - 0x15b4]
push 0x800
push eax
call fcn.004af890
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x5b4]
add esp, 0x24
push eax
lea eax, [ebp - 0x15b4]
push eax
call fcn.0044dc10
xor eax, eax
lea esp, [ebp - 0x15c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24