Function at 0x100ef8d9
Capabilities:
Create pipe
Create process on windows

Disassembly:
push 0x164
mov eax, 0x10138bf2
call fcn.101108dc
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x164], eax
xor eax, eax
inc eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x108], ecx
cmp byte [ebp + 0x1c], cl
je 0x100ef979
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc4]
push ecx
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0xc4], 0xc
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0xc0], ecx
push eax
call dword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
je 0x100ef96f
push 0
push 1
push dword [ebp - 0x104]
call dword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x100ef977
xor eax, eax
inc eax
jmp 0x100efe92
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 4], ecx
jmp 0x100ef9fd
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x28]
push esi
call fcn.10063887
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 1
call fcn.10063887
push 0x10154958
lea ecx, [ebp - 0xa0]
call fcn.10063887
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov byte [ebp - 4], cl
cmp eax, 8
jb 0x100ef9fa
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.10063887
pop ecx
pop ecx
xor ecx, ecx
add esi, 0x18
cmp esi, edi
jne 0x100ef99c
push 0x44
pop esi
push esi
push ecx
lea eax, [ebp - 0x15c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x15c], esi
cmp byte [ebp + 0x1c], 0
je 0x100efa37
mov eax, dword [ebp - 0x108]
or dword [ebp - 0x130], 0x100
mov dword [ebp - 0x120], eax
xor eax, eax
lea edi, [ebp - 0x118]
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
stosd dword es:[edi], eax
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebx + 0x14], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jb 0x100efa5f
mov ebx, dword [ebx]
lea eax, [ebp - 0x118]
xor edx, edx
push eax
lea eax, [ebp - 0x15c]
push eax
movzx eax, byte [ebp + 0x20]
push edx
push edx
xor eax, 1
shl eax, 0x1b
push eax
push 1
push edx
push edx
push ecx
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x100efe4e
xor edi, edi
cmp byte [ebp + 0x1c], 0
mov dword [ebp - 0x16c], edi
je 0x100efe36
push dword [ebp - 0x104]
lea eax, [ebp - 0x88]
push eax
call fcn.10063887
pop ecx
pop ecx
push str._KeyChainSeparator_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10063887
mov ebx, dword [ebp - 0x160]
lea ecx, [ebp - 0xb8]
push 0x1014a0f1
mov byte [ebp - 4], 3
mov dword [ebx], 4
call fcn.10063887
mov esi, 0x1014ad1c
mov byte [ebp - 4], 4
push esi
lea ecx, [ebp - 0x100]
call fcn.10063887
push esi
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.10063887
push 0x101a1c88
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xd0]
mov esi, edi
push eax
call fcn.10063887
add esp, 0xc
push edi
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x88]
call fcn.10063887
cmp eax, 0xffffffff
lea ecx, [ebp - 0x88]
push edi
lea eax, [ebp - 0x28]
push eax
je 0x100efd03
call fcn.10063887
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100efdf3
push 0xf
mov byte [ebp - 0x170], 0
pop edi
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x88]
push ebx
push 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x58], 0
call fcn.10063887
push dword [ebp - 0x170]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10063887
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100efbb5
inc eax
push eax
push dword [ebp - 0x58]
call fcn.10063887
pop ecx
pop ecx
test esi, esi
jne 0x100efbe3
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
pop ecx
mov ecx, dword [ebp - 0x160]
inc esi
mov dword [ecx], eax
jmp 0x100efccf
cmp esi, 1
jne 0x100efc04
push dword [ebp - 0x168]
lea eax, [ebp - 0xb8]
push eax
call fcn.10063887
pop ecx
pop ecx
push 2
pop esi
jmp 0x100efccf
cmp dword [ebp - 0x164], 0
je 0x100efdf3
cmp dword [ebp - 0xf0], 0
jne 0x100efc22
lea eax, [ebp - 0x100]
jmp 0x100efc31
cmp dword [ebp - 0xd8], 0
jne 0x100efc40
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.10063887
pop ecx
pop ecx
cmp dword [ebp - 0xf0], 0
je 0x100efccf
cmp dword [ebp - 0xd8], 0
je 0x100efccf
and dword [ebp - 0x60], 0
lea eax, [ebp - 0x100]
and dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x70]
push eax
call fcn.10063887
and dword [ebp - 0x48], 0
lea eax, [ebp - 0xe8]
and dword [ebp - 0x44], 0
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 8
call fcn.10063887
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 9
call fcn.10063887
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.10015273
lea ecx, [ebp - 0x70]
call fcn.10015273
push 0x1014ad1c
lea ecx, [ebp - 0x100]
call fcn.10063887
push 0x1014ad1c
lea ecx, [ebp - 0xe8]
call fcn.10063887
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x88]
add eax, ebx
push eax
push 0
call fcn.10063887
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.10063887
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100efb6f
jmp 0x100efdf3
call fcn.10063887
cmp eax, 0xffffffff
je 0x100efdf3
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.10063887
push 0xf
pop edi
xor ecx, ecx
mov dword [ebp - 0x44], edi
push eax
push ecx
lea eax, [ebp - 0x88]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x58], cl
lea ecx, [ebp - 0x58]
push eax
call fcn.10063887
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x88]
call fcn.10063887
add eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
and dword [ebp - 0x30], 0
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x2c], edi
push eax
mov byte [ebp - 0x40], 0
call fcn.10063887
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp dword [ebp - 0x30], 0
pop ecx
mov dword [ebx], eax
jbe 0x100efe98
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax], 0xa
je 0x100efdc3
push dword [ebp - 0x168]
lea eax, [ebp - 0x40]
push eax
call fcn.10063887
mov edx, dword [ebp - 0x40]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x100efdd4
lea eax, [ecx + 1]
push eax
push edx
call fcn.10063887
pop ecx
pop ecx
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x100efdf3
inc eax
push eax
push dword [ebp - 0x58]
call fcn.10063887
pop ecx
pop ecx
lea ecx, [ebp - 0xd0]
call fcn.1001524d
lea ecx, [ebp - 0xe8]
call fcn.10015273
lea ecx, [ebp - 0x100]
call fcn.10015273
lea ecx, [ebp - 0xb8]
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.1001524d
push dword [ebp - 0x118]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x114]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp byte [ebp + 0x1c], 0
je 0x100efe6c
push dword [ebp - 0x104]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x108]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x8c]
cmp ecx, 8
jb 0x100efe8c
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0xa0]
call fcn.10063887
pop ecx
pop ecx
mov eax, dword [ebp - 0x16c]
call fcn.10110886
ret
call fcn.10035b1e
int3