Function at 0x102078a
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov ecx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
xor edi, edi
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x10207aa
mov eax, dword [ecx + 4]
cmp eax, 0x1c
jae 0x10207b1
xor eax, eax
jmp 0x1020982
push esi
mov esi, dword [ecx + 8]
cmp esi, ebx
jne 0x10207c0
xor eax, eax
jmp 0x1020981
cmp dword [esi], 0xdde1dde1
jne 0x10207b9
cmp dword [esi + 4], 1
jne 0x10207b9
lea edx, [esi + 0x18]
mov ecx, edx
add eax, esi
jmp 0x10207e2
cmp edi, 2
jae 0x10207e6
cmp byte [ecx], bl
jne 0x10207e1
inc edi
inc ecx
cmp ecx, eax
jb 0x10207d7
mov eax, dword [esi + 8]
dec eax
je 0x102084e
dec eax
jne 0x102097f
cmp edi, 1
jb 0x10207b9
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push eax
push 0xffffffffffffffff
push edx
push ebx
call dword [sym.imp.USER32.dll_MBToWCSEx]
test eax, eax
je 0x10207b9
lea eax, [ebp - 8]
push eax
add esi, 0xc
push esi
push dword [ebp + 0x10]
call fcn.0102073d
test eax, eax
je 0x1020830
mov eax, dword [ebp - 8]
shr eax, 0x1e
and eax, 1
mov dword [ebp - 4], eax
jmp 0x1020833
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1020952
cmp edi, 2
jb 0x10207b9
mov edi, dword [sym.imp.USER32.dll_MBToWCSEx]
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push eax
push 0xffffffffffffffff
push edx
push ebx
call edi
test eax, eax
je 0x10207b9
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + esi + 0x19]
push eax
push ebx
call edi
test eax, eax
jne 0x10208ad
mov eax, dword fs:[0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x10207b9
lea eax, [ebp - 8]
push eax
add esi, 0xc
push esi
push dword [ebp + 0x10]
call fcn.0102073d
test eax, eax
je 0x1020925
test byte [ebp - 5], 0x80
je 0x1020925
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [0x1075c50]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
xor edi, edi
inc edi
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x64], 0x10119e4
mov dword [ebp - 0x40], edi
mov word [ebp - 0x3c], di
mov eax, dword [eax + 8]
push ebx
push dword [eax + 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1020925
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
mov dword [ebp - 4], edi
jmp 0x1020928
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
push dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push ebx
push dword [eax + 0x18]
call esi
mov eax, dword fs:[0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
mov eax, dword [0x1075c6c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x1075c58]
xor ebx, ebx
push 0x4a
push dword [ebp + 0xc]
inc ebx
mov dword [ebp - 0x14], 4
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret 0xc