Function at 0x1217fd10
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
push 8
call dword [sym.imp.kernel32.dll_SetLastError]
cmp dword [ebp + 0xc], 0
je 0x1217fd5c
mov eax, dword [ebp + 0xc]
push eax
call fcn.121758f0
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x1217fd5c
jmp 0x1217fe9e
cmp dword [ebp + 0x10], 0
je 0x1217fd7c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.121758f0
add esp, 4
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x1217fd7c
jmp 0x1217fe9e
cmp dword [ebp + 0x28], 0
je 0x1217fd9c
mov edx, dword [ebp + 0x28]
push edx
call fcn.121758f0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1217fd9c
jmp 0x1217fe9e
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp + 0x2c]
cmp dword [ecx + 0xc], 0
je 0x1217fde7
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + 0xc]
push eax
call fcn.121758f0
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1217fde7
jmp 0x1217fe9e
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x2c]
mov ax, word [edx + 0x30]
mov word [ebp - 0x20], ax
mov ecx, dword [ebp + 0x2c]
mov dx, word [ecx + 0x32]
mov word [ebp - 0x1e], dx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x30]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x54], 0
je 0x1217feae
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0x58], 0
je 0x1217febe
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 4], 0
je 0x1217fece
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0x44], 0
je 0x1217fede
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret 0x2c