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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x2c]
sub esp, 0xaf4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x429ddf
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov dword [eax], 0
test ecx, ecx
je 0x429df9
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004668b0
test esi, esi
je 0x42a1fe
cmp byte [esi], 0
je 0x42a1fe
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429e10
sub eax, edx
mov dword [ebp - 0x28], eax
cmp eax, 0x4001
jb 0x429e4b
cmp byte [ebp + 0x18], cl
je 0x429e3a
mov ecx, dword [ebp + 8]
push 0x49588a
push str.String_too_long.__The_current_thread_will_exit.
call fcn.00429900
xor eax, eax
lea esp, [ebp - 0xb00]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
inc eax
mov dword [ebp - 0x2c], eax
call fcn.004854f0
mov ebx, esp
mov dword [ebp - 0x14], ebx
test edi, edi
je 0x429e69
cmp byte [edi], 0
jne 0x429e69
mov dword [ebp + 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
test eax, eax
jne 0x429e7d
mov dword [ebp - 8], 0x49588a
mov byte [ebp - 1], 0
test eax, eax
je 0x429f03
push str.find
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429efa
push str.explore
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429efa
push str.open
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429efa
push str.edit
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429efa
push 0x493e78
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429efa
push str.properties
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429efa
mov byte [ebp - 1], 0
jmp 0x429fec
mov byte [ebp - 1], 1
jmp 0x429fec
mov edx, ebx
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x429f10
cmp byte [ebx], 0x22
jne 0x429f2f
lea esi, [ebx + 1]
push 0x22
push esi
call fcn.00477c01
add esp, 8
jmp 0x429f3d
mov edi, 0x4918e4
mov eax, ebx
mov esi, ebx
call fcn.00408bf0
test eax, eax
je 0x429fec
mov byte [eax], 0
cmp byte [ebx], 0x22
lea edi, [eax + 1]
jne 0x429f56
cmp byte [edi], 0
je 0x429f56
inc edi
cmp byte [esi], 0x2a
jne 0x429f62
inc esi
mov byte [ebp - 1], 1
jmp 0x429fdb
push str.find
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429f5c
push str.explore
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429f5c
push str.open
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429f5c
push str.edit
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429f5c
push 0x493e78
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429f5c
push str.properties
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x429f5c
mov byte [ebp - 1], 0
test edi, edi
je 0x429fec
cmp byte [ebx], 0x22
jne 0x429fec
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
test edi, edi
jne 0x429fec
mov dword [ebp - 8], 0x49588a
push 0x1ff
lea eax, [ebp - 0x2ef]
push 0
push eax
mov byte [ebp - 2], 0
mov byte [ebp - 0x2f0], 0
call fcn.004812e0
add esp, 0xc
cmp byte [ebp + 0x28], 0
je 0x42a074
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x4f4]
test eax, eax
je 0x42a026
cmp dword [eax + 8], 0
jne 0x42a044
lea eax, [esi + 0x4fc]
call fcn.0042a4b0
test al, al
je 0x42a044
lea eax, [esi + 0x508]
call fcn.0042a4b0
test al, al
jne 0x42a074
cmp byte [ebp - 1], 0
mov bl, 1
je 0x42a07f
cmp byte [ebp + 0x18], 0
je 0x42a063
push 0x49588a
push str.System_verbs_unsupported_with_RunAs.__The_current_thread_will_exit.
mov ecx, esi
call fcn.00429900
xor eax, eax
lea esp, [ebp - 0xb00]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
xor bl, bl
cmp byte [ebp - 1], bl
jne 0x42a229
push 0x40
lea ecx, [ebp - 0xb4]
push 0
push ecx
call fcn.004812e0
mov esi, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0xb8], 0x44
mov dword [ebp - 0x8c], 1
test esi, esi
je 0x42a0c0
cmp byte [esi], 0
je 0x42a0c0
call fcn.004132d0
mov word [ebp - 0x88], ax
jmp 0x42a0cc
mov edx, 1
mov word [ebp - 0x88], dx
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
test edi, edi
je 0x42a11c
cmp byte [edi], al
je 0x42a11c
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42a0f0
mov ecx, dword [ebp - 0x28]
sub eax, edx
lea eax, [eax + ecx + 0xa]
call fcn.004854f0
mov edx, dword [ebp + 0xc]
mov esi, esp
push edi
push edx
push str._s__s
push esi
call fcn.00477162
add esp, 0x10
jmp 0x42a13a
mov eax, dword [ebp - 0x2c]
call fcn.004854f0
mov eax, dword [ebp + 0xc]
mov esi, esp
mov edx, esi
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x42a130
test bl, bl
je 0x42a189
mov ecx, dword [ebp - 0x10]
mov bl, byte [ebp + 0x18]
lea eax, [ebp - 0x2f0]
push eax
push ecx
mov ecx, dword [ebp + 0x2c]
lea edx, [ebp - 2]
push edx
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x24]
push ecx
push edx
mov edx, dword [ebp + 0x14]
push eax
push esi
mov esi, dword [ebp + 8]
push esi
mov cl, bl
call fcn.00446eb0
test eax, eax
jne 0x42a263
lea esp, [ebp - 0xb00]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xb8]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42a212
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42a1bd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
test eax, eax
je 0x42a1d5
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00401210
cmp byte [ebp + 0x24], 0
je 0x42a1e8
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], 0
cmp dword [ebp + 0x20], 0
jne 0x42a1fe
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
test eax, eax
je 0x42a1fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0xb00]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 0x24]
push eax
mov eax, 0x200
lea esi, [ebp - 0x2f0]
call fcn.00464fb0
add esp, 4
push 0x38
lea edx, [ebp - 0x64]
push 0
push edx
call fcn.004812e0
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x50], eax
test esi, esi
je 0x42a295
cmp byte [esi], 0
je 0x42a295
call fcn.004132d0
mov dword [ebp - 0x4c], eax
jmp 0x42a29c
cmp byte [ebp - 2], 0
jne 0x42a1d5
test bl, bl
je 0x42a284
lea ecx, [ebp - 0x2f0]
push ecx
push str.Launch_Error__possibly_related_to_RunAs_.__The_current_thread_will_exit.
mov ecx, esi
call fcn.00429900
xor eax, eax
lea esp, [ebp - 0xb00]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov dword [ebp - 0x4c], 1
cmp byte [ebp - 1], 0
je 0x42a2d0
mov eax, dword [ebp - 0xc]
push str.properties
push eax
mov dword [ebp - 0x5c], eax
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x42a2be
or dword [ebp - 0x64], 0xc
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0
jmp 0x42a3b3
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0xc], edx
jne 0x42a397
mov eax, edx
mov edx, dword [ebp - 0x14]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x42a2e3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42a2fb
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ebx, dword [ebp - 0x14]
lea eax, [ebx + 1]
push 0x20
push eax
call fcn.00477c01
mov edi, eax
add esp, 8
test edi, edi
je 0x42a386
lea esi, [edi - 1]
cmp esi, ebx
jbe 0x42a33a
lea esp, [esp]
movsx eax, byte [esi]
push eax
push 0x493f2c
call fcn.00477c01
add esp, 8
test eax, eax
jne 0x42a33a
dec esi
cmp esi, ebx
ja 0x42a320
cmp byte [esi], 0x2e
jne 0x42a36b
mov ecx, edi
sub ecx, esi
mov byte [edi], 0
cmp ecx, 4
jne 0x42a35d
push esi
mov eax, str..exe.bat.com.cmd.hta
call fcn.00464370
add esp, 4
test eax, eax
jne 0x42a37f
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x42a37f
mov byte [edi], 0x20
push 0x20
inc edi
push edi
call fcn.00477c01
mov edi, eax
add esp, 8
test edi, edi
jne 0x42a312
jmp 0x42a386
inc edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
cmp dword [ebp + 0x14], 0
je 0x42a397
push 0x4a13a8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], edx
movsx ecx, byte [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x42a3ce
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x42a1d5
mov edx, dword [ebp + 0x24]
push edx
mov eax, 0x200
lea esi, [ebp - 0x2f0]
call fcn.00464fb0
add esp, 4
cmp byte [ebp + 0x18], 0
je 0x42a490
cmp byte [ebp - 1], 0
mov ebx, dword [ebp - 0xc]
je 0x42a413
push ebx
push str._nVerb:___s_
mov esi, 0x80
lea edi, [ebp - 0xf0]
call fcn.00463ff0
add esp, 8
or bl, ch
pop es
mov byte [ebp - 0xf0], 0
mov edi, dword [ebp - 8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42a422
sub eax, edx
mov esi, 0x491b90
cmp eax, 0x190
ja 0x42a43c
mov esi, 0x49588a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42a441
sub eax, edx
cmp eax, 0x190
mov eax, 0x491b90
ja 0x42a45b
mov eax, 0x49588a
push esi
push edi
lea ecx, [ebp - 0xf0]
push ecx
push eax
push ebx
push str.Failed_attempt_to_launch_program_or_document:_nAction:____0.400s_s__s_nParams:____0.400s_s__n_nThe_current_thread_will_exit.
mov esi, 0x800
lea edi, [ebp - 0xaf0]
call fcn.00463ff0
mov ecx, dword [ebp + 8]
add esp, 0x18
lea edx, [ebp - 0x2f0]
push edx
mov eax, edi
push eax
call fcn.00429900
xor eax, eax
lea esp, [ebp - 0xb00]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28