Function at 0x10031fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006255e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x43]
push 0
mov word [ebp - 0x44], 0x4b
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002800
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
mov dword [ebp - 4], 0
cmp eax, 9
ja case.default.0x1003204f
jmp dword [eax*4 + 0x1003233c]
movaps xmm0, xmmword [0x10068c00]
xor ecx, ecx
push 6
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x5c504c
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10032070
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x3b]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x5c]
push eax
call fcn.10031980
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.10007d70
lea ecx, [ebp - 0x5c]
call fcn.10001840
jmp 0x100322f8
movaps xmm0, xmmword [0x10068c10]
xor ecx, ecx
push 7
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x272b37
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100320c7
jmp 0x1003207d
movaps xmm0, xmmword [0x10068820]
xor ecx, ecx
push 8
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3c302c
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100320f0
jmp 0x1003207d
movaps xmm0, xmmword [0x10068810]
xor ecx, ecx
push 9
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3f332f
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10032118
jmp 0x1003207d
movaps xmm0, xmmword [0x10068820]
xor ecx, ecx
push 0xa
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3c302c
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10032140
jmp 0x1003207d
movaps xmm0, xmmword [0x100687d0]
xor ecx, ecx
push 0xb
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x5e524e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10032168
jmp 0x1003207d
movaps xmm0, xmmword [0x100687d0]
xor ecx, ecx
push 0xc
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x5e524e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10032190
jmp 0x1003207d
movaps xmm0, xmmword [0x10068830]
xor ecx, ecx
push 0xd
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x343824
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100321b8
jmp 0x1003207d
movaps xmm0, xmmword [0x10068800]
xor ecx, ecx
push 0xe
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x161a06
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100321e0
jmp 0x1003207d
movaps xmm0, xmmword [str.rnBKx_UFCBx]
xor ecx, ecx
push 0xf
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x535f43
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10032208
jmp 0x1003207d
movaps xmm0, xmmword [0x10068800]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x161a06
nop
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10032230
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003226c
mov eax, dword [edx]
jmp 0x1003226e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x1003227b
xor ecx, ecx
jmp 0x1003228a
lea ecx, [ebp - 0x3b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032281
sub ecx, esi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x5c]
push eax
call fcn.10031980
add esp, 0x20
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100322dd
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100322c2
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003770
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x100322f8
push 1
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10002610
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push dword [edi]
call fcn.10013110
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 0x10
jb 0x1003231d
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 8