Function at 0x103e4250
Capabilities:
Allocate or change rwx memory
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, 0x58
push esi
push edi
push 0x40
mov esi, ecx
push 0x3000
push dword [esi + 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
test eax, eax
jne 0x103e45c0
movups xmm0, xmmword [0x103f6e68]
mov ax, word [0x103f6e78]
mov edx, 4
mov edi, dword [0x103fd62c]
mov word [ebp - 0x24], ax
movups xmmword [ebp - 0x34], xmm0
test ah, ah
je 0x103e4418
xor ecx, ecx
cmp edi, 2
jl 0x103e43f0
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 0x1f
movaps xmm4, xmmword [0x103f7350]
movaps xmm3, xmmword [0x103f73a0]
movaps xmm6, xmmword [0x103f7370]
movaps xmmword [ebp - 0x20], xmm0
movd xmm5, edx
mov edx, dword [ebp - 0x20]
movd xmm7, eax
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x34]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x34], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x30]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x30], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x103e42f0
cmp ecx, 0x12
jge 0x103e4418
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0x12
jl 0x103e43f0
cmp byte [0x103f6e93], 0
movups xmm0, xmmword [str.oSIHH_S]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [0x103f6e8c]
movq qword [ebp - 0x3c], xmm0
je 0x103e45ae
xor edx, edx
mov dword [ebp - 4], edx
cmp edi, 2
jl 0x103e4580
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x103f7350]
xor ecx, ecx
movaps xmm3, xmmword [0x103f73a0]
movaps xmm6, xmmword [0x103f7370]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
movd xmm7, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x4c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x4c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x48]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x48], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x103e4482
jmp 0x103e45ae
mov eax, 0x4d4873ed
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, 0x35
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x4c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0x18
jl 0x103e4580
push 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esi + 4]
mov eax, dword [esi]
push dword [esi + 8]
mov dword [0x103fd714], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [0x103fd6e0]
add esp, 0xc
mov edx, dword [0x103fd6dc]
mov eax, dword [esi]
mov dword [ebp - 4], eax
cmp edx, edi
je 0x103e4605
nop dword [eax + eax]
mov ecx, dword [esi]
add ecx, dword [edx]
add edx, 4
mov eax, dword [ebp - 4]
add eax, 0xba330000
add dword [ecx], eax
cmp edx, edi
jne 0x103e45f0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret