Function at 0x4161d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov edx, 2
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x194
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x14c], eax
lea esi, [esi]
mov eax, dword [ecx + edx*4 - 4]
mov dword [ebp + edx*4 - 0x150], eax
inc edx
cmp edx, 0x11
jne 0x4161f0
lea eax, [ebp - 0x54]
lea edi, [ebp - 0x114]
mov dword [ebp - 0x1a0], eax
mov ebx, dword [edi]
mov eax, dword [edi - 0x38]
mov ecx, dword [edi - 0x14]
mov edx, ebx
add ecx, eax
mov eax, ebx
ror edx, 0x11
ror eax, 0x13
xor eax, edx
mov esi, dword [edi - 0x34]
shr ebx, 0xa
mov edx, esi
xor eax, ebx
add ecx, eax
mov eax, esi
ror eax, 0x12
ror edx, 7
shr esi, 3
xor eax, edx
xor eax, esi
add ecx, eax
mov dword [edi + 8], ecx
add edi, 4
cmp edi, dword [ebp - 0x1a0]
jne 0x416210
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], 0
mov edx, dword [edx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x194], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 8]
mov edx, dword [edx + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x164], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x170], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x160], edx
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x154]
mov esi, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x170]
mov edx, dword [eax*4 + 0x420240]
mov ecx, dword [ebp + eax*4 - 0x14c]
add ecx, edx
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0x170]
add ecx, edi
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, dword [ebp - 0x170]
ror edx, 0x19
xor eax, edx
mov edx, dword [ebp - 0x168]
add ecx, eax
mov eax, dword [ebp - 0x170]
xor eax, 0xffffffff
and edx, ebx
and eax, esi
mov esi, dword [ebp - 0x16c]
xor eax, edx
mov ebx, dword [ebp - 0x164]
add ecx, eax
mov eax, dword [ebp - 0x174]
and esi, eax
mov eax, dword [ebp - 0x174]
and ebx, eax
mov edi, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x164]
add edx, ecx
and eax, edi
xor ebx, esi
mov dword [ebp - 0x188], edx
xor ebx, eax
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x174]
mov edi, dword [ebp - 0x168]
ror edx, 2
ror eax, 0xd
xor eax, edx
mov edx, dword [ebp - 0x174]
ror edx, 0x16
xor eax, edx
lea eax, [ebx + eax]
mov ebx, dword [ebp - 0x170]
add eax, ecx
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax*4 + 0x420244]
mov ecx, dword [ebp + eax*4 - 0x148]
add ecx, edx
mov eax, dword [ebp - 0x160]
add ecx, eax
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x188]
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, dword [ebp - 0x188]
ror edx, 0x19
xor eax, edx
mov edx, dword [ebp - 0x188]
add ecx, eax
mov eax, dword [ebp - 0x188]
xor eax, 0xffffffff
and edx, ebx
and eax, edi
mov ebx, dword [ebp - 0x180]
xor eax, edx
mov edx, dword [ebp - 0x164]
add ecx, eax
mov eax, dword [ebp - 0x174]
add edx, ecx
and ebx, eax
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x16c]
mov edi, dword [ebp - 0x180]
mov edx, dword [ebp - 0x180]
and edi, eax
mov eax, dword [ebp - 0x180]
ror edx, 2
ror eax, 0xd
xor eax, edx
mov edx, dword [ebp - 0x180]
xor edi, ebx
ror edx, 0x16
xor eax, edx
xor edi, esi
add edi, eax
mov eax, dword [ebp - 0x17c]
add edi, ecx
mov esi, dword [ebp - 0x168]
mov edx, dword [eax*4 + 0x420248]
mov ecx, dword [ebp + eax*4 - 0x144]
add ecx, edx
mov eax, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x18c]
add ecx, esi
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, dword [ebp - 0x18c]
ror edx, 0x19
xor eax, edx
mov edx, dword [ebp - 0x170]
add ecx, eax
mov eax, dword [ebp - 0x18c]
xor eax, 0xffffffff
mov esi, dword [ebp - 0x188]
and eax, edx
mov edx, dword [ebp - 0x18c]
and edx, esi
mov esi, dword [ebp - 0x174]
xor eax, edx
mov edx, dword [ebp - 0x180]
add ecx, eax
mov eax, dword [ebp - 0x16c]
and edx, edi
add eax, ecx
and esi, edi
mov dword [ebp - 0x190], eax
xor esi, edx
mov dword [ebp - 0x19c], edx
mov eax, edi
mov edx, edi
ror edx, 2
ror eax, 0xd
xor eax, edx
mov edx, edi
ror edx, 0x16
xor esi, ebx
xor eax, edx
mov edx, dword [ebp - 0x17c]
mov ebx, dword [ebp - 0x18c]
lea eax, [esi + eax]
mov esi, dword [ebp - 0x188]
add eax, ecx
mov ecx, dword [ebp + edx*4 - 0x140]
mov dword [ebp - 0x184], eax
mov eax, dword [edx*4 + 0x42024c]
add ecx, eax
mov eax, dword [ebp - 0x170]
add ecx, eax
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x190]
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, dword [ebp - 0x190]
ror edx, 0x19
xor eax, edx
mov edx, dword [ebp - 0x190]
add ecx, eax
mov eax, dword [ebp - 0x190]
xor eax, 0xffffffff
and edx, ebx
and eax, esi
xor eax, edx
add ecx, eax
mov eax, dword [ebp - 0x184]
and eax, edi
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x174]
add edx, ecx
mov esi, dword [ebp - 0x184]
mov dword [ebp - 0x178], edx
mov edx, dword [ebp - 0x180]
and esi, edx
mov edx, dword [ebp - 0x184]
xor esi, eax
mov eax, dword [ebp - 0x184]
ror edx, 2
ror eax, 0xd
xor eax, edx
mov edx, dword [ebp - 0x184]
mov ebx, dword [ebp - 0x19c]
ror edx, 0x16
xor eax, edx
xor esi, ebx
add esi, eax
mov eax, dword [ebp - 0x17c]
add esi, ecx
mov ecx, dword [ebp - 0x188]
mov edx, dword [eax*4 + 0x420250]
mov ebx, dword [ebp + eax*4 - 0x13c]
add ebx, edx
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x178]
add ebx, ecx
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, dword [ebp - 0x178]
ror edx, 0x19
xor eax, edx
mov edx, dword [ebp - 0x18c]
add ebx, eax
mov eax, dword [ebp - 0x178]
xor eax, 0xffffffff
mov ecx, dword [ebp - 0x190]
and eax, edx
mov edx, dword [ebp - 0x178]
and edx, ecx
mov ecx, esi
xor eax, edx
mov edx, dword [ebp - 0x184]
add ebx, eax
mov eax, dword [ebp - 0x180]
add eax, ebx
and edx, esi
mov dword [ebp - 0x154], eax
mov eax, esi
and eax, edi
mov dword [ebp - 0x150], edx
xor eax, edx
mov edx, dword [ebp - 0x198]
xor eax, edx
mov edx, esi
ror ecx, 2
ror edx, 0xd
xor edx, ecx
mov ecx, esi
ror ecx, 0x16
xor edx, ecx
mov ecx, dword [ebp - 0x18c]
add eax, edx
mov edx, dword [ebp - 0x17c]
add eax, ebx
mov dword [ebp - 0x158], eax
mov ebx, dword [ebp + edx*4 - 0x138]
mov eax, dword [edx*4 + 0x420254]
mov edx, dword [ebp - 0x154]
add ebx, eax
mov eax, dword [ebp - 0x154]
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, dword [ebp - 0x154]
ror edx, 0x19
xor eax, edx
add ebx, ecx
add ebx, eax
mov eax, dword [ebp - 0x154]
xor eax, 0xffffffff
mov edx, dword [ebp - 0x190]
and eax, edx
mov ecx, dword [ebp - 0x178]
mov edx, dword [ebp - 0x154]
and edx, ecx
xor eax, edx
add ebx, eax
mov eax, dword [ebp - 0x158]
and eax, esi
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x15c]
and eax, edx
mov edx, dword [ebp - 0x150]
xor eax, ecx
mov ecx, dword [ebp - 0x158]
xor eax, edx
mov edx, dword [ebp - 0x158]
ror ecx, 2
ror edx, 0xd
xor edx, ecx
mov ecx, dword [ebp - 0x158]
ror ecx, 0x16
xor edx, ecx
lea edi, [ebx + edi]
add eax, edx
mov edx, dword [ebp - 0x17c]
add eax, ebx
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x164], eax
mov ebx, dword [ebp + edx*4 - 0x134]
mov eax, dword [edx*4 + 0x420258]
mov edx, edi
add ebx, eax
mov eax, edi
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, edi
ror edx, 0x19
xor eax, edx
add ebx, ecx
add ebx, eax
mov eax, edi
mov edx, dword [ebp - 0x178]
xor eax, 0xffffffff
mov dword [ebp - 0x160], edi
and eax, edx
mov edx, edi
mov edi, dword [ebp - 0x154]
and edx, edi
mov ecx, dword [ebp - 0x158]
xor eax, edx
mov edi, dword [ebp - 0x164]
add ebx, eax
mov eax, dword [ebp - 0x184]
add eax, ebx
and edi, ecx
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x164]
and eax, esi
mov edx, dword [ebp - 0x15c]
xor eax, edi
mov ecx, dword [ebp - 0x164]
xor eax, edx
mov edx, dword [ebp - 0x164]
ror ecx, 2
ror edx, 0xd
xor edx, ecx
mov ecx, dword [ebp - 0x164]
ror ecx, 0x16
xor edx, ecx
mov ecx, dword [ebp - 0x178]
add eax, edx
mov edx, dword [ebp - 0x17c]
add eax, ebx
mov dword [ebp - 0x16c], eax
mov ebx, dword [ebp + edx*4 - 0x130]
mov eax, dword [edx*4 + 0x42025c]
mov edx, dword [ebp - 0x168]
add ebx, eax
mov eax, dword [ebp - 0x168]
ror edx, 6
ror eax, 0xb
xor eax, edx
mov edx, dword [ebp - 0x168]
ror edx, 0x19
xor eax, edx
add ebx, ecx
add ebx, eax
mov eax, dword [ebp - 0x168]
mov edx, dword [ebp - 0x154]
xor eax, 0xffffffff
and eax, edx
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x168]
and edx, ecx
xor eax, edx
add ebx, eax
lea esi, [ebx + esi]
mov dword [ebp - 0x170], esi
mov ecx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x16c]
xor eax, ecx
mov ecx, dword [ebp - 0x16c]
and eax, edx
mov edx, dword [ebp - 0x16c]
ror ecx, 2
ror edx, 0xd
xor edx, ecx
mov ecx, dword [ebp - 0x16c]
ror ecx, 0x16
xor edx, ecx
xor eax, edi
mov ecx, dword [ebp - 0x17c]
add eax, edx
add ecx, 8
add eax, ebx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x17c], 0x40
jne 0x4162c6
mov edx, dword [ebp - 0x194]
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov edi, dword [edx + 4]
mov eax, dword [ebp - 0x16c]
mov ebx, dword [edx + 8]
add edi, eax
mov eax, dword [ebp - 0x164]
mov dword [edx + 4], edi
add ebx, eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x158]
mov edi, dword [edx + 0x10]
add ecx, eax
add edi, esi
mov eax, dword [ebp - 0x168]
mov esi, dword [edx + 0x14]
mov dword [edx + 8], ebx
add esi, eax
mov ebx, dword [edx + 0x18]
mov eax, dword [ebp - 0x160]
mov dword [edx + 0xc], ecx
add ebx, eax
mov ecx, dword [edx + 0x1c]
mov eax, dword [ebp - 0x154]
mov dword [edx + 0x10], edi
add ecx, eax
mov dword [edx + 0x14], esi
mov dword [edx + 0x18], ebx
mov dword [edx + 0x1c], ecx
add esp, 0x194
pop ebx
pop esi
pop edi
pop ebp
ret