Function at 0x4ba640
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x150
push ebx
push ebp
push esi
mov dword [esp + 0x18], ecx
xor edx, edx
lea eax, [ecx + 0x29]
push edi
movzx esi, byte [eax - 1]
movzx edi, byte [eax]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 1]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 2]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 4]
mov dword [esp + edx*4 + 0x20], esi
movzx esi, byte [eax + 3]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 5]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 6]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 8]
mov dword [esp + edx*4 + 0x24], esi
movzx esi, byte [eax + 7]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 9]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
mov dword [esp + edx*4 + 0x28], esi
movzx esi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xd]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xe]
shl esi, 8
or esi, edi
mov dword [esp + edx*4 + 0x2c], esi
add edx, 4
add eax, 0x10
cmp edx, 0x10
jb 0x4ba653
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov esi, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x18], 0x10
lea esp, [esp]
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax + 0x14]
mov ebp, dword [eax - 0x18]
xor ecx, dword [eax]
add eax, 0x10
xor ecx, ebp
mov ebp, dword [eax - 0x2c]
xor ebp, dword [eax + 8]
rol ecx, 1
xor ebp, dword [eax - 0xc]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax - 0x24]
xor ebp, ecx
mov ecx, dword [eax + 0xc]
xor ecx, dword [eax - 0x20]
rol ebp, 1
xor ecx, dword [eax - 8]
mov dword [eax + 0x14], ebp
xor ecx, dword [eax - 0x28]
rol ecx, 1
mov dword [eax + 0x18], ecx
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax - 4]
xor ecx, dword [esp + 0x14]
xor ecx, dword [eax - 0x24]
rol ecx, 1
sub dword [esp + 0x18], 1
mov dword [eax + 0x1c], ecx
jne 0x4ba710
mov ecx, dword [esp + 0x10]
xor eax, eax
lea esp, [esp]
rol ecx, 5
inc eax
mov ebp, esi
xor ebp, edi
and ebp, ebx
xor ebp, esi
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x1c]
rol ebx, 0x1e
lea edx, [edx + ecx + 0x5a827999]
mov ebp, edi
xor ebp, ebx
and ebp, dword [esp + 0x10]
mov ecx, edx
xor ebp, edi
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
inc eax
lea esi, [esi + ecx + 0x5a827999]
mov ecx, dword [esp + 0x10]
rol ecx, 0x1e
mov dword [esp + 0x10], ecx
mov ebp, ebx
xor ebp, dword [esp + 0x10]
mov ecx, esi
and ebp, edx
xor ebp, ebx
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
inc eax
lea edi, [edi + ecx + 0x5a827999]
mov ecx, dword [esp + 0x10]
rol edx, 0x1e
mov dword [esp + 0x14], edi
rol edi, 5
mov ebp, edx
xor ebp, ecx
and ebp, esi
xor ebp, ecx
add edi, ebp
add edi, dword [esp + eax*4 + 0x20]
inc eax
rol esi, 0x1e
lea ebx, [ebx + edi + 0x5a827999]
mov edi, dword [esp + 0x14]
mov ebp, edx
xor ebp, esi
and ebp, edi
xor ebp, edx
mov ecx, ebx
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
mov ebp, dword [esp + 0x10]
inc eax
rol edi, 0x1e
lea ecx, [ecx + ebp + 0x5a827999]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
cmp eax, 0x14
jb 0x4ba770
cmp eax, 0x28
jae 0x4ba8eb
rol ecx, 5
inc eax
mov ebp, esi
xor ebp, edi
xor ebp, ebx
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x1c]
rol ebx, 0x1e
lea edx, [edx + ecx + 0x6ed9eba1]
mov dword [esp + 0x18], ebx
mov ecx, edi
xor ecx, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, ecx
mov ebp, edx
rol ebp, 5
add ebp, ebx
add ebp, dword [esp + eax*4 + 0x20]
inc eax
lea esi, [esi + ebp + 0x6ed9eba1]
rol ecx, 0x1e
mov ebp, edx
xor ebp, dword [esp + 0x18]
mov ebx, esi
xor ebp, ecx
rol ebx, 5
add ebx, ebp
add ebx, dword [esp + eax*4 + 0x20]
inc eax
rol edx, 0x1e
lea edi, [edi + ebx + 0x6ed9eba1]
mov ebp, edx
xor ebp, esi
xor ebp, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov ebx, edi
rol ebx, 5
add ebx, ebp
add ebx, dword [esp + eax*4 + 0x20]
inc eax
lea ebx, [ecx + ebx + 0x6ed9eba1]
rol esi, 0x1e
mov ebp, edx
xor ebp, esi
xor ebp, edi
mov ecx, ebx
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
mov ebp, dword [esp + 0x10]
inc eax
lea ecx, [ecx + ebp + 0x6ed9eba1]
rol edi, 0x1e
mov dword [esp + 0x10], ecx
cmp eax, 0x28
jb 0x4ba838
mov dword [esp + 0x14], edi
cmp eax, 0x3c
jae 0x4ba9d1
mov ebp, edi
or ebp, ebx
and edi, ebx
and ebp, esi
or ebp, edi
add ebp, dword [esp + eax*4 + 0x20]
rol ecx, 5
add ebp, edx
lea edx, [ecx + ebp - 0x70e44324]
inc eax
rol ebx, 0x1e
mov edi, ebx
or edi, dword [esp + 0x10]
mov ebp, ebx
and edi, dword [esp + 0x14]
and ebp, dword [esp + 0x10]
inc eax
or edi, ebp
add edi, dword [esp + eax*4 + 0x1c]
mov ecx, edx
add edi, esi
rol ecx, 5
lea esi, [edi + ecx - 0x70e44324]
mov ecx, dword [esp + 0x10]
rol ecx, 0x1e
mov edi, edx
or edi, ecx
and edi, ebx
mov ebp, edx
and ebp, ecx
or edi, ebp
add edi, dword [esp + eax*4 + 0x20]
inc eax
add edi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
rol esi, 5
lea esi, [edi + esi - 0x70e44324]
rol edx, 0x1e
mov dword [esp + 0x14], esi
mov edi, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ebp, edx
or ebp, esi
and ebp, ecx
mov ecx, edx
and ecx, esi
or ebp, ecx
add ebp, dword [esp + eax*4 + 0x20]
rol edi, 5
add ebp, ebx
inc eax
lea ecx, [edi + ebp - 0x70e44324]
mov edi, dword [esp + 0x14]
rol esi, 0x1e
mov ebx, esi
or ebx, edi
and ebx, edx
mov ebp, esi
and ebp, edi
or ebx, ebp
add ebx, dword [esp + eax*4 + 0x20]
mov dword [esp + 0x18], ecx
add ebx, dword [esp + 0x10]
rol ecx, 5
inc eax
lea ecx, [ebx + ecx - 0x70e44324]
mov ebx, dword [esp + 0x18]
rol edi, 0x1e
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
cmp eax, 0x3c
jb 0x4ba8f4
mov ebp, dword [esp + 0x1c]
cmp eax, 0x50
jae 0x4baaa1
mov edi, edi
rol ecx, 5
inc eax
mov ebp, esi
xor ebp, edi
xor ebp, ebx
add ebp, dword [esp + eax*4 + 0x1c]
inc eax
add ebp, edx
lea edx, [ecx + ebp - 0x359d3e2a]
rol ebx, 0x1e
mov ecx, edi
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
xor ebx, ecx
add ebx, dword [esp + eax*4 + 0x1c]
mov ebp, edx
rol ebp, 5
add ebx, esi
lea esi, [ebx + ebp - 0x359d3e2a]
rol ecx, 0x1e
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x10]
mov ebp, edx
xor ebp, dword [esp + 0x18]
inc eax
xor ebp, ebx
add ebp, dword [esp + eax*4 + 0x1c]
mov ecx, esi
add ebp, edi
rol ecx, 5
lea ecx, [ecx + ebp - 0x359d3e2a]
rol edx, 0x1e
mov ebp, edx
xor ebp, esi
xor ebp, ebx
add ebp, dword [esp + eax*4 + 0x20]
mov edi, ecx
add ebp, dword [esp + 0x18]
rol edi, 5
lea ebx, [edi + ebp - 0x359d3e2a]
inc eax
rol esi, 0x1e
mov ebp, edx
xor ebp, esi
xor ebp, ecx
add ebp, dword [esp + eax*4 + 0x20]
mov edi, ebx
add ebp, dword [esp + 0x10]
rol edi, 5
mov dword [esp + 0x14], ecx
lea ecx, [edi + ebp - 0x359d3e2a]
mov edi, dword [esp + 0x14]
inc eax
rol edi, 0x1e
mov dword [esp + 0x10], ecx
cmp eax, 0x50
jb 0x4ba9e0
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
add eax, ebx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x18]
add eax, edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
add eax, esi
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x20]
pop edi
add eax, edx
pop esi
mov dword [ebp + 0x20], eax
pop ebp
pop ebx
add esp, 0x150
ret