Function at 0x10007356
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]
mov dword [0x101182ec], 0x619
mov dword [0x101182e8], 0xffffee8d
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x10007471
mov eax, dword [ebp - 0x13c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100081f8]
mov dh, byte [eax + 0x100081c9]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x13c], ecx
je 0x100074e1
jmp 0x10007394
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
lea edx, [0x10104d68]
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x58
mov esi, dword [edi]
imul edi, eax, 0x5c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x5c
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], edx
call fcn.100066c6
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
add eax, ecx
mov edx, dword [ebp - 0x14c]
add edx, 1
cmp edx, 0x35d
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
je 0x10007564
jmp 0x100073cd
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, [0x10104d68]
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x58
mov esi, dword [edi]
imul edi, eax, 0x5c
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x35d
mov ecx, edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10007471
mov dword [0x101182e8], 0xfffff9ee
xor eax, eax
mov dword [ebp - 0x13c], eax
jmp 0x10007394
lea eax, [ebp - 0x12c]
mov dword [0x101182e8], 0x777
mov dword [ebp - 0x15c], eax
call fcn.10006f1c
mov dword [esp], eax
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
call fcn.10007019
mov dword [0x10118300], eax
mov ecx, dword [0x101182ec]
add ecx, 0xffffe0bd
mov dword [0x101182ec], ecx
mov ecx, esp
mov edx, dword [ebp - 0x158]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x140], ecx
jmp 0x100073cd
lea eax, [0x100081d7]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x8695b
mov edi, dword [ebp - 0x148]
add edi, 0x13318f
mov dword [0x101182e8], 0x130b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], esi
call fcn.10006797
mov dword [0x101182e8], 0x125b
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x158]
mov dword [esp + 0xc], edx
call fcn.10006933
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x160]
mov dword [ecx], edx
mov dword [ecx + 4], 0x11c800
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov dword [0x101182ec], 0x1540
mov dword [ecx + 0xc], 0x2020
mov dword [0x101182e8], 0xd8c
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret