Function at 0x10008816
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c1fa
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10051014]
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 0x100087f4
xor al, al
jmp 0x100087fa
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.0x1000880f.164
jmp dword [eax*4 + 0x10008db8]
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.1000b8d0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
push 1
cmovae esi, dword [ebp - 0x28]
mov ah, 0x52
push 0
mov al, 0x3d
mov byte [ebp - 0x50], ah
xor al, ah
mov byte [ebp - 0x4b], 0
push 0
mov cl, 0x22
mov byte [ebp - 0x4f], al
mov dl, 0x37
mov byte [ebp - 0x4b], 0
mov bl, 0x3c
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 0x10008d97
mov ecx, esi
call fcn.1000bc90
jmp case.0x1000880f.164
mov edi, dword [0x100536f0]
test edi, edi
je case.0x1000880f.164
mov ecx, dword [esi + 0x14]
lea eax, [edx + 1]
sub ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x100088c0
lea eax, [edx + 1]
xor cl, cl
mov dword [esi + 8], eax
mov byte [edi + 2], cl
jmp case.0x1000880f.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.0x1000880f.164
mov edi, dword [0x100536f0]
test edi, edi
je case.0x1000880f.164
mov ecx, esi
call fcn.1000ba00
mov byte [edi + 3], al
jmp case.0x1000880f.164
mov edi, dword [0x100536f0]
test edi, edi
je case.0x1000880f.164
mov ecx, esi
call fcn.1000ba00
mov byte [edi + 1], al
jmp case.0x1000880f.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.1000b880
mov eax, dword [ebp - 0x48]
mov ecx, 0x3e8
cmp ax, cx
cmova eax, ecx
xor ecx, ecx
cmp cx, ax
jae case.0x1000880f.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 0x10008965
xor edi, edi
jmp 0x1000896c
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 0x10008985
mov byte [ebp - 0x41], 0
jmp 0x1000898e
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.1000b8d0
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 0x100089b7
mov byte [ebp - 0x5c], 0
jmp 0x100089c0
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 0x100089d7
mov byte [ebp - 0x58], 0
jmp 0x100089e0
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 0x100089f7
mov byte [ebp - 0x54], 0
jmp 0x10008a00
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.10008f40
cmp byte [ebp - 0x41], 1
jne 0x10008af2
test eax, eax
jne 0x10008b4d
push 0x1c
call fcn.10038756
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 0x10008a5e
mov eax, dword [ecx]
jmp 0x10008a60
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100023b0
mov ecx, edi
call fcn.1000b7d0
push 0x1c
mov edi, eax
mov byte [ebp - 4], 1
call fcn.10038756
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 0x10008ab7
mov eax, dword [ecx]
jmp 0x10008ab9
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100023b0
mov ecx, dword [ebp - 0x84]
call fcn.1000b7d0
push eax
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.10009030
test al, al
jne 0x10008b4d
test edi, edi
je 0x10008b4d
push ecx
mov ecx, edi
call fcn.10008de0
jmp 0x10008b4d
test eax, eax
je 0x10008b4d
mov ecx, eax
call fcn.1000b7a0
mov edx, ebx
mov ecx, 0x10057d04
call fcn.10008e40
mov ecx, edi
call fcn.1001afc0
mov edi, eax
test edi, edi
je 0x10008b4d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10008b4d
cmp dword [edi + 0x760], eax
je 0x10008b4d
mov ecx, dword [edi + 0x3a8]
mov dword [edi + 0x760], eax
test ecx, ecx
je 0x10008b4d
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [edi + 0x3a8], 0
sub dword [ebp - 0x48], 1
jne 0x10008951
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb case.0x1000880f.164
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026c0
jmp case.0x1000880f.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.1000ba30
mov ecx, eax
call fcn.1000b8d0
mov ecx, eax
call fcn.1000b760
cmp dword [ebp - 0x30], 0
je 0x10008d8c
mov edi, dword [ebp - 0x48]
test edi, edi
jle 0x10008d8c
mov ecx, edi
call fcn.1000e7a0
mov esi, eax
test esi, esi
je 0x10008d8c
mov cl, byte [esi + 4]
mov edx, edi
call fcn.1000e7d0
mov edi, eax
test edi, edi
je 0x10008d8c
mov al, byte [ebp - 0x41]
cmp al, 1
jne 0x10008cc0
push edi
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.1000ec00
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x10008c36
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 0x10
movaps xmm0, xmmword [str.tQ_aT]
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 [0x100494b0]
movups xmmword [ebp - 0x70], xmm0
nop
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x1f
jb 0x10008c60
sub esp, 0x18
mov byte [ebp - 0x60], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.100028c0
lea eax, [ebp - 0xa0]
push eax
call fcn.1000b650
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10006540
lea ecx, [ebp - 0xa0]
call fcn.100022a0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.100022a0
mov cl, byte [edi + 0x4c]
call fcn.10008730
mov ebx, eax
jmp 0x10008d76
test al, al
jne 0x10008d76
push edi
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.1000ec00
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x10008ce5
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 0x10
movaps xmm0, xmmword [0x10049500]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x70], 0x595c0946
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0x4d485b4e
mov dword [ebp - 0x68], 0x5a0c094c
mov word [ebp - 0x64], 7
nop word [eax + eax]
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x1c
jb 0x10008d20
sub esp, 0x18
mov byte [ebp - 0x63], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.100028c0
lea eax, [ebp - 0xb8]
push eax
call fcn.1000b650
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10006540
lea ecx, [ebp - 0xb8]
call fcn.100022a0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.100022a0
mov ebx, 0xffff0000
cmp dword [ebp - 0x18], 0
je 0x10008d8c
push 3
push 1
push ebx
lea ecx, [ebp - 0x28]
call fcn.100218c0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.100022a0
lea ecx, [ebp - 0x40]
call fcn.100022a0
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.10038745
mov esp, ebp
pop ebp
ret