Function at 0x1000f0d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x10029700]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
xor ecx, ecx
mov eax, 1
push esi
lea ecx, [ecx]
mov edx, eax
and dl, 0x80
movsx edx, dl
mov byte [esp + ecx + 0x108], al
mov byte [esp + ecx + 0x207], al
mov byte [esp + eax + 8], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x1000f0f0
xor ecx, ecx
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov byte [ecx + 0x1002ed68], al
and edx, 0x11b
add eax, eax
inc ecx
xor eax, edx
cmp ecx, 0x1e
jb 0x1000f123
xor eax, eax
test al, al
je 0x1000f161
movzx ecx, al
movzx edx, byte [esp + ecx + 8]
lea ecx, [esp + 0x207]
sub ecx, edx
movzx edx, byte [ecx]
jmp 0x1000f163
xor edx, edx
lea ecx, [edx + edx]
xor ecx, edx
add ecx, ecx
xor ecx, edx
add ecx, ecx
xor ecx, edx
add ecx, ecx
xor edx, ecx
mov ecx, edx
sar ecx, 8
xor cl, dl
xor cl, 0x63
mov byte [eax + 0x1002ee88], cl
mov byte [eax*4 + 0x1002dd69], cl
mov byte [eax*4 + 0x1002dd68], cl
mov byte [eax*4 + 0x1002e16b], cl
mov byte [eax*4 + 0x1002e168], cl
mov byte [eax*4 + 0x1002e56b], cl
mov byte [eax*4 + 0x1002e56a], cl
mov byte [eax*4 + 0x1002e96a], cl
mov byte [eax*4 + 0x1002e969], cl
je 0x1000f1d0
movzx edx, cl
movzx edx, byte [esp + edx + 8]
movzx edx, byte [esp + edx + 0x121]
jmp 0x1000f1d2
xor edx, edx
mov byte [eax*4 + 0x1002dd6b], dl
mov byte [eax*4 + 0x1002e16a], dl
mov byte [eax*4 + 0x1002e569], dl
mov byte [eax*4 + 0x1002e968], dl
test cl, cl
je 0x1000f204
movzx ecx, cl
movzx edx, byte [esp + ecx + 8]
movzx ecx, byte [esp + edx + 0x109]
jmp 0x1000f206
xor ecx, ecx
mov byte [eax*4 + 0x1002dd6a], cl
mov byte [eax*4 + 0x1002e169], cl
mov byte [eax*4 + 0x1002e568], cl
mov byte [eax*4 + 0x1002e96b], cl
movzx esi, al
lea ecx, [esi*8]
xor ecx, esi
add ecx, ecx
add ecx, ecx
xor ecx, esi
add ecx, ecx
mov edx, ecx
sar edx, 8
xor dl, cl
xor dl, 5
je 0x1000f275
lea ecx, [esi*8]
xor ecx, esi
add ecx, ecx
add ecx, ecx
xor ecx, esi
add ecx, ecx
mov edx, ecx
sar edx, 8
movzx edx, dl
movzx ecx, cl
xor edx, ecx
xor edx, 5
movzx edx, byte [esp + edx + 8]
lea ecx, [esp + 0x207]
sub ecx, edx
mov bl, byte [ecx]
jmp 0x1000f277
xor bl, bl
mov byte [eax + 0x1002ed88], bl
test bl, bl
je 0x1000f293
movzx edx, bl
movzx ecx, byte [esp + edx + 8]
movzx edx, byte [esp + ecx + 0x170]
jmp 0x1000f295
xor edx, edx
movzx ecx, bl
mov byte [eax*4 + 0x1002cd6a], dl
mov byte [eax*4 + 0x1002d169], dl
mov byte [eax*4 + 0x1002d568], dl
mov byte [eax*4 + 0x1002d96b], dl
mov byte [ecx*4 + 0x1002bd6a], dl
mov byte [ecx*4 + 0x1002c169], dl
mov byte [ecx*4 + 0x1002c568], dl
mov byte [ecx*4 + 0x1002c96b], dl
test bl, bl
je 0x1000f2e3
movzx edx, byte [esp + ecx + 8]
movzx edx, byte [esp + edx + 0x1cf]
jmp 0x1000f2e5
xor edx, edx
mov byte [eax*4 + 0x1002cd68], dl
mov byte [eax*4 + 0x1002d16b], dl
mov byte [eax*4 + 0x1002d56a], dl
mov byte [eax*4 + 0x1002d969], dl
mov byte [ecx*4 + 0x1002bd68], dl
mov byte [ecx*4 + 0x1002c16b], dl
mov byte [ecx*4 + 0x1002c56a], dl
mov byte [ecx*4 + 0x1002c969], dl
test bl, bl
je 0x1000f330
movzx edx, byte [esp + ecx + 8]
movzx edx, byte [esp + edx + 0x1f6]
jmp 0x1000f332
xor edx, edx
mov byte [eax*4 + 0x1002cd69], dl
mov byte [eax*4 + 0x1002d168], dl
mov byte [eax*4 + 0x1002d56b], dl
mov byte [eax*4 + 0x1002d96a], dl
mov byte [ecx*4 + 0x1002bd69], dl
mov byte [ecx*4 + 0x1002c168], dl
mov byte [ecx*4 + 0x1002c56b], dl
mov byte [ecx*4 + 0x1002c96a], dl
test bl, bl
je 0x1000f37d
movzx edx, byte [esp + ecx + 8]
movzx edx, byte [esp + edx + 0x1e7]
jmp 0x1000f37f
xor edx, edx
mov byte [eax*4 + 0x1002cd6b], dl
mov byte [eax*4 + 0x1002d16a], dl
mov byte [eax*4 + 0x1002d569], dl
mov byte [eax*4 + 0x1002d968], dl
inc eax
cmp eax, 0x100
mov byte [ecx*4 + 0x1002bd6b], dl
mov byte [ecx*4 + 0x1002c16a], dl
mov byte [ecx*4 + 0x1002c569], dl
mov byte [ecx*4 + 0x1002c968], dl
jl 0x1000f147
mov ecx, dword [esp + 0x308]
pop esi
pop ebx
xor ecx, esp
call fcn.10018d13
add esp, 0x304
ret