Function at 0x10006269
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10058930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov byte [esp + 0x18], cl
push ebx
push esi
push edi
mov edi, edx
test cl, cl
je 0x1000650b
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 5
call fcn.10003fc8
push ecx
call fcn.100042a6
xor ebx, ebx
mov dword [esp + 0x58], 7
xor eax, eax
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
push ecx
mov dl, 1
mov dword [esp + 0xa4], ebx
call fcn.10003b2a
pop ecx
pop ecx
cmp edi, esi
jbe 0x100064e9
push 3
pop edi
push edi
lea ecx, [esp + 0x30]
call fcn.10001bdd
mov byte [esp + 0x9c], 1
mov dword [esp + 0x18], 0xd45db34e
mov dword [esp + 0xc], ebx
jmp 0x1000631a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x78], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1000630a
mov dword [esp + 0xc], ebx
jmp 0x10006335
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x10006326
mov eax, dword [esp + 0x2c]
mov dword [eax], ebx
jmp 0x10006356
lea edx, [esp + 0x13]
mov byte [esp + 0x13], bl
call fcn.100050b8
mov eax, dword [esp + 0x2c]
inc dword [eax]
mov eax, dword [esp + 0x2c]
cmp dword [eax], 2
jle 0x10006343
mov dword [esp + 0x18], ebx
jmp 0x100063b6
mov dword [esp + 0x38], 0xb7d8cf4c
mov dword [esp + 0xc], ebx
jmp 0x10006383
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x58], 8
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x10006373
mov dword [esp + 0x64], ebx
jmp 0x100063ab
lea eax, [esp + 0x38]
xor cl, cl
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x34]
call fcn.1000440b
dec dword [esp + 0x6c]
pop ecx
pop ecx
cmp dword [esp + 0x64], 0xffffffe8
jl 0x10006390
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffffb
je 0x10006365
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], bl
call fcn.10001c3a
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.10004dd4
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, dword [esp + 0x20]
jae 0x1000649b
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x14], 0xd
jmp 0x1000646b
mov dword [esp + 0x28], 0xfffffff8
mov dword [esp + 0xc], ebx
jmp 0x10006425
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x84], 0x88ad
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x10006412
push 0x9a8
push 0x6476
push 0x4237
lea eax, [esp + 0x34]
xor dl, dl
push eax
push 0x6b59
push 0x26ce
mov ecx, 0x434e
call fcn.10004090
add esp, 0x14
lea ecx, [esp + 0x2c]
mov edx, 0x184a
call fcn.1000575d
inc dword [esp + 0x18]
pop ecx
cmp dword [esp + 0x14], 0x1b
jge 0x10006404
mov esi, dword [esp + 0x1c]
mov ecx, esi
add esi, 2
mov dword [esp + 0x1c], esi
call fcn.10003abf
movzx eax, ax
lea ecx, [esp + 0x40]
push eax
call fcn.1000c786
cmp esi, dword [esp + 0x20]
jb 0x100063f2
push 1
lea ecx, [esp + 0x6c]
call fcn.10001bdd
push 0x77f4
push ecx
mov byte [esp + 0xa4], 2
lea edx, [esp + 0x70]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x44], 0x4c506d44
call fcn.1000653e
lea eax, [esp + 0x44]
push eax
sub esp, 0x10
call fcn.10007f62
add esp, 0x1c
mov byte [esp + 0x9c], bl
lea ecx, [esp + 0x68]
call fcn.10001c3a
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x40]
cmp ecx, eax
je 0x100064fd
push 0xffffffffffffffff
push ebx
push eax
call fcn.1000c86d
push ebx
push 1
lea ecx, [esp + 0x48]
call fcn.1000ca37
jmp 0x10006529
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x10006529
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x17f6
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret