Function at 0x7f2df47a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
xor ebx, ebx
cmp dword [0x7f307acc], ebx
push esi
push edi
je 0x7f2df4b6
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x7f2df842
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x7f2df529
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2df505
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2df505
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 8], esp
jmp 0x7f2df508
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
je 0x7f2df52c
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 8]
push edi
push dword [ebp + 8]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2df52c
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffff
jbe 0x7f2df595
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2df571
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2df571
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 4], esp
jmp 0x7f2df574
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x7f2df598
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 0xc]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2df598
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
cmp eax, 0xffff
jbe 0x7f2df601
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2df5dd
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2df5dd
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp + 8], esp
jmp 0x7f2df5e0
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x7f2df604
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp + 8]
push edi
push dword [ebp + 0x24]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2df604
mov dword [ebp + 8], eax
mov esi, dword [ebp + 0x28]
mov eax, dword [esi + 4]
cmp eax, 0xffff
mov dword [ebp - 0x4c], 0x44
jbe 0x7f2df67d
push eax
call fcn.7f2da99a
pop ecx
mov ecx, dword [0x7f307088]
inc eax
imul ecx, eax
push ecx
mov dword [ebp + 0xc], eax
call fcn.7f2d53a1
test eax, eax
mov edi, dword [0x7f307088]
je 0x7f2df656
mov eax, edi
imul eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x7f2df656
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0x48], esp
jmp 0x7f2df659
mov dword [ebp - 0x48], ebx
cmp dword [ebp - 0x48], ebx
je 0x7f2df680
imul edi, dword [ebp + 0xc]
push ebx
push ebx
push edi
push dword [ebp - 0x48]
push dword [ebp + 0xc]
push dword [esi + 4]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2df680
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 8]
cmp eax, 0xffff
jbe 0x7f2df6ef
push eax
call fcn.7f2da99a
pop ecx
mov ecx, dword [0x7f307088]
inc eax
imul ecx, eax
push ecx
mov dword [ebp + 0xc], eax
call fcn.7f2d53a1
test eax, eax
mov edi, dword [0x7f307088]
je 0x7f2df6c8
mov eax, edi
imul eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x7f2df6c8
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0x44], esp
jmp 0x7f2df6cb
mov dword [ebp - 0x44], ebx
cmp dword [ebp - 0x44], ebx
je 0x7f2df6f2
imul edi, dword [ebp + 0xc]
push ebx
push ebx
push edi
push dword [ebp - 0x44]
push dword [ebp + 0xc]
push dword [esi + 8]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2df6f2
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xffff
jbe 0x7f2df761
push eax
call fcn.7f2da99a
pop ecx
mov ecx, dword [0x7f307088]
inc eax
imul ecx, eax
push ecx
mov dword [ebp + 0xc], eax
call fcn.7f2d53a1
test eax, eax
mov edi, dword [0x7f307088]
je 0x7f2df73a
mov eax, edi
imul eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x7f2df73a
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0x40], esp
jmp 0x7f2df73d
mov dword [ebp - 0x40], ebx
cmp dword [ebp - 0x40], ebx
je 0x7f2df764
imul edi, dword [ebp + 0xc]
push ebx
push ebx
push edi
push dword [ebp - 0x40]
push dword [ebp + 0xc]
push dword [esi + 0xc]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2df764
mov dword [ebp - 0x40], eax
test byte [ebp + 0x1d], 4
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x20], eax
mov ax, word [esi + 0x30]
mov word [ebp - 0x1c], ax
mov ax, word [esi + 0x32]
mov word [ebp - 0x1a], ax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0xc], eax
je 0x7f2df81c
push dword [ebp + 0x20]
call fcn.7f2d404a
mov edi, eax
cmp edi, ebx
jbe 0x7f2df818
lea esi, [edi + 1]
mov eax, esi
imul eax, dword [0x7f307088]
push eax
call fcn.7f2d53a1
test eax, eax
je 0x7f2df802
mov eax, esi
imul eax, dword [0x7f307088]
cmp eax, ebx
je 0x7f2df802
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov esi, esp
jmp 0x7f2df804
xor esi, esi
cmp esi, ebx
jne 0x7f2df80c
xor eax, eax
jmp 0x7f2df842
push edi
push esi
push dword [ebp + 0x20]
call fcn.7f2d5e6a
jmp 0x7f2df81f
xor esi, esi
jmp 0x7f2df81f
mov esi, dword [ebp + 0x20]
push dword [ebp + 0x2c]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret 0x28