Function at 0x1003fb8b
Capabilities:
Encode data using xor

Disassembly:
push 0x100
mov eax, 0x1007903c
call fcn.1004605f
mov esi, ecx
movzx eax, word [ebp + 0xc]
movzx ebx, word [ebp + 0x10]
movzx edi, word [ebp + 8]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x60], eax
movzx eax, word [ebp + 0x14]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 1
test di, di
je 0x1003ff22
test bx, bx
je 0x1003ff22
cmp dword [esi + 0x34], 0
jg 0x1003ff22
mov ecx, dword [esi + 8]
lea edx, [ebp + 0x1c]
call fcn.10010c45
mov ecx, dword [esi + 0xc]
lea edx, [ebp + 0x34]
call fcn.10010c45
mov ecx, dword [esi + 0x10]
xor edx, edx
call fcn.10010cd6
mov ecx, dword [esi + 0x14]
xor edx, edx
call fcn.10010cd6
or eax, 0xffffffff
cmp di, ax
je 0x1003fef8
cmp bx, ax
je 0x1003fef8
mov cl, 0x33
mov dword [ebp - 0x54], 0x5e4a4033
mov dword [ebp - 0x50], 0x6f5f5c51
xor eax, eax
mov byte [ebp - 0x4c], 0
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 7
jae 0x1003fc43
mov cl, byte [ebp - 0x54]
jmp 0x1003fc34
lea eax, [ebp - 0x53]
mov byte [ebp - 0x4c], 0
push eax
mov edx, 0x1009bd28
lea ecx, [ebp - 0x44]
call fcn.10009fc4
pop ecx
mov eax, dword [ebp - 0x60]
push 2
pop ebx
mov byte [ebp - 4], bl
test ax, ax
jne 0x1003fcab
movaps xmm0, xmmword [0x1008eed0]
xor ecx, ecx
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0x400a4f56
mov word [ebp - 0x68], 0x505c
mov byte [ebp - 0x66], al
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x15
jb 0x1003fc84
lea eax, [ebp - 0x7b]
mov byte [ebp - 0x66], 0
push eax
lea ecx, [ebp - 0xdc]
call fcn.10001f6a
xor edi, edi
inc edi
mov ebx, edi
jmp 0x1003fd14
movaps xmm0, xmmword [0x1008e750]
cwde
push eax
movsx eax, di
xor edi, edi
push eax
inc edi
mov word [ebp - 0x9c], 0x1e
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push edi
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
push eax
movups xmmword [ebp - 0xac], xmm0
mov al, byte [ebp - 0xac]
xor byte [ebp + ecx - 0xab], al
inc ecx
cmp ecx, 0x10
jb 0x1003fcda
sub esp, 0x18
mov byte [ebp - 0x9b], 0
lea eax, [ebp - 0xab]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xc4]
push eax
call fcn.10007414
add esp, 0x2c
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10004ba8
mov dword [ebp - 4], 4
test bl, 2
je 0x1003fd4f
push 0
and ebx, 0xfffffffd
lea ecx, [ebp - 0xc4]
push edi
mov dword [ebp - 0x48], ebx
call fcn.10001e1f
mov byte [ebp - 4], 5
test bl, 1
je 0x1003fd6c
push 0
and ebx, 0xfffffffe
lea ecx, [ebp - 0xdc]
push edi
mov dword [ebp - 0x48], ebx
call fcn.10001e1f
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x2c]
call fcn.10010909
movss xmm3, dword [0x1008e170]
sub esp, 0x14
mov ecx, dword [esi + 0x18]
xorps xmm2, xmm2
xorps xmm1, xmm1
and dword [esp + 0x10], 0
and dword [esp + 0xc], 0
and dword [esp + 8], 0
and dword [esp + 4], 0
mov dword [esp], 0x3f800000
call fcn.100109bd
mov eax, dword [ebp - 0x98]
add esp, 0x14
test ax, ax
jne 0x1003fe0a
movaps xmm0, xmmword [0x1008ec70]
xor ecx, ecx
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x367c3920
mov word [ebp - 0x80], 0x262a
mov byte [ebp - 0x7e], al
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x15
jb 0x1003fddc
lea eax, [ebp - 0x93]
mov byte [ebp - 0x7e], 0
push eax
lea ecx, [ebp - 0x10c]
call fcn.10001f6a
or ebx, 4
jmp 0x1003fe62
cmp dword [ebp - 0x30], 0x10
movaps xmm0, xmmword [str.hMee7M_f7M_f7M_fF_f]
cwde
push eax
mov eax, dword [ebp - 0x64]
cwde
push eax
lea eax, [ebp - 0x44]
mov word [ebp - 0x4c], 0x1c
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
push edi
push eax
movups xmmword [ebp - 0x5c], xmm0
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x10
jb 0x1003fe31
sub esp, 0x18
mov byte [ebp - 0x4b], 0
lea eax, [ebp - 0x5b]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xf4]
push eax
call fcn.10007414
add esp, 0x2c
or ebx, 8
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003ac6
test bl, 8
je 0x1003fe81
push 0
push edi
lea ecx, [ebp - 0xf4]
and ebx, 0xfffffff7
call fcn.10001e1f
mov dword [ebp - 4], 5
test bl, 4
je 0x1003fe9b
push 0
push edi
lea ecx, [ebp - 0x10c]
call fcn.10001e1f
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x2c]
call fcn.10010909
movss xmm3, dword [0x1008e170]
sub esp, 0x14
mov ecx, dword [esi + 0x1c]
xorps xmm2, xmm2
xorps xmm1, xmm1
and dword [esp + 0x10], 0
and dword [esp + 0xc], 0
and dword [esp + 8], 0
and dword [esp + 4], 0
mov dword [esp], 0x3f800000
call fcn.100109bd
add esp, 0x14
lea ecx, [ebp - 0x2c]
push 0
push edi
call fcn.10001e1f
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10001e1f
mov ecx, dword [esi + 0x20]
xor dl, dl
call fcn.10010276
mov ecx, dword [esi + 0x24]
xor dl, dl
call fcn.10010276
mov al, byte [ebp + 0x18]
mov ecx, esi
mov byte [esi + 0x30], al
call fcn.100330b9
mov ecx, dword [esi]
mov dl, 1
call fcn.10010276
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.10001e1f
push 0
push 1
lea ecx, [ebp + 0x34]
call fcn.10001e1f
call fcn.10046009
ret 0x44