Function at 0x10003f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006786e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1007e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], edi
mov ecx, edi
mov dword [ebp - 0x28], 1
push 0
movups xmmword [edi], xmm0
push 0x1006c7a3
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10005220
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
mov dword [ebp - 0x28], 1
cmp al, 0xff
je 0x10004135
cmp al, 1
jne 0x10003fe6
movaps xmm0, xmmword [0x10076e70]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x242c
mov byte [ebp - 0xe], 0
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x10003fc0
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003fd7
lea eax, [ebp - 0x1f]
jmp 0x1000412a
jle 0x10004135
xor ecx, ecx
cmp al, 5
jge 0x1000402c
movaps xmm0, xmmword [0x10077130]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x5047544e
mov byte [ebp - 0x10], cl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10004007
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004020
jmp 0x10004127
cmp al, 0xa
jge 0x1000406c
movaps xmm0, xmmword [0x10076f80]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x3b393f2c
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10004046
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004060
jmp 0x10004127
cmp al, 0x1a
jge 0x100040ac
movaps xmm0, xmmword [0x10076f90]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x273f3431
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10004086
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100040a0
jmp 0x10004127
mov byte [ebp - 0xe], 0
cmp al, 0x65
jge 0x100040ec
movaps xmm0, xmmword [0x10076c30]
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x502
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x100040c5
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100040e0
lea eax, [ebp - 0x1f]
jmp 0x1000412a
movaps xmm0, xmmword [0x10076a80]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x1f181f17
mov word [ebp - 0x10], 0x1118
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x15
jb 0x10004104
lea ecx, [ebp - 0x23]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004120
lea eax, [ebp - 0x23]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10004f30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4