Function at 0x43fa30
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 0x43fa69
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004a2730
mov edi, dword [ebp + 8]
test edi, edi
je 0x4400db
mov dl, byte [edi]
test dl, dl
je 0x4400db
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43fa8f
xor ecx, ecx
cmp byte [eax], cl
cmove eax, ecx
mov dword [ebp + 0x10], eax
xor ebx, ebx
mov dword [ebp - 8], edi
xor esi, esi
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x43fb2a
push str.find
push edi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fb1b
push str.explore
push edi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fb1b
push str.open
push edi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fb1b
push str.edit
push edi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fb1b
push str.print
push edi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fb1b
push str.properties
push edi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fb1b
mov dword [ebp - 0x14], ebx
jmp 0x43fbff
mov esi, edi
mov ecx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
jmp 0x43fc01
mov ebx, edi
nop dword [eax]
mov ecx, 0x4d9e7c
mov al, 0x20
cmp dl, al
je 0x43fb50
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x43fb37
mov dl, byte [ebx + 1]
inc ebx
test dl, dl
jne 0x43fb30
jmp 0x43fbff
test ebx, ebx
je 0x43fbff
mov esi, ebx
sub esi, edi
lea eax, [esi + 1]
call fcn.004cd3d0
mov eax, esp
push esi
push edi
push eax
call fcn.004b4620
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [eax + esi], 0
mov esi, eax
cmp byte [esi], 0x2a
jne 0x43fb82
inc esi
jmp 0x43fbee
push str.find
push esi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fbee
push str.explore
push esi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fbee
push str.open
push esi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fbee
push str.edit
push esi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fbee
push str.print
push esi
call fcn.004b626e
add esp, 8
test eax, eax
je 0x43fbee
push str.properties
push esi
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x43fbfd
mov dword [ebp - 0x10], esi
test esi, esi
je 0x43fbff
lea ecx, [ebx + 1]
mov dword [ebp - 8], ecx
jmp 0x43fc01
xor esi, esi
mov ecx, edi
mov ebx, dword [ebp - 0x18]
xor edx, edx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x1c], edx
cmp byte [ebp + 0x24], dl
je 0x43fc72
mov eax, dword [ebx + 0x654]
test eax, eax
je 0x43fc21
cmp dword [eax + 8], edx
jne 0x43fc3f
mov eax, dword [ebx + 0x660]
test eax, eax
je 0x43fc30
cmp dword [eax + 8], edx
jne 0x43fc3f
mov eax, dword [ebx + 0x66c]
test eax, eax
je 0x43fc72
cmp dword [eax + 8], edx
je 0x43fc72
mov byte [ebp + 0x27], 1
test esi, esi
je 0x43fc75
cmp byte [ebp + 0x14], dl
je 0x4401fa
push 0x4d5231
push str.System_verbs_unsupported_with_RunAs.
mov ecx, ebx
call fcn.0043ed90
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]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x43fc80
sub esi, ecx
cmp esi, 0x4001
jb 0x43fcbc
cmp byte [ebp + 0x14], dl
je 0x4401fa
push 0x4d5231
push str.String_too_long.
mov ecx, ebx
call fcn.0043ed90
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 - 0x10], edx
jne 0x43fe74
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 0x43fd64
cmp byte [ebx], al
je 0x43fd64
mov edx, 0x4db890
mov ecx, ebx
call fcn.0049e4d0
test eax, eax
je 0x43fd39
mov eax, 6
jmp 0x43fd69
mov edx, 0x4db894
mov ecx, ebx
call fcn.0049e4d0
test eax, eax
je 0x43fd50
mov eax, 3
jmp 0x43fd69
mov edx, str.HIDE
mov ecx, ebx
call fcn.0049e4d0
test eax, eax
je 0x43fd64
xor eax, eax
jmp 0x43fd69
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 0x43fdb7
cmp byte [eax], 0
je 0x43fdb7
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fd88
sub ecx, edx
lea eax, [ecx + 0xa]
add eax, esi
call fcn.004cd3d0
mov eax, esp
push dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
push edi
push str._s__s
push eax
call fcn.004053b0
mov edx, dword [ebp + 0x18]
add esp, 0x10
jmp 0x43fdd2
lea eax, [esi + 1]
call fcn.004cd3d0
mov edx, esp
mov ecx, edx
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x43fdc5
cmp byte [ebp + 0x27], 0
mov edi, dword [ebp + 0x10]
je 0x43fe17
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.00469ee0
test eax, eax
je 0x4401fa
cmp byte [ebp + 0xb], 0
jne 0x4400b1
mov edx, dword [ebp - 0x1c]
jmp 0x43fe77
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 0x43fe6c
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43fe4a
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 0x4400ba
push dword [ebp - 0x24]
mov ecx, eax
call fcn.004014c0
jmp 0x4400b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43fe81
mov edi, dword [ebp + 0x10]
cmp byte [ebp + 0x27], 0
jne 0x440103
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 0x43fefa
cmp byte [ebx], 0
je 0x43fefa
mov edx, 0x4db890
mov ecx, ebx
call fcn.0049e4d0
test eax, eax
je 0x43fed0
mov eax, 6
jmp 0x43feff
mov edx, 0x4db894
mov ecx, ebx
call fcn.0049e4d0
test eax, eax
je 0x43fee7
mov eax, 3
jmp 0x43feff
mov edx, str.HIDE
mov ecx, ebx
call fcn.0049e4d0
neg eax
sbb eax, eax
inc eax
jmp 0x43feff
mov eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43ff22
push str.properties
push eax
mov dword [ebp - 0x5c], eax
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x43ff22
or dword [ebp - 0x64], 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x44003a
lea eax, [esi + 1]
call fcn.004cd3d0
mov ecx, dword [ebp - 8]
mov edi, esp
mov edx, edi
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x43ff40
cmp byte [edi], 0x22
lea esi, [edi + 1]
jne 0x43ff87
push 0x22
push esi
call fcn.004b87b6
add esp, 8
test eax, eax
je 0x43ff87
mov byte [eax], 0
mov cl, byte [eax + 1]
mov dword [ebp - 8], esi
test cl, cl
je 0x44003a
lea ebx, [eax + 1]
cmp cl, 0x20
jne 0x44003a
inc ebx
jmp 0x44003a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43ff95
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x20
push esi
call fcn.004b87b6
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x440015
lea esi, [ebx - 1]
cmp esi, edi
jbe 0x43ffca
nop dword [eax]
movsx eax, byte [esi]
push eax
push 0x4de240
call fcn.004b87b6
add esp, 8
test eax, eax
jne 0x43ffca
dec esi
cmp esi, edi
ja 0x43ffb0
cmp byte [esi], 0x2e
jne 0x440001
mov eax, ebx
mov byte [ebx], 0
sub eax, esi
cmp eax, 4
jne 0x43ffef
mov edx, esi
mov ecx, str..exe.bat.com.cmd.hta
call fcn.0049e4d0
test eax, eax
jne 0x440084
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x440084
mov byte [ebx], 0x20
lea eax, [ebx + 1]
push 0x20
push eax
call fcn.004b87b6
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43ffa6
mov ebx, dword [ebp - 0x14]
cmp dword [ebp + 0x10], 0
je 0x44003a
mov eax, dword [0x4ea23c]
mov ecx, 0x4d5231
test eax, eax
je 0x440033
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
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 0x4400f9
mov eax, dword [0x50f470]
test al, 1
jne 0x44008a
push str.GetProcessId
or eax, 1
push str.kernel32.dll
mov dword [0x50f470], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50f474], eax
jmp 0x44008f
mov dword [ebp - 8], edi
inc ebx
jmp 0x440018
mov eax, dword [0x50f474]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [edx], ecx
test ecx, ecx
je 0x4400ef
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x4400ef
test eax, eax
je 0x4400ef
push ecx
call eax
push eax
mov ecx, ebx
call fcn.004014c0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
cmp byte [ebp + 0x20], 0
je 0x4400cc
mov eax, dword [0x4e88cc]
mov dword [eax + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x4400db
mov eax, dword [ecx]
test eax, eax
je 0x4400db
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 0x4400ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x440106
mov ebx, dword [ebp - 0x14]
cmp byte [ebp + 0x20], 0
je 0x440115
mov ecx, dword [0x4e88cc]
mov dword [ecx + 0x30], edx
cmp byte [ebp + 0x14], 0
je 0x4401fa
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 - 0x10]
test eax, eax
je 0x440160
push eax
push str._nVerb:___s_
lea eax, [ebp - 0xec]
push 0x80
push eax
call fcn.0049e100
add esp, 0x10
jmp 0x440167
mov byte [ebp - 0xec], 0
test ebx, ebx
mov edi, 0x4d5231
cmovne edi, ebx
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x440176
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 0x440187
sub esi, ecx
cmp edx, 0x190
mov ecx, 0x4db618
mov edx, 0x4d5231
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.0049e100
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2ec]
add esp, 0x24
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.0043ed90
xor eax, eax
lea esp, [ebp - 0xafc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24