Function at 0x402450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push edi
push eax
mov dword [ebp - 0x114], esi
mov dword [esi + 0x3c], 4
call fcn.00402080
mov eax, dword [ebp - 0x64]
add esp, 4
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x58]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], 9
nop
mov ecx, dword [eax - 4]
mov eax, ecx
shr eax, 7
and eax, 0x1010101
imul ebx, eax, 0x1b
mov eax, ecx
and eax, 0xff7f7f7f
add eax, eax
xor ebx, eax
mov eax, ebx
shr eax, 7
and eax, 0x1010101
imul edi, eax, 0x1b
mov eax, ebx
and eax, 0xff7f7f7f
add eax, eax
xor edi, eax
mov eax, edi
shr eax, 7
and eax, 0x1010101
imul edx, eax, 0x1b
mov eax, edi
and eax, 0xff7f7f7f
add eax, eax
xor edx, eax
xor ecx, edx
mov dword [ebp - 0x108], ecx
xor ecx, edi
mov eax, dword [ebp - 0x108]
xor eax, ebx
ror ecx, 0x10
ror eax, 8
xor ecx, eax
mov eax, dword [ebp - 0x108]
ror eax, 0x18
xor ecx, eax
xor ecx, edx
xor ecx, edi
xor ecx, ebx
mov dword [esi - 8], ecx
mov ecx, dword [ebp - 0x10c]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 7
and eax, 0x1010101
imul ebx, eax, 0x1b
mov eax, ecx
and eax, 0xff7f7f7f
add eax, eax
xor ebx, eax
mov eax, ebx
shr eax, 7
and eax, 0x1010101
imul edi, eax, 0x1b
mov eax, ebx
and eax, 0xff7f7f7f
add eax, eax
xor edi, eax
mov eax, edi
shr eax, 7
and eax, 0x1010101
imul edx, eax, 0x1b
mov eax, edi
and eax, 0xff7f7f7f
add eax, eax
xor edx, eax
xor ecx, edx
mov dword [ebp - 0x108], ecx
xor ecx, edi
mov eax, dword [ebp - 0x108]
xor eax, ebx
ror ecx, 0x10
ror eax, 8
xor ecx, eax
mov eax, dword [ebp - 0x108]
ror eax, 0x18
xor ecx, eax
xor ecx, edx
xor ecx, edi
xor ecx, ebx
mov dword [esi - 4], ecx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
mov eax, ecx
shr eax, 7
and eax, 0x1010101
imul ebx, eax, 0x1b
mov eax, ecx
and eax, 0xff7f7f7f
add eax, eax
xor ebx, eax
mov eax, ebx
shr eax, 7
and eax, 0x1010101
imul edi, eax, 0x1b
mov eax, ebx
and eax, 0xff7f7f7f
add eax, eax
xor edi, eax
mov eax, edi
shr eax, 7
and eax, 0x1010101
imul edx, eax, 0x1b
mov eax, edi
and eax, 0xff7f7f7f
add eax, eax
xor edx, eax
xor ecx, edx
mov dword [ebp - 0x108], ecx
xor ecx, edi
mov eax, dword [ebp - 0x108]
xor eax, ebx
ror ecx, 0x10
ror eax, 8
xor ecx, eax
mov eax, dword [ebp - 0x108]
ror eax, 0x18
xor ecx, eax
mov eax, dword [ebp - 0x10c]
xor ecx, edx
xor ecx, edi
xor ecx, ebx
mov dword [esi], ecx
mov ecx, dword [eax + 8]
mov eax, ecx
shr eax, 7
and eax, 0x1010101
imul ebx, eax, 0x1b
mov eax, ecx
and eax, 0xff7f7f7f
add eax, eax
xor ebx, eax
mov eax, ebx
shr eax, 7
and eax, 0x1010101
imul edi, eax, 0x1b
mov eax, ebx
and eax, 0xff7f7f7f
add eax, eax
xor edi, eax
mov eax, edi
shr eax, 7
and eax, 0x1010101
imul edx, eax, 0x1b
mov eax, edi
and eax, 0xff7f7f7f
add eax, eax
xor edx, eax
xor ecx, edx
mov dword [ebp - 0x108], ecx
xor ecx, edi
mov eax, dword [ebp - 0x108]
xor eax, ebx
ror ecx, 0x10
ror eax, 8
xor ecx, eax
mov eax, dword [ebp - 0x108]
ror eax, 0x18
xor ecx, eax
xor ecx, edx
xor ecx, edi
xor ecx, ebx
mov eax, dword [ebp - 0x10c]
lea esi, [esi + 0x10]
sub eax, 0x10
mov dword [esi - 0xc], ecx
dec dword [ebp - 0x110]
mov dword [ebp - 0x10c], eax
jne 0x4024c0
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0xe0], eax
xor ecx, ebp
mov eax, dword [ebp - 0x100]
mov dword [esi + 0xe4], eax
mov eax, dword [ebp - 0xfc]
mov dword [esi + 0xe8], eax
mov eax, dword [ebp - 0xf8]
mov dword [esi + 0xec], eax
xor eax, eax
pop esi
pop ebx
call fcn.00408e8c
mov esp, ebp
pop ebp
ret