Function at 0x10009090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fb7b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10095070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], edx
mov edi, dword [eax + 0x10]
test edi, edi
je 0x1000911d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.10001b60
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000d960
mov esi, eax
mov dword [ebp - 4], 2
mov eax, 1
jmp 0x1000913e
push ecx
push 0
mov edx, 0x10085430
lea ecx, [ebp - 0x28]
call fcn.10005ec0
add esp, 8
mov esi, eax
mov dword [ebp - 4], 3
mov eax, 2
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
add ecx, 4
cmp ecx, esi
je 0x10009177
call fcn.10003750
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x44]
xor eax, eax
movups xmmword [ecx + 4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x14], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x48]
test al, 2
je 0x100091e3
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100091cf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100091c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000976d
push edx
push ecx
call fcn.10039776
mov eax, dword [ebp - 0x48]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 0
test al, 1
je 0x10009249
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10009235
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000922b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009772
push edx
push ecx
call fcn.10039776
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test edi, edi
jne 0x10009278
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x24]
lea esi, [edx + 0x20]
lea eax, [edx + 4]
push eax
cmp dword [esi + 8], ecx
je 0x10009270
mov dword [ebp - 0x58], ecx
call fcn.10001b60
mov dword [ebp - 4], edi
add dword [esi + 4], 0x18
jmp 0x10009278
push ecx
mov ecx, esi
call fcn.1000eaf0
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ecx + 4]
call fcn.1000dad0
mov dword [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x10009296
mov eax, dword [eax]
push 0
neg edi
push 0x80
sbb edi, edi
add edi, 3
push edi
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x68], 0x100853ac
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10009302
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100092f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009777
push edx
push ecx
call fcn.10039776
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0xc0], 0x44
cmp esi, 0xffffffff
je 0x100093ae
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x94], 0x100
call esi
mov edi, eax
call esi
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x84]
push 0
push 1
push 2
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
test esi, esi
je 0x100093be
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0x100853ac
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xd
xorps xmm0, xmm0
mov eax, dword [ebp - 0x50]
movups xmmword [ebp - 0xd0], xmm0
cmp dword [eax + 0x10], 0
jne 0x100093f1
mov dword [ebp - 0x50], 0
jmp 0x100093fc
cmp dword [eax + 0x14], 8
jb 0x100093fc
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov edi, dword [ebp - 0x5c]
cmp dword [edi + 0x10], 0
jne 0x10009409
xor ecx, ecx
jmp 0x10009413
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x10009413
mov ecx, dword [edi]
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x10], 0
jne 0x10009420
xor eax, eax
jmp 0x1000942a
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x1000942a
mov eax, dword [edx]
lea edx, [ebp - 0xd0]
push edx
lea edx, [ebp - 0xc0]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 0
push 0x8000020
push 1
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100096c5
call fcn.10018970
cmp dword [eax + 0x34], 0
je 0x10009470
xor ecx, ecx
cmp cx, word [eax + 0x3c]
je 0x10009470
mov al, 1
jmp 0x10009472
xor al, al
test al, al
je 0x100095b8
call fcn.10018970
mov dword [ebp - 0x50], eax
call fcn.10005930
mov ecx, eax
test ecx, ecx
je 0x1000977c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x44]
push 0x1a
push str.Failed_to_create_process__
call fcn.10005a60
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x14], 8
jb 0x100094bc
mov edx, dword [edx]
test edx, edx
je 0x100094ea
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x5c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100094d0
sub ecx, dword [ebp - 0x5c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.10005a60
push 0x11
push str.__with_command:__
lea ecx, [ebp - 0x44]
call fcn.10005a60
cmp dword [edi + 0x14], 8
jb 0x10009501
mov edi, dword [edi]
test edi, edi
je 0x10009529
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009510
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.10005a60
push 1
push 0x100854a4
lea ecx, [ebp - 0x44]
call fcn.10005a60
call fcn.10005930
mov ecx, eax
test ecx, ecx
je 0x10009786
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x54]
push 0
push 0x10085294
call fcn.10005a60
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x34], 0
je 0x1000957b
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.10018a20
mov byte [ebp - 4], 0x10
or edi, 0xffffffff
mov edx, dword [ebp - 0x54]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000959c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100095b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push 0x7c
mov dword [ebp - 0x5c], eax
call fcn.100397b5
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x18
mov ecx, eax
call fcn.1000a090
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov byte [ebp - 4], 0x19
mov byte [ebp - 0x14], 0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov byte [ebp - 0x49], 0
setne al
test al, al
je 0x10009790
test ecx, ecx
setne al
test al, al
je 0x100097a3
push ecx
lea eax, [ebp - 0x49]
push eax
call fcn.1000a2d0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10009631
cmp byte [ebp - 0x18], 0
je 0x1000962d
mov al, byte [ecx + 0x6c]
test al, al
jne 0x10009631
mov al, 1
jmp 0x10009633
xor al, al
test al, al
je 0x100097b6
cmp byte [ebp - 0x14], 0
jne 0x100097c9
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x14], 1
mov dword [edi], 0
cmp edi, eax
je 0x10009670
test ecx, ecx
jne 0x10009661
mov dword [edi], ecx
jmp 0x10009670
lock inc dword [ecx + 4]
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov al, byte [ebp - 0x18]
mov byte [edi + 4], al
mov byte [edi + 4], 1
mov dword [ebp - 4], 0x1c
mov eax, dword [ebp - 0x48]
or eax, 8
mov dword [ebp - 0x48], eax
and eax, 0xfffffff7
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0x1b
or eax, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c]
call fcn.10009a90
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], 0x100853ac
test eax, eax
je 0x10009731
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6c], 0
jmp 0x10009731
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0x100853ac
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x1c]
mov edi, dword [ebp - 0x74]
mov ecx, edi
push eax
call fcn.1000a390
mov eax, dword [ebp - 0x48]
add esp, 4
or eax, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x100853ac
test eax, eax
je 0x10009726
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x70], 0x100853ac
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], 0x100853ac
test esi, esi
je 0x1000974e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x64], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10039765
mov esp, ebp
pop ebp
ret 0x14
call fcn.10053fe9
call fcn.10053fe9
call fcn.10053fe9
push 0x80004005
call fcn.100035d0
push 0x80004005
call fcn.100035d0
mov edx, 4
lea ecx, [ebp - 0x60]
call fcn.1000c870
push eax
call fcn.10024ff2
mov edx, 4
lea ecx, [ebp - 0x60]
call fcn.1000c870
push eax
call fcn.10024ff2
mov edx, 4
lea ecx, [ebp - 0x60]
call fcn.1000c870
push eax
call fcn.10024ff2
mov edx, 2
lea ecx, [ebp - 0x78]
call fcn.1000c870
push eax
call fcn.10024ff2
int3