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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaf0
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 0x44e849
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b04f0
mov edi, dword [ebp + 8]
test edi, edi
je 0x44eef1
mov dl, byte [edi]
test dl, dl
je 0x44eef1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44e86f
xor ecx, ecx
cmp byte [eax], cl
cmove eax, ecx
mov dword [ebp + 0x10], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
test esi, esi
je 0x44e994
push str.find
push edi
call ebx
add esp, 8
test eax, eax
je 0x44e985
push str.explore
push edi
call ebx
add esp, 8
test eax, eax
je 0x44e985
push str.open
push edi
call ebx
add esp, 8
test eax, eax
je 0x44e985
push str.edit
push edi
call ebx
add esp, 8
test eax, eax
je 0x44e985
push str.print
push edi
call ebx
add esp, 8
test eax, eax
je 0x44e985
push str.properties
push edi
call ebx
add esp, 8
test eax, eax
je 0x44e985
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 0x44ea7c
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x65c]
test eax, eax
je 0x44e928
cmp dword [eax + 8], edx
jne 0x44e94e
mov eax, dword [esi + 0x668]
test eax, eax
je 0x44e937
cmp dword [eax + 8], edx
jne 0x44e94e
mov eax, dword [esi + 0x674]
test eax, eax
je 0x44ea7c
cmp dword [eax + 8], edx
je 0x44ea7c
mov byte [ebp + 0x27], 1
test ecx, ecx
je 0x44ea7f
cmp byte [ebp + 0x14], dl
je 0x44f013
push 0x4c3c29
push str.System_verbs_unsupported_with_RunAs.
mov ecx, esi
call fcn.0044da60
xor eax, eax
lea esp, [ebp - 0xafc]
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 0x44e904
mov ebx, edi
mov ecx, 0x4c98e4
mov al, 0x20
nop dword [eax]
cmp dl, al
je 0x44e9b9
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x44e9a0
mov dl, byte [ebx + 1]
inc ebx
test dl, dl
jne 0x44e996
jmp 0x44e900
test ebx, ebx
je 0x44e900
mov esi, ebx
sub esi, edi
lea eax, [esi + 1]
call fcn.004c1c90
mov eax, esp
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [eax + esi], 0
mov esi, eax
cmp byte [esi], 0x2a
jne 0x44e9f0
lea ecx, [esi + 1]
mov dword [ebp - 0x14], ecx
jmp 0x44ea6b
push str.find
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x44ea66
push str.explore
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x44ea66
push str.open
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x44ea66
push str.edit
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x44ea66
push str.print
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x44ea66
push str.properties
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x44e900
mov ecx, esi
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x44e902
inc ebx
mov dword [ebp - 8], ebx
jmp 0x44e904
mov byte [ebp + 0x27], dl
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44ea84
sub esi, ecx
cmp esi, 0x4001
jb 0x44eac1
cmp byte [ebp + 0x14], dl
je 0x44f013
mov ecx, dword [ebp - 0x18]
push 0x4c3c29
push str.String_too_long.
call fcn.0044da60
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ebx, dword [ebp + 0x18]
cmp dword [ebp - 0x14], edx
jne 0x44ec7f
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 0x44eb69
cmp byte [ebx], al
je 0x44eb69
mov edx, 0x4ca598
mov ecx, ebx
call fcn.004ac1a0
test eax, eax
je 0x44eb3e
mov eax, 6
jmp 0x44eb6e
mov edx, 0x4ca59c
mov ecx, ebx
call fcn.004ac1a0
test eax, eax
je 0x44eb55
mov eax, 3
jmp 0x44eb6e
mov edx, str.HIDE
mov ecx, ebx
call fcn.004ac1a0
test eax, eax
je 0x44eb69
xor eax, eax
jmp 0x44eb6e
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 0x44ebbf
cmp byte [eax], 0
je 0x44ebbf
mov ecx, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44eb90
sub ecx, edx
lea eax, [ecx + 0xa]
add eax, esi
call fcn.004c1c90
mov eax, esp
push dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
push edi
push str._s__s
push eax
call fcn.00405ed0
mov edx, dword [ebp + 0x18]
add esp, 0x10
jmp 0x44ebdd
lea eax, [esi + 1]
call fcn.004c1c90
mov edx, esp
mov ecx, edx
sub ecx, edi
nop dword [eax]
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x44ebd0
cmp byte [ebp + 0x27], 0
mov edi, dword [ebp + 0x10]
je 0x44ec22
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.00478440
test eax, eax
je 0x44f013
cmp byte [ebp + 0xb], 0
jne 0x44eec7
mov edx, dword [ebp - 0x1c]
jmp 0x44ec82
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_CreateProcessA]
test eax, eax
je 0x44ec77
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44ec55
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 0x44eed0
push dword [ebp - 0x24]
mov ecx, eax
call fcn.004015b0
jmp 0x44eecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ec8c
mov edi, dword [ebp + 0x10]
cmp byte [ebp + 0x27], 0
jne 0x44ef19
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 0x44ed05
cmp byte [ebx], 0
je 0x44ed05
mov edx, 0x4ca598
mov ecx, ebx
call fcn.004ac1a0
test eax, eax
je 0x44ecdb
mov eax, 6
jmp 0x44ed0a
mov edx, 0x4ca59c
mov ecx, ebx
call fcn.004ac1a0
test eax, eax
je 0x44ecf2
mov eax, 3
jmp 0x44ed0a
mov edx, str.HIDE
mov ecx, ebx
call fcn.004ac1a0
neg eax
sbb eax, eax
inc eax
jmp 0x44ed0a
mov eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44ed2e
push str.properties
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x44ed2e
or dword [ebp - 0x64], 0xc
cmp dword [ebp - 0x10], 0
jne 0x44ee53
lea eax, [esi + 1]
call fcn.004c1c90
mov ecx, dword [ebp - 8]
mov edi, esp
mov edx, edi
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x44ed50
cmp byte [edi], 0x22
lea esi, [edi + 1]
mov ebx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
jne 0x44ed99
push 0x22
push esi
call ebx
add esp, 8
test eax, eax
je 0x44ed99
mov byte [eax], 0
mov ebx, esi
mov cl, byte [eax + 1]
test cl, cl
je 0x44ee4e
lea esi, [eax + 1]
cmp cl, 0x20
jne 0x44ee59
inc esi
jmp 0x44ee59
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44eda7
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x20
push esi
call ebx
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44ee1f
lea esi, [ebx - 1]
cmp esi, edi
jbe 0x44eddb
nop dword [eax]
movsx eax, byte [esi]
push eax
push 0x4cd620
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
add esp, 8
test eax, eax
jne 0x44eddb
dec esi
cmp esi, edi
ja 0x44edc0
cmp byte [esi], 0x2e
jne 0x44ee0a
mov eax, ebx
mov byte [ebx], 0
sub eax, esi
cmp eax, 4
jne 0x44edfc
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.004ac1a0
test eax, eax
jne 0x44ee46
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x44ee46
mov byte [ebx], 0x20
lea eax, [ebx + 1]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x44edb5
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 0x10], 0
je 0x44ee56
mov eax, dword [0x4d8ae0]
mov ecx, 0x4c3c29
test eax, eax
je 0x44ee3d
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x44ee56
mov dword [ebp - 8], edi
lea esi, [ebx + 1]
jmp 0x44ee22
mov esi, dword [ebp - 0x10]
jmp 0x44ee59
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_ShellExecuteExA]
test eax, eax
je 0x44ef0f
mov eax, dword [0x4fd808]
test al, 1
jne 0x44eea0
push str.GetProcessId
or eax, 1
push str.kernel32.dll
mov dword [0x4fd808], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4fd80c], eax
jmp 0x44eea5
mov eax, dword [0x4fd80c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [edx], ecx
test ecx, ecx
je 0x44ef05
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x44ef05
test eax, eax
je 0x44ef05
push ecx
call eax
push eax
mov ecx, ebx
call fcn.004015b0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
cmp byte [ebp + 0x20], 0
je 0x44eee2
mov eax, dword [0x4d70f4]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x44eef1
mov eax, dword [ecx]
test eax, eax
je 0x44eef1
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 0x44eed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x44ef1f
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
cmp byte [ebp + 0x20], 0
je 0x44ef2e
mov ecx, dword [0x4d70f4]
mov dword [ecx + 0x30], edx
cmp byte [ebp + 0x14], 0
je 0x44f013
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 - 0x14]
test eax, eax
je 0x44ef79
push eax
push str._nVerb:___s_
lea eax, [ebp - 0xec]
push 0x80
push eax
call fcn.004abdd0
add esp, 0x10
jmp 0x44ef80
mov byte [ebp - 0xec], 0
test esi, esi
mov edi, 0x4c3c29
cmovne edi, esi
mov edx, edi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x44ef90
mov esi, ebx
sub edx, ecx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x44efa0
sub esi, ecx
cmp edx, 0x190
mov ecx, 0x4c9e10
mov edx, 0x4c3c29
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.004abdd0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2ec]
add esp, 0x24
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.0044da60
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24