Function at 0x10241659
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x178
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102697c8], 0x1498
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1024172c
lea eax, [0x102446b1]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x102697c8], 0x3528
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.1024237c
mov dword [0x102697c8], 0xee1
call fcn.102426e3
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.10241208
mov ecx, eax
mov dword [0x102697e8], eax
mov eax, esp
mov edx, dword [ebp - 0x144]
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
jmp 0x1024178b
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x10c
mov edi, edx
add edi, esi
add edi, 0xbc
mov esi, dword [edi]
imul edi, eax, 0x10c
add edx, edi
add edx, 0x60
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x20f
mov ecx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x1024168d
jmp 0x1024172c
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, eax
add esi, 1
mov edi, dword [ebp - 0x148]
add edi, ecx
imul ebx, eax, 0x10c
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
add eax, 0x60
mov ebx, dword [ebp - 0x154]
imul ebx, ebx, 0x10c
mov dword [ebp - 0x158], eax
mov eax, edx
add eax, ebx
add eax, 0xbc
mov ebx, dword [ebp - 0x154]
imul ebx, ebx, 0x10c
add edx, ebx
add edx, 0x5c
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, dword [ebp - 0x158]
movzx ebx, word [ebx]
xor ebx, eax
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ebx
call fcn.10241a24
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x15c]
cmp edx, 0x20f
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x1024178b
lea eax, [0x102446bf]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x10f613
mov edi, dword [ebp - 0x148]
add edi, 0x30402
mov dword [0x102697c8], 0xb3f
mov dword [0x102697cc], 0x16e8
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x174], esi
call fcn.102414d2
mov dword [0x102697c8], 0x1454
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.10242120
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
mov dword [0x102697c8], 0x1719
mov dword [eax + 4], 0x126600
mov ecx, dword [ebp - 0x168]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x1ff0
xor eax, eax
mov ecx, dword [0x102697c8]
add ecx, 0xffffe743
mov dword [0x102697c8], ecx
add esp, 0x178
pop esi
pop edi
pop ebx
pop ebp
ret