Function at 0x4973e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x15c
push ebx
mov ebx, dword [esp + 0x164]
push ebp
lea ebp, [esp + 0x24]
sub ebp, ebx
mov eax, ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x18], ebp
push esi
mov esi, dword [eax]
lea ebp, [esp + 0x2c]
sub ebp, ebx
push edi
mov edi, dword [eax + 0xc]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], edi
xor edi, edi
lea ebp, [esp + 0x34]
sub ebp, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
lea eax, [ebx + 8]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x18]
mov ebx, dword [eax - 8]
mov dword [esp + edi*4 + 0x2c], ebx
mov ebx, ebp
xor ebx, edx
and ebx, ecx
xor ebx, ebp
mov ebp, dword [esp + 0x24]
mov edi, esi
rol edi, 5
add edi, dword [eax - 8]
add eax, 0x14
add ebx, edi
mov edi, dword [esp + 0x1c]
lea ebx, [edi + ebx + 0x5a827999]
mov edi, dword [eax - 0x18]
mov dword [esp + ebp*4 + 0x30], edi
mov dword [esp + 0x1c], ebx
rol ecx, 0x1e
rol ebx, 5
add ebx, edi
mov edi, dword [esp + 0x18]
mov ebp, edx
xor ebp, ecx
and ebp, esi
xor ebp, edx
add ebp, ebx
mov ebx, dword [eax - 0x14]
lea edi, [edi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x20]
mov dword [eax + ebp - 0x14], ebx
mov ebp, dword [esp + 0x14]
rol esi, 0x1e
mov dword [esp + 0x18], edi
rol edi, 5
add edi, dword [eax - 0x14]
mov ebx, ecx
xor ebx, esi
and ebx, dword [esp + 0x1c]
xor ebx, ecx
add ebx, edi
mov edi, dword [esp + 0x1c]
rol edi, 0x1e
lea edx, [edx + ebx + 0x5a827999]
mov ebx, dword [eax - 0x10]
mov dword [eax + ebp - 0x14], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
xor edi, esi
and edi, dword [esp + 0x18]
mov ebx, edx
rol ebx, 5
add ebx, dword [eax - 0x10]
xor edi, esi
add edi, ebx
mov ebx, dword [eax - 0xc]
mov dword [eax + ebp - 0x14], ebx
mov ebp, dword [esp + 0x1c]
lea ecx, [ecx + edi + 0x5a827999]
mov edi, dword [esp + 0x18]
rol edi, 0x1e
xor ebp, edi
and ebp, edx
xor ebp, dword [esp + 0x1c]
mov ebx, ecx
rol ebx, 5
add ebx, dword [eax - 0xc]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x24]
add ebp, ebx
add edi, 5
rol edx, 0x1e
cmp edi, 0xf
lea esi, [esi + ebp + 0x5a827999]
mov dword [esp + 0x24], edi
jl 0x497434
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x170]
mov eax, dword [eax + 0x3c]
mov ebp, edi
xor ebp, edx
and ebp, ecx
xor ebp, edi
mov ebx, esi
rol ebx, 5
add ebx, eax
add ebp, ebx
rol ecx, 0x1e
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
lea ebp, [eax + ebp + 0x5a827999]
mov eax, dword [esp + 0x2c]
xor eax, dword [esp + 0x34]
mov edi, ebp
xor eax, dword [esp + 0x4c]
mov ebx, edx
xor eax, dword [esp + 0x60]
xor ebx, ecx
and ebx, esi
rol eax, 1
rol edi, 5
add edi, eax
xor ebx, edx
add ebx, edi
mov edi, dword [esp + 0x18]
lea ebx, [edi + ebx + 0x5a827999]
mov edi, dword [esp + 0x30]
xor edi, dword [esp + 0x38]
rol esi, 0x1e
xor edi, dword [esp + 0x50]
mov dword [esp + 0x24], ecx
xor edi, dword [esp + 0x64]
xor ecx, esi
and ecx, ebp
rol edi, 1
mov dword [esp + 0x18], ebx
rol ebx, 5
mov dword [esp + 0x10], esi
mov esi, ebx
mov ebx, dword [esp + 0x24]
xor ecx, ebx
add esi, edi
add ecx, esi
rol ebp, 0x1e
lea edx, [edx + ecx + 0x5a827999]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], edi
mov edi, ebp
mov ebp, dword [esp + 0x3c]
xor ebp, dword [esp + 0x54]
mov esi, edi
xor ebp, dword [esp + 0x34]
xor esi, dword [esp + 0x10]
xor ebp, dword [esp + 0x68]
and esi, ecx
xor esi, dword [esp + 0x10]
rol ebp, 1
mov dword [esp + 0x14], edx
rol edx, 5
add edx, ebp
add esi, edx
rol ecx, 0x1e
mov dword [esp + 0x74], ebp
mov ebp, ecx
mov ecx, dword [esp + 0x40]
xor ecx, dword [esp + 0x58]
lea ebx, [ebx + esi + 0x5a827999]
xor ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
xor ecx, eax
rol ecx, 1
mov edx, ebx
mov eax, edi
rol edx, 5
mov dword [esp + 0x78], ecx
xor eax, ebp
and eax, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x10]
xor eax, edi
add eax, edx
lea edx, [ecx + eax + 0x5a827999]
mov ecx, dword [esp + 0x14]
rol ecx, 0x1e
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], 4
mov esi, dword [eax - 0x18]
mov edx, dword [eax - 0x20]
xor edx, esi
xor edx, dword [eax + 0x14]
mov esi, ebp
xor edx, dword [eax]
xor esi, ecx
rol edx, 1
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax + 0x18]
mov dword [esp + 0x1c], edx
xor ecx, dword [eax + 4]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x10]
rol edx, 5
add edx, dword [esp + 0x1c]
xor esi, ebx
add esi, edx
mov edx, dword [eax - 0x14]
xor ecx, edx
mov edx, dword [esp + 0x14]
rol ebx, 0x1e
xor edx, ebx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
lea edi, [edi + esi + 0x6ed9eba1]
rol ecx, 1
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x18]
xor ebx, edx
mov esi, edi
rol esi, 5
add esi, ecx
add ebx, esi
mov esi, dword [eax - 0x10]
rol edx, 0x1e
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x1c]
xor edx, dword [eax + 8]
lea ebp, [ebx + ebp + 0x6ed9eba1]
xor edx, esi
xor edx, dword [eax - 0x18]
mov dword [esp + 0x18], ebp
rol edx, 1
mov dword [eax + 0x28], edx
rol ebp, 5
add ebp, edx
mov edx, dword [esp + 0x14]
mov esi, edi
xor esi, dword [esp + 0x24]
mov dword [eax + 0x24], ecx
xor esi, dword [esp + 0x10]
add esi, ebp
lea esi, [edx + esi + 0x6ed9eba1]
mov edx, dword [eax - 0xc]
xor edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x18]
xor edx, dword [esp + 0x1c]
rol edi, 0x1e
xor edx, dword [eax - 0x14]
mov ebx, edi
xor ebx, dword [esp + 0x18]
rol edx, 1
xor ebx, dword [esp + 0x10]
mov dword [esp + 0x14], esi
rol esi, 5
add esi, edx
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x24]
add ebx, esi
lea ebx, [edx + ebx + 0x6ed9eba1]
mov edx, dword [eax + 0x10]
xor edx, dword [eax - 8]
rol ebp, 0x1e
xor edx, ecx
xor edx, dword [eax - 0x10]
mov ecx, ebx
rol edx, 1
mov dword [esp + 0x24], edx
mov dword [eax + 0x30], edx
rol ecx, 5
add ecx, dword [esp + 0x24]
mov edx, edi
xor edx, ebp
xor edx, dword [esp + 0x14]
add eax, 0x14
add edx, ecx
mov ecx, dword [esp + 0x10]
lea edx, [ecx + edx + 0x6ed9eba1]
mov ecx, dword [esp + 0x14]
rol ecx, 0x1e
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jne 0x497660
lea eax, [esp + 0xac]
mov dword [esp + 0x18], 4
mov esi, dword [eax - 0x18]
mov edx, dword [eax - 0x20]
xor edx, esi
xor edx, dword [eax]
mov esi, ecx
xor edx, dword [eax + 0x14]
or esi, ebx
rol edx, 1
and ecx, ebx
mov dword [esp + 0x20], edx
and esi, ebp
or esi, ecx
add esi, dword [esp + 0x20]
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax + 0x18]
add esi, edi
xor ecx, dword [eax + 4]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x10]
rol edx, 5
lea edx, [esi + edx - 0x70e44324]
mov esi, dword [eax - 0x14]
rol ebx, 0x1e
xor ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov edi, ebx
or edi, esi
and edi, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
and ebx, esi
or edi, ebx
mov ebx, dword [esp + 0x1c]
rol ecx, 1
rol edx, 5
add edi, ecx
add edi, ebp
lea ebp, [edi + edx - 0x70e44324]
mov edx, dword [eax + 0x1c]
xor edx, dword [eax + 8]
mov edi, dword [eax - 0x10]
xor edx, edi
xor edx, dword [eax - 0x18]
rol esi, 0x1e
or ebx, esi
and ebx, dword [esp + 0x24]
rol edx, 1
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
and esi, dword [esp + 0x10]
mov dword [eax + 0x28], edx
or ebx, esi
add ebx, edx
add ebx, dword [esp + 0x14]
mov edx, dword [eax - 0xc]
xor edx, dword [eax + 0xc]
mov edi, ebp
xor edx, dword [esp + 0x20]
rol edi, 5
xor edx, dword [eax - 0x14]
lea esi, [ebx + edi - 0x70e44324]
mov edi, dword [esp + 0x1c]
rol edi, 0x1e
rol edx, 1
mov dword [esp + 0x20], edx
mov dword [eax + 0x2c], edx
mov edx, edi
or edx, ebp
and edx, dword [esp + 0x10]
mov ebx, edi
and ebx, ebp
or edx, ebx
add edx, dword [esp + 0x20]
mov dword [esp + 0x14], esi
add edx, dword [esp + 0x24]
rol esi, 5
lea ebx, [edx + esi - 0x70e44324]
mov edx, dword [eax + 0x10]
rol ebp, 0x1e
xor edx, dword [eax - 8]
mov dword [eax + 0x24], ecx
xor edx, dword [eax - 0x10]
mov esi, ebp
and esi, dword [esp + 0x14]
xor edx, ecx
rol edx, 1
mov dword [eax + 0x30], edx
mov dword [esp + 0x20], edx
mov edx, ebp
or edx, dword [esp + 0x14]
mov ecx, ebx
and edx, edi
or edx, esi
add edx, dword [esp + 0x20]
rol ecx, 5
add edx, dword [esp + 0x10]
add eax, 0x14
lea ecx, [edx + ecx - 0x70e44324]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
rol ecx, 0x1e
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ecx
jne 0x4977a2
mov eax, 0x3c
cmp eax, 0x50
jge 0x497a3a
mov edx, 0x4f
sub edx, eax
lea esi, [esp + eax*4 + 0xc]
mov eax, 0xcccccccd
mul edx
shr edx, 2
inc edx
mov dword [esp + 0x1c], edx
mov eax, dword [esi - 0x20]
xor eax, dword [esi]
mov edx, dword [esi - 0x18]
xor eax, dword [esi + 0x14]
xor eax, edx
rol eax, 1
mov dword [esp + 0x20], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x10]
rol eax, 5
mov edx, ebp
xor edx, ecx
xor edx, ebx
add edx, dword [esp + 0x20]
mov ecx, dword [esi - 0x14]
add edx, edi
rol ebx, 0x1e
lea edi, [edx + eax - 0x359d3e2a]
mov eax, dword [esi - 0x1c]
xor eax, dword [esi + 0x18]
mov dword [esp + 0x24], ebx
xor eax, dword [esi + 4]
mov edx, edi
xor eax, ecx
mov ecx, dword [esp + 0x14]
xor ecx, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, ecx
rol eax, 1
add ebx, eax
add ebx, ebp
rol edx, 5
rol ecx, 0x1e
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x1c]
xor ecx, dword [esi + 8]
lea edx, [ebx + edx - 0x359d3e2a]
mov ebx, dword [esi - 0x10]
xor ecx, ebx
xor ecx, dword [esi - 0x18]
mov ebx, edi
xor ebx, dword [esp + 0x24]
rol ecx, 1
xor ebx, dword [esp + 0x10]
mov dword [esi + 0x28], ecx
add ebx, ecx
add ebx, dword [esp + 0x14]
mov ecx, dword [esi - 0xc]
xor ecx, dword [esi + 0xc]
mov dword [esp + 0x18], edx
xor ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
xor ecx, dword [esi - 0x14]
rol edx, 5
rol edi, 0x1e
lea edx, [ebx + edx - 0x359d3e2a]
rol ecx, 1
mov ebx, edi
xor ebx, dword [esp + 0x18]
mov dword [esi + 0x2c], ecx
xor ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
add ebx, ecx
mov ecx, dword [esi + 0x10]
xor ecx, dword [esi - 8]
add ebx, dword [esp + 0x24]
xor ecx, eax
xor ecx, dword [esi - 0x10]
rol edx, 5
rol ebp, 0x1e
rol ecx, 1
mov dword [esi + 0x24], eax
lea ebx, [ebx + edx - 0x359d3e2a]
mov dword [esp + 0x20], ecx
mov dword [esi + 0x30], ecx
mov eax, ebx
mov ecx, edi
rol eax, 5
xor ecx, ebp
xor ecx, dword [esp + 0x14]
add esi, 0x14
add ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x10]
lea edx, [ecx + eax - 0x359d3e2a]
mov ecx, dword [esp + 0x14]
rol ecx, 0x1e
sub dword [esp + 0x1c], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jne 0x497913
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov esi, dword [esp + 0x10]
add esi, eax
mov eax, dword [esp + 0x174]
mov dword [eax], esi
mov esi, dword [edx + 4]
add esi, ebx
mov dword [eax + 4], esi
mov esi, dword [edx + 8]
add esi, ecx
mov dword [eax + 8], esi
mov ecx, dword [edx + 0xc]
add ecx, ebp
mov dword [eax + 0xc], ecx
mov edx, dword [edx + 0x10]
add edx, edi
cmp byte [esp + 0x178], 0
pop edi
pop esi
pop ebp
mov dword [eax + 0x10], edx
pop ebx
je 0x497b27
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov dword [eax], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x128]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x12c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x130]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x134]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x138]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x13c]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x140]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x144]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x148]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x14c]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x150]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x154]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x158]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
add esp, 0x15c
ret 0xc