Function at 0x1000f1d4
Capabilities:
Encode data using xor

Disassembly:
push 0x98
mov eax, 0x1003572c
call fcn.10034586
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
cmp dword [0x1007cfc0], 0
je 0x1000f61a
push 0xa
lea eax, [ebx + 0x10]
pop ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], ecx
mov edx, dword [eax]
test edx, edx
je 0x1000f226
mov ecx, dword [eax]
xor dl, dl
call fcn.100095bf
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], ecx
jne 0x1000f211
mov ecx, dword [ebx]
call dword [0x1003cc38]
mov ax, word [esi]
cmp ax, word [edi]
jb 0x1000f370
mov ax, word [esi + 2]
cmp ax, word [edi + 2]
jb 0x1000f370
mov ax, word [esi + 4]
cmp ax, word [edi + 4]
jb 0x1000f370
mov ax, word [esi + 6]
cmp ax, word [edi + 6]
jb 0x1000f370
mov ecx, dword [ebx + 0x10]
call fcn.100094dd
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.100094dd
mov ecx, dword [ebx + 0x10]
mov esi, eax
call fcn.10009550
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.10009576
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
pop ecx
cmova eax, dword [ebp + 0x14]
mov cl, 0x1b
push eax
mov dword [ebp - 0x2c], 0x683e1b
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x1000f2c2
mov cl, byte [ebp - 0x2c]
jmp 0x1000f2b3
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x28]
push eax
call fcn.10004864
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.10009e29
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002410
movaps xmm0, xmmword [0x1003ead0]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x70796578
mov dword [ebp - 0x14], 0x347061
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x16
jb 0x1000f315
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x8c]
push eax
call fcn.10004864
add esp, 0x1c
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [ebx + 0x38]
call fcn.10009e29
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.10002410
mov ecx, dword [ebx + 0x10]
xor edx, edx
inc edx
call fcn.100095bf
jmp 0x1000f610
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
mov cl, 0x3c
mov dword [ebp - 0x2c], 0x4f193c
cmova eax, dword [ebp + 0x14]
push eax
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x1000f396
mov cl, byte [ebp - 0x2c]
jmp 0x1000f387
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x8c]
push eax
call fcn.10004864
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.10009e29
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.10002410
mov eax, dword [ebp - 0x30]
lea ecx, [ebx + 0x10]
sub edi, eax
mov dword [ebp - 0x4c], 4
sub esi, eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x74], esi
movzx edx, word [eax]
test dx, dx
je 0x1000f5fa
mov ecx, edx
call fcn.10004cd5
xor edx, edx
mov dword [ebp - 0x34], eax
mov cl, 0x77
mov dword [ebp - 0x44], 0x1c192277
mov dword [ebp - 0x40], 0x19001819
mov eax, edx
mov byte [ebp - 0x3c], dl
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 7
jae 0x1000f427
mov cl, byte [ebp - 0x44]
jmp 0x1000f418
lea eax, [ebp - 0x43]
mov byte [ebp - 0x3c], dl
push eax
lea ecx, [ebp - 0x28]
call fcn.10002604
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
test eax, eax
je 0x1000f452
add eax, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.10003baf
jmp 0x1000f527
mov eax, dword [ebp - 0x30]
xor edx, edx
inc edx
cmp word [eax], dx
jne 0x1000f52a
cmp byte [0x1007cfcc], 0
mov eax, dword [0x1007cfc0]
mov dword [ebp - 0x2c], eax
je 0x1000f4ba
mov ecx, 0x10b8134
call fcn.10009f60
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000f4b7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000f4b7
mov eax, dword [ebp - 0x34]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000f4b7
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1000f4ba
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x38], 1
jne 0x1000f4f0
mov cl, 0x2f
mov dword [ebp - 0x58], 0xf436a2f
mov dword [ebp - 0x54], 0x4e5d4062
xor eax, eax
mov word [ebp - 0x50], 0x4b
xor byte [ebp + eax - 0x57], cl
inc eax
cmp eax, 8
jae 0x1000f4e7
mov cl, byte [ebp - 0x58]
jmp 0x1000f4d8
mov byte [ebp - 0x4f], 0
lea edx, [ebp - 0x57]
jmp 0x1000f50b
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x43507a31
mov word [ebp - 0x6c], 0x4244
mov byte [ebp - 0x6a], 0
call fcn.10005169
mov edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f513
sub ecx, dword [ebp - 0x34]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000239e
mov eax, dword [ebp - 0x30]
movzx edx, word [eax + edi]
movzx ecx, word [esi + eax]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push eax
mov cl, 0x7d
mov dword [ebp - 0x64], 0x5d0e587d
mov dword [ebp - 0x60], 0x58521958
xor eax, eax
mov word [ebp - 0x5c], 0x19
xor byte [ebp + eax - 0x63], cl
inc eax
cmp eax, 8
jae 0x1000f567
mov cl, byte [ebp - 0x64]
jmp 0x1000f558
sub esp, 0x18
mov byte [ebp - 0x5b], 0
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0xa4]
push eax
call fcn.10004864
add esp, 0x28
mov esi, dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x28]
call fcn.10009e29
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.10002410
mov ecx, dword [esi]
call fcn.100094dd
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.100094dd
mov esi, eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call fcn.10009550
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.10009576
mov eax, dword [ebp - 0x48]
mov dl, 1
pop ecx
mov ecx, dword [eax]
call fcn.100095bf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002410
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
add ecx, 4
add eax, 2
sub dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
jne 0x1000f3eb
mov ecx, dword [ebx]
push 1
call dword [0x1003cc3c]
lea ecx, [ebp + 0x14]
call fcn.10002410
call fcn.10034544
ret 0x24