Function at 0x10008902
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102b1f98], 0x715
mov dword [0x102b1f94], 0x266c
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10008a05
lea eax, [0x10277837]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [0x102b1f94]
add esi, 0xfffffd55
mov dword [0x102b1f94], esi
mov dword [0x102b1f98], 0x100b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.10007e65
mov dword [0x102b1f94], 0x21fb
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.10007fe1
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x12c177
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x125600
mov ecx, dword [ebp - 0x144]
add ecx, 0xac215
mov dword [edx + 8], ecx
mov dword [0x102b1f98], 0x149a
mov dword [edx + 0xc], 0x2010
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, eax
add esi, 1
imul edi, eax, 0x118
mov ebx, edx
add ebx, edi
add ebx, 0xc0
imul eax, eax, 0x118
add edx, eax
add edx, 0x9c
mov eax, dword [ebx]
movzx edx, word [edx]
xor edx, eax
add edx, ecx
cmp esi, 0x350
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x138], esi
jne 0x10008a05
mov dword [0x102b1f94], 0x13ed
xor eax, eax
mov dword [ebp - 0x14c], eax
jmp 0x10008a76
mov eax, dword [ebp - 0x14c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10277858]
mov dh, byte [eax + 0x10277829]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x14c], ecx
jne 0x10008a76
lea eax, [ebp - 0x12c]
mov dword [0x102b1f98], 0x18e3
mov dword [ebp - 0x150], eax
call fcn.10008560
mov dword [esp], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 4], eax
call fcn.10008648
mov ecx, eax
mov dword [0x102b1fac], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
lea edx, section..data
imul esi, ecx, 0x118
mov edi, edx
add edi, esi
add edi, 0x9c
mov esi, ecx
add esi, 1
mov ebx, dword [ebp - 0x144]
add ebx, eax
mov dword [ebp - 0x15c], eax
imul eax, ecx, 0x118
mov dword [ebp - 0x160], eax
mov eax, edx
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x160]
add eax, ecx
add eax, 0x88
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x118
add edx, ecx
add edx, 0xc0
mov ecx, dword [edx]
mov eax, dword [eax]
movzx edx, word [edi]
xor edx, ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], edx
call fcn.10007dcc
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x168]
cmp edx, 0x350
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], eax
je 0x10008940
jmp 0x10008b17