Function at 0x1000d3e0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100247ab
mov eax, dword fs:[0]
push eax
mov eax, 0x3148
call fcn.10024720
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30ec], edx
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30dc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30d4], eax
mov eax, dword [0x100358e8]
push 0
mov dword [ebp - 0x30e0], ebx
mov dword [ebp - 0x30fc], 0xc
mov dword [eax + 0x18], 0
lea eax, [ebp - 0x30fc]
push eax
lea eax, [ebp - 0x30d8]
mov dword [ebp - 0x30f8], 0
push eax
lea eax, [ebp - 0x30e4]
mov dword [ebp - 0x30f4], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 0
push 0
push 0
call esi
push eax
push dword [ebp - 0x30d8]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [ebp - 0x30e4]
xorps xmm0, xmm0
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
movlpd qword [ebp - 0x3150], xmm0
movlpd qword [ebp - 0x3148], xmm0
movlpd qword [ebp - 0x3140], xmm0
movlpd qword [ebp - 0x3138], xmm0
movlpd qword [ebp - 0x3130], xmm0
movlpd qword [ebp - 0x3124], xmm0
mov dword [ebp - 0x3154], 0x44
mov dword [ebp - 0x3128], 0x100
mov dword [ebp - 0x311c], eax
call esi
push 0xfffffffffffffff4
mov dword [ebp - 0x3118], eax
call esi
mov esi, dword [ebp - 0x30dc]
mov dword [ebp - 0x3114], eax
mov eax, 0x1002b18c
mov ecx, dword [esi]
mov dword [ebp - 0x30e8], ecx
cmp edi, 2
jne 0x1000d52c
cmp dword [ebp - 0x30ec], 0
jne 0x1000d535
jmp 0x1000d541
cmp edi, 1
jne 0x1000d541
test ecx, ecx
je 0x1000d53c
mov eax, str._cmdmove
jmp 0x1000d541
mov eax, str._cmddelete
push dword [ebp + 8]
push str._fc_shell_ext1
push eax
mov eax, dword [0x100358e8]
push dword [eax + 0x10]
lea eax, [ebp - 0x1050]
push str.__s___s__new__s_x
push eax
call fcn.1000cbd0
add esp, 0x18
lea eax, [ebp - 0x3110]
push eax
lea eax, [ebp - 0x3154]
push eax
push 0
push 0
push 0x4000000
push 1
push 0
push 0
lea eax, [ebp - 0x1050]
push eax
mov eax, dword [0x100358e8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x30e4]
mov dword [ebp - 0x30dc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30dc], 0
je 0x1000d766
cmp edi, 2
mov eax, ebx
cmove eax, dword [ebp - 0x30d4]
mov dword [ebp - 0x30f0], eax
jne 0x1000d5d0
cmp dword [esi], 0
je 0x1000d5d6
mov dword [ebp - 0x30e0], esi
mov ecx, eax
call fcn.1000e310
mov ecx, 0x820
mov dword [ebp - 0x30d4], eax
cmp eax, ecx
cmova ecx, eax
xor ebx, ebx
mov eax, ecx
mov ecx, 2
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.10013d78
mov esi, eax
add esp, 4
test esi, esi
je 0x1000d61c
push ebx
push 0
push esi
call fcn.10015930
add esp, 0xc
jmp 0x1000d61e
xor esi, esi
mov dword [ebp - 0x3100], esi
cmp dword [ebp - 0x30e8], 0
mov dword [ebp - 4], 0
jne 0x1000d640
cmp edi, 2
je 0x1000d640
mov ebx, 1
jmp 0x1000d642
xor ebx, ebx
push dword [ebp - 0x30d4]
mov ecx, dword [ebp - 0x30f0]
push esi
call fcn.1000e2a0
push 0
add eax, ebx
lea ecx, [ebp - 0x30d4]
push ecx
mov dword [ebp - 0x30d4], eax
add eax, eax
push eax
push esi
push dword [ebp - 0x30d8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x30e8], 0
jne 0x1000d689
cmp edi, 2
jne 0x1000d71b
jmp 0x1000d68e
cmp edi, 2
jne 0x1000d6bf
mov ebx, dword [ebp - 0x30e0]
cmp dword [ebx], 0
jle 0x1000d6a0
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
jmp 0x1000d6a2
xor ecx, ecx
sub esp, 8
lea edx, [ebp - 0x2090]
call fcn.1000eb90
add esp, 8
test eax, eax
je 0x1000d6c5
lea edx, [ebp - 0x2090]
jmp 0x1000d6d3
mov ebx, dword [ebp - 0x30e0]
cmp dword [ebx], 0
jle 0x1000d6d1
mov eax, dword [ebx + 8]
mov edx, dword [eax]
jmp 0x1000d6d3
xor edx, edx
push ecx
push 0x1002b420
lea ecx, [ebp - 0x30d0]
call fcn.1000e9e0
lea eax, [ebp - 0x30d0]
push eax
push dword [0x100358ec]
push esi
call fcn.1000cbd0
add esp, 0x14
lea ecx, [ebp - 0x30d4]
inc eax
mov dword [ebp - 0x30d4], eax
shl eax, 2
push 0
push ecx
push eax
push esi
push dword [ebp - 0x30d8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x3110]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x310c]
call ebx
cmp edi, 2
jne 0x1000d757
cmp dword [ebp - 0x30ec], 0
je 0x1000d757
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000d757
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x1000d76c
push esi
call fcn.10013c29
add esp, 4
jmp 0x1000d76c
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30d8]
call ebx
mov eax, dword [ebp - 0x30dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10013c18
mov esp, ebp
pop ebp
ret