Function at 0x10007353
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 [0x100aa214], 0x619
mov dword [0x100aa210], 0xffffee8d
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10007466
lea eax, [0x100081cf]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x13c]
add esi, 0xff9c3
mov edi, dword [ebp - 0x13c]
add edi, 0x130fee
mov dword [0x100aa210], 0x130b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], esi
call fcn.10006788
mov dword [0x100aa210], 0x125b
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x150]
mov dword [esp + 0xc], edx
call fcn.10006915
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x140]
mov dword [ecx], edx
mov dword [ecx + 4], 0x127000
mov edx, dword [ebp - 0x14c]
mov dword [ecx + 8], edx
mov dword [0x100aa214], 0x1540
mov dword [ecx + 0xc], 0x1fd0
mov dword [0x100aa210], 0xd8c
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, [0x10096e00]
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, 0x359
mov ecx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10007466
mov dword [0x100aa210], 0xfffff9ee
xor eax, eax
mov dword [ebp - 0x154], eax
jmp 0x100074d3
mov eax, dword [ebp - 0x154]
mov cl, byte [eax + 0x100081f0]
mov dl, byte [eax + 0x100081c1]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x154], eax
jne 0x100074d3
lea eax, [ebp - 0x12c]
mov dword [0x100aa210], 0x777
mov dword [ebp - 0x158], eax
call fcn.10006eec
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.10006fe1
mov dword [0x100aa228], eax
mov ecx, dword [0x100aa214]
add ecx, 0xffffe0bd
mov dword [0x100aa214], ecx
mov ecx, esp
mov edx, dword [ebp - 0x150]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [ebp - 0x13c], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], eax
jmp 0x10007582
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
lea edx, [0x10096e00]
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 - 0x13c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], edx
call fcn.100066b7
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x168]
add eax, ecx
mov edx, dword [ebp - 0x164]
add edx, 1
cmp edx, 0x359
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], edx
je 0x10007391
jmp 0x10007582