Function at 0x65a8b240
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov esi, dword [edi]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test esi, esi
je 0x65a8b646
lea ebx, [edi + 4]
xor ebp, ebp
mov dword [esp], esi
call sub.msvcrt.dll_strlen
lea ebp, [ebp + eax + 3]
movzx eax, byte [esi]
test al, al
je 0x65a8b2ac
lea esi, [esi]
nop
cmp al, 0x22
sete al
add esi, 1
movzx eax, al
add ebp, eax
movzx eax, byte [esi]
test al, al
jne 0x65a8b298
mov esi, dword [ebx]
add ebx, 4
test esi, esi
jne 0x65a8b280
lea edx, [ebp + 1]
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.65a82110
mov dword [esp + 0x3c], eax
mov esi, eax
test eax, eax
je 0x65a8b6cb
mov ebp, dword [edi]
test ebp, ebp
jne 0x65a8b323
jmp 0x65a8b341
mov dword [esp + 4], str.__t_n_v_f_
mov dword [esp], ebp
call sub.msvcrt.dll_strpbrk
test eax, eax
jne 0x65a8b540
mov dword [esp + 4], ebp
mov dword [esp], esi
call fcn.65a8bca0
mov edx, dword [edi + 4]
add edi, 4
test edx, edx
je 0x65a8b341
mov edx, 0x20
lea esi, [eax + 1]
mov word [eax], dx
mov ebp, dword [edi]
cmp byte [ebp], 0
jne 0x65a8b2e8
mov ebp, 0x2222
add edi, 4
mov byte [esi + 2], 0
lea eax, [esi + 2]
mov word [esi], bp
mov edx, dword [edi]
test edx, edx
jne 0x65a8b316
lea edx, [esp + 0x60]
xor eax, eax
mov ecx, 0x10
mov dword [esp + 0x44], 0
mov edi, edx
mov dword [esp + 0x48], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x88], 0x100
mov dword [esp + 0x98], eax
mov dword [esp], 2
call dword [0x65a9a0c8]
mov dword [esp], eax
call sub.msvcrt.dll__fileno
mov edx, 0xffffffff
test eax, eax
js 0x65a8b3c0
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__get_osfhandle]
mov edx, eax
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x65a8b406
mov eax, dword [esp + 0xd8]
mov eax, dword [eax]
cmp edx, eax
je 0x65a8b595
cmp eax, 0xffffffff
jne 0x65a8b3f0
jmp 0x65a8b406
cmp eax, edx
je 0x65a8b595
add dword [esp + 0xd8], 4
mov eax, dword [esp + 0xd8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x65a8b3e8
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x65a9c6c6
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x65a8b74b
mov dword [esp + 0x9c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
sub esp, 4
mov edx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x18], 0
shr eax, 4
mov dword [esp + 0x10], 1
and eax, 8
or eax, edx
or eax, 0x4000004
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
je 0x65a8b6d5
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.65a821b0
mov dword [esp], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
sub esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
sub esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x4c]
mov dword [eax], edx
xor eax, eax
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 0x22
lea edx, [esi + 1]
mov word [esi], bx
mov eax, dword [edi]
movzx ecx, byte [eax]
test cl, cl
jne 0x65a8b56e
jmp 0x65a8b585
movzx ecx, byte [eax + 1]
add eax, 1
add edx, 1
test cl, cl
je 0x65a8b585
mov byte [edx], cl
cmp byte [eax], 0x22
jne 0x65a8b560
add eax, 1
mov byte [edx + 1], cl
add edx, 2
movzx ecx, byte [eax]
test cl, cl
jne 0x65a8b56e
mov ecx, 0x22
lea eax, [edx + 1]
mov word [edx], cx
jmp 0x65a8b30c
cmp eax, 0xffffffff
je 0x65a8b406
mov dword [esp + 0x9c], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
sub esp, 4
mov edx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x18], 0
shr eax, 4
mov dword [esp + 0x10], 1
and eax, 8
or eax, edx
or eax, 0x4000004
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
je 0x65a8b650
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.65a821b0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x65a8b500
mov edx, 1
jmp 0x65a8b2b8
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.65a83a80
mov dword [esp + 0x10], 0x65a9c650
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], str.pipe_connect_w32
mov dword [esp + 0x14], eax
mov dword [esp], eax
mov dword [esp + 8], str._s___s_p_:_call:_CreateProcess_failed:__s_n
mov dword [esp + 4], 5
call fcn.65a82cd0
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.65a821b0
mov dword [esp], 5
call sub.libgpg_error_0.dll_gpg_err_set_errno
mov eax, 0xffffffff
jmp 0x65a8b52b
mov eax, 0xffffffff
jmp 0x65a8b52b
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.65a83a80
mov dword [esp + 0x10], 0x65a9c650
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], str.pipe_connect_w32
mov dword [esp + 0x14], eax
mov dword [esp], eax
mov dword [esp + 8], str._s___s_p_:_call:_CreateProcess_failed:__s_n
mov dword [esp + 4], 5
call fcn.65a82cd0
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.65a821b0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
jmp 0x65a8b6b5
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.65a83a80
mov dword [esp + 0x10], 0x65a9c650
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], str.__assuan_spawn
mov dword [esp + 0x14], eax
mov dword [esp], eax
mov dword [esp + 8], str._s___s_p_:_call:_cant_open__nul:__s_n
mov dword [esp + 4], 5
call fcn.65a82cd0
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.65a821b0
mov dword [esp], 5
call sub.libgpg_error_0.dll_gpg_err_set_errno
or eax, 0xffffffff
jmp 0x65a8b52b