Function at 0x690505
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0x9c], 0
setne al
movzx eax, al
test eax, eax
jne 0x69056b
mov dword [esp], str.src_lib_process_process_win32.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.process
mov dword [esp + 8], 0x78c934
mov dword [esp + 4], 0x90
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0068f4fe
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0xc
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x58], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x5c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.006914c3
xor eax, 1
test al, al
je 0x690609
mov eax, 2
jmp 0x690951
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x5c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x88]
mov dword [esp + 4], eax
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.006914c3
xor eax, 1
test al, al
je 0x690641
mov eax, 2
jmp 0x690951
mov dword [esp + 0xc], 1
lea eax, [ebp - 0x5c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x80]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.006914c3
xor eax, 1
test al, al
je 0x690676
mov eax, 2
jmp 0x690951
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
lea eax, [ebp - 0x50]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x50], 0x44
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
or ah, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0068f481
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0068f074
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.006925f5
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
lea ecx, [eax + 0xc6c]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
movzx eax, byte [eax]
test al, al
je 0x690708
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
jmp 0x69070d
mov eax, 0
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x24], ecx
lea ecx, [ebp - 0x50]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x68]
mov dword [eax], 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x64]
mov dword [eax], 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0068dc4f
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
cmp dword [ebp - 0x6c], 0
jne 0x690893
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], eax
call fcn.006c1578
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.CreateProcessA___failed:__s
mov dword [esp + 0xc], str.process_win32_exec
mov dword [esp + 4], 0x4000000
mov dword [esp + 8], 0
mov dword [esp], 4
call fcn.006bf072
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0068fa81
mov eax, 2
jmp 0x690951
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x424], edx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x848], edx
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x70]
mov dword [eax], edx
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0x840], edx
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0xc64], edx
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0x41c], edx
call fcn.006911f6
xor eax, 1
test al, al
je 0x690930
call fcn.00691058
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0068f8a2
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0068f94f
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x690961
call sub.libssp_0.dll___stack_chk_fail
leave
ret