Function at 0x7f2f84f3
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x970
mov eax, dword [0x7f30b094]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
mov dword [ebp - 4], eax
push edi
je 0x7f2f8549
mov eax, dword [0x7f30ba9c]
cmp eax, ebx
jne 0x7f2f8532
push 0x7f2d3494
call fcn.7f2d458a
cmp eax, ebx
mov dword [0x7f30ba9c], eax
je 0x7f2f853a
push esi
call eax
jmp 0x7f2f88ed
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f88ed
xor eax, eax
push 0xf
pop ecx
lea edi, [ebp - 0x970]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x96c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x968], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x954], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x950], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x94c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x944], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x940], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x93c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x938], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xffff
mov dword [ebp - 0x970], 0x3c
jbe 0x7f2f8638
push eax
call fcn.7f2daf04
pop ecx
mov ecx, dword [0x7f30b088]
inc eax
imul ecx, eax
push ecx
mov dword [ebp - 0x934], eax
call fcn.7f2d55af
test eax, eax
mov edi, dword [0x7f30b088]
je 0x7f2f8602
mov eax, edi
imul eax, dword [ebp - 0x934]
cmp eax, ebx
je 0x7f2f8602
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x964], esp
jmp 0x7f2f8608
mov dword [ebp - 0x964], ebx
cmp dword [ebp - 0x964], ebx
je 0x7f2f8646
imul edi, dword [ebp - 0x934]
push ebx
push ebx
push edi
push dword [ebp - 0x964]
push dword [ebp - 0x934]
push dword [esi + 0xc]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f863e
mov dword [ebp - 0x964], eax
cmp dword [ebp - 0x964], ebx
jne 0x7f2f864f
cmp dword [esi + 0xc], ebx
jne 0x7f2f8542
mov eax, dword [esi + 0x14]
cmp eax, 0xffff
jbe 0x7f2f86d6
push eax
call fcn.7f2daf04
pop ecx
mov ecx, dword [0x7f30b088]
inc eax
imul ecx, eax
push ecx
mov dword [ebp - 0x934], eax
call fcn.7f2d55af
test eax, eax
mov edi, dword [0x7f30b088]
je 0x7f2f86a0
mov eax, edi
imul eax, dword [ebp - 0x934]
cmp eax, ebx
je 0x7f2f86a0
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x95c], esp
jmp 0x7f2f86a6
mov dword [ebp - 0x95c], ebx
cmp dword [ebp - 0x95c], ebx
je 0x7f2f86e4
imul edi, dword [ebp - 0x934]
push ebx
push ebx
push edi
push dword [ebp - 0x95c]
push dword [ebp - 0x934]
push dword [esi + 0x14]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f86dc
mov dword [ebp - 0x95c], eax
cmp dword [ebp - 0x95c], ebx
jne 0x7f2f86ed
cmp dword [esi + 0x14], ebx
jne 0x7f2f8542
mov eax, dword [esi + 0x18]
cmp eax, 0xffff
jbe 0x7f2f8774
push eax
call fcn.7f2daf04
pop ecx
mov ecx, dword [0x7f30b088]
inc eax
imul ecx, eax
push ecx
mov dword [ebp - 0x934], eax
call fcn.7f2d55af
test eax, eax
mov edi, dword [0x7f30b088]
je 0x7f2f873e
mov eax, edi
imul eax, dword [ebp - 0x934]
cmp eax, ebx
je 0x7f2f873e
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x958], esp
jmp 0x7f2f8744
mov dword [ebp - 0x958], ebx
cmp dword [ebp - 0x958], ebx
je 0x7f2f8782
imul edi, dword [ebp - 0x934]
push ebx
push ebx
push edi
push dword [ebp - 0x958]
push dword [ebp - 0x934]
push dword [esi + 0x18]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f877a
mov dword [ebp - 0x958], eax
cmp dword [ebp - 0x958], ebx
jne 0x7f2f878b
cmp dword [esi + 0x18], ebx
jne 0x7f2f8542
mov eax, dword [esi + 0x28]
cmp eax, 0xffff
jbe 0x7f2f8812
push eax
call fcn.7f2daf04
inc eax
mov dword [ebp - 0x934], eax
imul eax, dword [0x7f30b088]
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov edi, dword [0x7f30b088]
je 0x7f2f87da
mov eax, dword [ebp - 0x934]
imul eax, edi
cmp eax, ebx
je 0x7f2f87da
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x948], esp
jmp 0x7f2f87e0
mov dword [ebp - 0x948], ebx
cmp dword [ebp - 0x948], ebx
je 0x7f2f8820
mov eax, dword [ebp - 0x934]
imul eax, edi
push ebx
push ebx
push eax
push dword [ebp - 0x948]
push dword [ebp - 0x934]
push dword [esi + 0x28]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f8818
mov dword [ebp - 0x948], eax
cmp dword [ebp - 0x948], ebx
jne 0x7f2f8829
cmp dword [esi + 0x28], ebx
jne 0x7f2f8542
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x7f2f88ce
cmp eax, 0xffff
lea ecx, [ebp - 0x930]
mov dword [ebp - 0x960], ecx
jbe 0x7f2f8874
push ebx
push ebx
push 0x92a
push ecx
push 0xffffffffffffffff
push eax
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebx
je 0x7f2f886c
mov byte [ebp + eax - 0x92f], bl
jmp 0x7f2f887a
mov byte [ebp - 0x930], bl
jmp 0x7f2f887a
mov dword [ebp - 0x960], eax
test byte [esi + 6], 0x40
je 0x7f2f88ce
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov eax, dword [esi + 0x10]
inc edi
lea eax, [eax + edi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
push 0x92a
lea ecx, [ebp - 0x930]
push ecx
lea eax, [edi + eax + 1]
push eax
push dword [esi + 0x10]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x7f2f88ce
mov dword [esi + 0x20], 8
push 0x57
jmp 0x7f2f853c
lea eax, [ebp - 0x970]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 0x950]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x938]
mov dword [esi + 0x38], ecx
lea esp, [ebp - 0x97c]
mov ecx, dword [ebp - 4]
call fcn.7f2fed53
pop edi
pop esi
pop ebx
leave
ret 4