Function at 0x1217b9a0
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 + 8], 0
je 0x1217b9ec
mov eax, dword [ebp + 8]
push eax
call fcn.12171010
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x1217b9ec
jmp 0x1217bb2a
cmp dword [ebp + 0xc], 0
je 0x1217ba0c
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.12171010
add esp, 4
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x1217ba0c
jmp 0x1217bb2a
cmp dword [ebp - 4], 0
je 0x1217ba2c
mov edx, dword [ebp + 0x24]
push edx
call fcn.12171010
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1217ba2c
jmp 0x1217bb2a
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 + 0x28]
cmp dword [ecx + 0xc], 0
je 0x1217ba77
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0xc]
push eax
call fcn.12171010
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1217ba77
jmp 0x1217bb2a
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x28]
mov ax, word [edx + 0x30]
mov word [ebp - 0x20], ax
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x28]
mov cx, word [eax + 0x32]
mov word [ebp - 0x1e], cx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x2c]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x54], 0
je 0x1217bb3a
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0x58], 0
je 0x1217bb4a
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 4], 0
je 0x1217bb5a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0x44], 0
je 0x1217bb6a
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret 0x28