Function at 0x1025d6a3
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 [0x10295214], 0x483
mov dword [0x10295218], 0xa86
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, eax
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0xf8
mov esi, dword [edi]
mov edi, eax
shl edi, 8
add edx, edi
add edx, 0xd0
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x332
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x1025d6dc
lea eax, [0x1025f6e9]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x10295218], 0x18c2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.1025e095
mov dword [0x10295214], 0x2e3
mov dword [0x10295218], 0x2085
call fcn.1025dc0b
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.1025de6b
mov ecx, eax
mov dword [0x10295234], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
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 - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, eax
add esi, 1
mov edi, eax
shl edi, 8
mov ebx, edx
add ebx, edi
add ebx, 0xf8
mov edi, dword [ebp - 0x148]
add edi, ecx
mov dword [ebp - 0x154], eax
shl eax, 8
mov dword [ebp - 0x158], eax
mov eax, edx
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebp - 0x158]
add eax, ecx
add eax, 0xc0
mov ecx, dword [ebp - 0x154]
shl ecx, 8
add edx, ecx
add edx, 0xd0
mov ecx, dword [ebx]
mov eax, dword [eax]
movzx edx, word [edx]
xor edx, ecx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], esi
call fcn.1025e926
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x164]
cmp edx, 0x332
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x1025d7da
lea eax, [0x1025f6f7]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10295214], 0x1ad9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], ecx
call fcn.1025e43e
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 - 0x13c]
mov dword [esp + 0xc], edx
call fcn.1025e1fd
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x979c4
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov ecx, dword [0x10295218]
add ecx, 0xfffff632
mov dword [0x10295214], ecx
mov dword [edx + 4], 0x118600
mov ecx, dword [ebp - 0x148]
add ecx, 0x70078
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f70
mov ecx, dword [0x10295214]
add ecx, 0xffffe960
mov dword [0x10295218], ecx
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret