Function at 0x7cfd3979
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa24
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x204
xor eax, eax
lea edi, [ebp - 0x81a]
cmp dword [ebp + 0x38], ebx
mov word [ebp - 0x81c], bx
mov dword [ebp - 8], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
stosw word es:[edi], ax
jne 0x7cfd39bf
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.7cfd3830
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0xc], ebx
mov edi, dword [ebp + 0x30]
jne 0x7cfd39f0
cmp dword [ebp + 0x38], ebx
je 0x7cfd39f0
cmp dword [ebp + 0x10], ebx
je 0x7cfd39f0
lea eax, [ebp - 0x81c]
push 0x104
push eax
push ebx
push dword [ebp + 0x10]
push 4
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
jmp 0x7cfd3b25
cmp dword [ebp - 4], ebx
jne 0x7cfd3a47
cmp dword [ebp + 0x38], ebx
jne 0x7cfd3a1c
push dword [ebp + 0x34]
push edi
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x18]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x7cfd3a44
cmp dword [ebp + 0xc], ebx
je 0x7cfd3a82
push dword [ebp + 0x34]
push edi
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x18]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ebx
je 0x7cfd3a6a
call fcn.7cf6b241
test eax, eax
je 0x7cfd3a78
push dword [ebp + 0x10]
push 0xffffffffffffffff
push 3
push 0xf
push 0x7cf395d0
call fcn.7d031321
jmp 0x7cfd3a78
cmp dword [ebp - 4], ebx
je 0x7cfd3a78
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x38
push dword [ebp + 0x34]
lea eax, [ebp - 0x210]
mov esi, dword [edi + 8]
mov word [ebp - 0x318], bx
push edi
mov word [ebp - 0x51a], bx
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push 1
push eax
lea eax, [ebp - 0x412]
push eax
lea eax, [ebp - 0x614]
push eax
call fcn.7cf83166
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x7cfd3a47
cmp edi, ebx
je 0x7cfd3ace
mov dword [edi + 8], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [ebp - 4], eax
call fcn.7cfd37c1
test eax, eax
je 0x7cfd3a47
lea eax, [ebp - 0xa24]
push 0x104
push eax
push 0x192a
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa24]
push 0x10
push eax
lea eax, [ebp - 0x81c]
push dword [ebp - 4]
push 0x1086
push eax
push dword [ebp + 8]
call fcn.7cfa9f74
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc]
sub eax, ebx
je 0x7cfd3b76
dec eax
je 0x7cfd3b4d
dec eax
jne 0x7cfd3b99
call sym.SHELL32.dll_Ordinal_258
lea eax, [ebp - 0x81c]
push eax
push 0x7cfd3097
push dword [ebp + 8]
push 0x428
jmp 0x7cfd3b8a
push 0x7cf3f2dc
lea eax, [ebp - 0x81c]
push 7
push eax
push 0x7cfd3330
push 0x41d
push dword [0x7d04cdfc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
jmp 0x7cfd3b96
lea eax, [ebp - 0x81c]
push eax
push 0x7cfd3330
push dword [ebp + 8]
push 0x3ef
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x30]
dec eax
je 0x7cfd39f0
sub eax, 6
je 0x7cfd3bb4
mov dword [ebp - 4], 0x4c7
jmp 0x7cfd39f0
mov dword [ebp + 0x38], ebx
jmp 0x7cfd39f0