Function at 0x10002f50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000fba5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
test esi, esi
je 0x10003161
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push esi
mov dword [ebp - 0x18], 0
call dword [eax + 0x1c]
test eax, eax
js 0x10003163
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
jbe 0x10003161
lea edi, [ebx + 0x22]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
mov eax, dword [esi]
push ecx
push ebx
push esi
call dword [eax + 0x20]
mov esi, eax
test esi, esi
js 0x1000314f
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], 0
push 0x80058000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x1000314f
push 0x100154dc
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x10003123
push str.generate__
lea ecx, [ebp - 0x30]
call fcn.10003200
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10003025
mov eax, dword [ebp - 0x1c]
sub esi, ecx
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar esi, 1
mov dword [ebp - 0x38], ecx
cmp esi, eax
ja 0x10003075
cmp dword [ebp - 0x1c], 7
lea eax, [ecx + esi]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x20], eax
cmova edi, dword [ebp - 0x30]
lea eax, [esi + esi]
push eax
push edx
lea ecx, [edi + ecx*2]
push ecx
call fcn.10006600
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, esi
xor ecx, ecx
mov word [edi + eax*2], cx
lea edi, [ecx + 0x22]
jmp 0x10003087
push esi
push edx
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x3c]
push esi
call fcn.10003330
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x20]
sub eax, ecx
cmp eax, 1
jb 0x100030af
lea eax, [ecx + 1]
cmp edx, 7
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
mov dword [eax + ecx*2], 0x22
jmp 0x100030c7
push 1
push 0x100154fc
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x40]
push 1
call fcn.10003330
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 1
cmova eax, dword [ebp - 0x30]
push 0
push eax
push 0x10015500
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10003123
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003119
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003181
push ecx
push edx
call fcn.10003c70
add esp, 8
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x10003141
lea ecx, [ebp - 0x14]
call fcn.10001df0
inc ebx
cmp ebx, dword [ebp - 0x18]
jae 0x10003161
mov esi, dword [ebp - 0x44]
jmp 0x10002fb0
cmp dword [ebp - 0x14], 0
je 0x1000315d
lea ecx, [ebp - 0x14]
call fcn.10001df0
mov eax, esi
jmp 0x10003163
xor eax, eax
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.10003bdd
mov esp, ebp
pop ebp
ret 0xc
call fcn.10006f20
int3