Function at 0x1025265d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x174
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x1025bc30]
add edx, 0x314d
mov dword [0x1025bc30], edx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x102527ce
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
mov esi, dword [ebp - 0x144]
add esi, ecx
imul edi, eax, 0x44
mov ebx, edx
add ebx, edi
add ebx, 0x10
imul edi, eax, 0x44
mov dword [ebp - 0x148], eax
mov eax, edx
add eax, edi
add eax, 0x40
mov edi, dword [ebp - 0x148]
imul edi, edi, 0x44
add edx, edi
add edx, 0xc
mov edi, dword [ebp - 0x148]
add edi, 1
mov eax, dword [eax]
mov edx, dword [edx]
movzx ebx, word [ebx]
xor ebx, eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], edi
call fcn.10252c31
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x150]
add eax, ecx
mov edx, dword [ebp - 0x154]
cmp edx, 0x197
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], eax
je 0x10252871
jmp 0x10252699
lea eax, [ebp - 0x2c]
mov dword [0x1025bc34], 0x14f9
mov dword [ebp - 0x158], eax
call fcn.10251f91
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.10251aed
mov ecx, eax
mov dword [0x1025bc4c], eax
mov eax, esp
mov edx, dword [ebp - 0x15c]
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 dword [0x1025bc30], 0xf9
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x10252699
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x44
mov edi, edx
add edi, esi
add edi, 0x10
imul esi, ecx, 0x44
add edx, esi
add edx, 0x40
add ecx, 1
mov edx, dword [edx]
movzx esi, word [edi]
xor esi, edx
add esi, eax
cmp ecx, 0x197
mov eax, esi
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x102527ce
xor eax, eax
mov dword [0x1025bc30], 0x1938
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x102542ae]
mov dh, byte [eax + 0x1025427f]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x160], ecx
je 0x10252754
jmp 0x1025283b
lea eax, [0x1025428d]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov esi, dword [ebp - 0x144]
add esi, 0xfcd5b
mov dword [0x1025bc30], 0x1503
mov edi, dword [ebp - 0x144]
add edi, 0xee5ce
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], esi
call fcn.10252aca
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x15c]
mov dword [esp + 0xc], edx
call fcn.10252e54
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x170]
mov dword [ecx], edx
mov dword [ecx + 4], 0x129000
mov edx, dword [ebp - 0x164]
mov dword [ecx + 8], edx
mov edx, dword [0x1025bc30]
add edx, 0xffffddba
mov dword [0x1025bc30], edx
mov dword [ecx + 0xc], 0x2080
add esp, 0x174
pop esi
pop edi
pop ebx
pop ebp
ret