Function at 0x402d60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x12c
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
push ebx
push ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x1c]
push esi
mov esi, dword [eax + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x140]
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], esi
xor edi, edi
mov edx, dword [ecx]
add ecx, 4
mov ebx, edx
rol ebx, 0x18
and ebx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebx, edx
mov edx, dword [ecx]
mov dword [esp + edi*4 + 0x3c], ebx
add ecx, 4
mov ebx, edx
rol ebx, 0x18
and ebx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebx, edx
mov edx, dword [ecx]
mov dword [esp + edi*4 + 0x40], ebx
add ecx, 4
mov ebx, edx
rol ebx, 0x18
and ebx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebx, edx
mov edx, dword [ecx]
mov dword [esp + edi*4 + 0x44], ebx
mov ebx, edx
add ecx, 4
rol ebx, 0x18
and ebx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebx, edx
mov dword [esp + edi*4 + 0x48], ebx
add edi, 4
cmp edi, 0x10
jl 0x402d96
cmp edi, 0x40
mov edx, dword [eax + 8]
mov dword [esp + 0x144], ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jge 0x402e8c
mov ecx, 0x40
sub ecx, edi
lea eax, [esp + 0x40]
mov dword [esp + 0x30], ecx
mov edi, dword [eax]
mov ecx, dword [eax + 0x34]
mov ebx, edi
ror ebx, 0x12
mov ebp, edi
ror ebp, 7
xor ebx, ebp
shr edi, 3
xor ebx, edi
mov edi, ecx
ror edi, 0x13
mov ebp, ecx
ror ebp, 0x11
xor edi, ebp
shr ecx, 0xa
xor edi, ecx
add ebx, edi
add ebx, dword [eax + 0x20]
add eax, 4
add ebx, dword [eax - 8]
sub dword [esp + 0x30], 1
mov dword [eax + 0x38], ebx
jne 0x402e50
lea eax, [esp + 0x3c]
mov ecx, 0x4aa558
mov dword [esp + 0x38], 4
jmp 0x402ea4
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
and ebp, esi
mov edi, esi
ror edi, 0x19
mov ebx, esi
ror ebx, 0xb
xor edi, ebx
mov ebx, esi
ror ebx, 6
xor edi, ebx
mov ebx, esi
mov esi, dword [esp + 0x24]
not ebx
and ebx, dword [esp + 0x20]
add eax, 4
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
add ecx, 4
add edi, dword [eax - 4]
add esi, edi
add dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x1c]
mov ebx, esi
ror ebx, 0x16
mov edi, esi
ror edi, 0xd
xor ebx, edi
mov edi, esi
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x14]
mov ebp, edi
xor ebp, esi
and edi, esi
mov esi, dword [esp + 0x28]
and ebp, edx
xor ebp, edi
add ebp, dword [esp + 0x24]
mov edi, esi
add ebp, ebx
ror edi, 0x19
mov ebx, esi
ror ebx, 0xb
xor edi, ebx
mov ebx, esi
ror ebx, 6
xor edi, ebx
mov ebx, esi
and esi, dword [esp + 0x10]
not ebx
and ebx, dword [esp + 0x18]
mov dword [esp + 0x24], ebp
xor ebx, esi
mov esi, dword [esp + 0x20]
add edi, ebx
add edi, dword [ecx]
add edi, dword [eax]
add esi, edi
add edx, esi
mov dword [esp + 0x20], esi
mov esi, ebp
mov ebx, esi
ror ebx, 0x16
mov edi, esi
ror edi, 0xd
xor ebx, edi
mov edi, esi
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x1c]
mov ebp, edi
xor ebp, esi
and ebp, dword [esp + 0x14]
and edi, esi
xor ebp, edi
add ebp, dword [esp + 0x20]
add ebp, ebx
mov dword [esp + 0x20], ebp
add eax, 4
mov ebp, dword [esp + 0x28]
add ecx, 4
and ebp, edx
mov ebx, edx
ror ebx, 0x19
mov edi, edx
ror edi, 0xb
xor ebx, edi
mov edi, edx
ror edi, 6
xor ebx, edi
mov edi, edx
not edi
and edi, dword [esp + 0x10]
add eax, 4
xor edi, ebp
add ebx, edi
add ebx, dword [ecx]
mov edi, dword [esp + 0x18]
add ebx, dword [eax - 4]
add ecx, 4
add edi, ebx
add dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
mov ebx, edi
ror ebx, 0x16
mov ebp, edi
ror ebp, 0xd
xor ebx, ebp
mov ebp, edi
ror ebp, 2
xor ebx, ebp
mov ebp, esi
xor ebp, edi
and ebp, dword [esp + 0x1c]
and esi, edi
xor ebp, esi
add ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add ebp, ebx
mov edi, esi
ror edi, 0x19
mov ebx, esi
ror ebx, 0xb
xor edi, ebx
mov ebx, esi
ror ebx, 6
xor edi, ebx
mov dword [esp + 0x18], ebp
mov ebx, esi
not ebx
and ebx, dword [esp + 0x28]
mov ebp, edx
and ebp, esi
mov esi, dword [esp + 0x10]
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
add edi, dword [eax]
add esi, edi
add dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov ebx, esi
ror ebx, 0x16
mov edi, esi
ror edi, 0xd
xor ebx, edi
mov edi, esi
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x20]
mov ebp, edi
xor ebp, esi
and ebp, dword [esp + 0x24]
and edi, esi
xor ebp, edi
add ebp, dword [esp + 0x10]
add ebp, ebx
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edi, esi
and ebp, esi
mov ebx, esi
add eax, 4
add ecx, 4
ror edi, 0x19
ror ebx, 0xb
xor edi, ebx
mov ebx, esi
ror ebx, 6
xor edi, ebx
mov ebx, esi
not ebx
and ebx, edx
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
mov esi, dword [esp + 0x28]
add edi, dword [eax]
mov ebp, dword [esp + 0x18]
add esi, edi
mov edi, dword [esp + 0x24]
add edi, esi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x10]
mov ebx, ebp
xor ebx, esi
mov dword [esp + 0x30], ebx
mov ebx, ebp
and ebx, esi
mov dword [esp + 0x34], ebx
mov ebx, esi
ror ebx, 0x16
mov ebp, esi
ror ebp, 0xd
xor ebx, ebp
ror esi, 2
xor ebx, esi
mov esi, dword [esp + 0x30]
and esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
xor esi, dword [esp + 0x34]
add eax, 4
add esi, dword [esp + 0x28]
add ecx, 4
add esi, ebx
mov dword [esp + 0x28], esi
mov esi, edi
ror esi, 0x19
mov ebx, edi
ror ebx, 0xb
xor esi, ebx
mov ebx, edi
ror ebx, 6
xor esi, ebx
and ebp, edi
mov ebx, edi
not ebx
and ebx, dword [esp + 0x14]
mov dword [esp + 0x24], edi
xor ebx, ebp
add esi, ebx
add esi, dword [ecx]
add esi, dword [eax]
add edx, esi
mov esi, dword [esp + 0x28]
add dword [esp + 0x20], edx
mov ebp, esi
ror ebp, 0x16
mov ebx, esi
ror ebx, 0xd
xor ebp, ebx
mov ebx, esi
ror ebx, 2
xor ebp, ebx
mov ebx, dword [esp + 0x30]
and ebx, esi
xor ebx, dword [esp + 0x34]
add ebx, edx
add ebx, ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
and edi, edx
add eax, 4
add ecx, 4
mov ebx, edx
ror ebx, 0x19
mov ebp, edx
ror ebp, 0xb
xor ebx, ebp
mov ebp, edx
ror ebp, 6
xor ebx, ebp
mov ebp, edx
mov edx, dword [esp + 0x14]
not ebp
and ebp, dword [esp + 0x1c]
add eax, 4
xor ebp, edi
add ebx, ebp
add ebx, dword [ecx]
add ecx, 4
add ebx, dword [eax - 4]
add edx, ebx
add dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
mov ebx, edx
ror ebx, 0x16
mov edi, edx
ror edi, 0xd
xor ebx, edi
mov edi, edx
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x10]
mov ebp, edx
xor ebp, edi
and edx, edi
and ebp, esi
xor ebp, edx
add ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ebp, ebx
mov edi, edx
ror edi, 0x19
mov ebx, edx
ror ebx, 0xb
xor edi, ebx
mov ebx, edx
ror ebx, 6
xor edi, ebx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x20]
and ebp, edx
mov ebx, edx
mov edx, dword [esp + 0x1c]
not ebx
and ebx, dword [esp + 0x24]
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
add edi, dword [eax]
add edx, edi
add dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov ebx, edx
ror ebx, 0x16
mov edi, edx
ror edi, 0xd
xor ebx, edi
mov edi, edx
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x2c]
mov ebp, edi
xor ebp, edx
and ebp, esi
and edi, edx
xor ebp, edi
add ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add ebp, ebx
mov edi, edx
add eax, 4
add ecx, 4
ror edi, 0x19
mov ebx, edx
ror ebx, 0xb
xor edi, ebx
mov ebx, edx
ror ebx, 6
xor edi, ebx
mov ebx, edx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x18]
and ebp, edx
mov edx, dword [esp + 0x24]
not ebx
and ebx, dword [esp + 0x20]
add eax, 4
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
add ecx, 4
add edi, dword [eax - 4]
add edx, edi
add esi, edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
mov ebx, edx
ror ebx, 0x16
mov edi, edx
ror edi, 0xd
xor ebx, edi
mov edi, edx
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x14]
mov ebp, edi
and edi, edx
xor ebp, edx
and ebp, dword [esp + 0x2c]
mov edx, esi
xor ebp, edi
add ebp, dword [esp + 0x24]
mov edi, esi
add ebp, ebx
ror edi, 0x19
ror edx, 0xb
xor edi, edx
mov edx, esi
ror edx, 6
xor edi, edx
mov edx, esi
not edx
and edx, dword [esp + 0x18]
mov ebx, esi
and ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebp
xor edx, ebx
add edi, edx
add edi, dword [ecx]
mov edx, dword [esp + 0x20]
add edi, dword [eax]
add edx, edi
add dword [esp + 0x2c], edx
mov dword [esp + 0x20], edx
mov edx, ebp
mov ebx, edx
ror ebx, 0x16
mov edi, edx
ror edi, 0xd
xor ebx, edi
mov edi, edx
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x1c]
mov ebp, edi
xor ebp, edx
and ebp, dword [esp + 0x14]
and edi, edx
xor ebp, edi
add ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
add ebp, ebx
add eax, 4
add ecx, 4
mov edi, edx
ror edi, 0x19
mov ebx, edx
ror ebx, 0xb
xor edi, ebx
mov ebx, edx
ror ebx, 6
xor edi, ebx
mov dword [esp + 0x20], ebp
mov ebx, edx
not ebx
and ebx, dword [esp + 0x10]
mov ebp, esi
and ebp, edx
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
mov edx, dword [esp + 0x18]
add edi, dword [eax]
add eax, 4
add edx, edi
add dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov ebx, edx
ror ebx, 0x16
mov edi, edx
ror edi, 0xd
xor ebx, edi
mov edi, edx
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x24]
mov ebp, edi
xor ebp, edx
and ebp, dword [esp + 0x1c]
and edi, edx
mov edx, dword [esp + 0x14]
xor ebp, edi
add ebp, dword [esp + 0x18]
add ecx, 4
add ebp, ebx
mov edi, edx
ror edi, 0x19
mov ebx, edx
ror ebx, 0xb
xor edi, ebx
mov ebx, edx
ror ebx, 6
xor edi, ebx
mov ebx, edx
not ebx
and ebx, esi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x2c]
and ebp, edx
mov edx, dword [esp + 0x10]
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
add edi, dword [eax]
add edx, edi
add dword [esp + 0x1c], edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov ebx, edx
ror ebx, 0x16
mov edi, edx
ror edi, 0xd
xor ebx, edi
mov edi, edx
ror edi, 2
xor ebx, edi
mov edi, dword [esp + 0x20]
mov ebp, edi
xor ebp, edx
and ebp, dword [esp + 0x24]
and edi, edx
mov edx, dword [esp + 0x1c]
xor ebp, edi
add ebp, dword [esp + 0x10]
add eax, 4
add ebp, ebx
add ecx, 4
mov edi, edx
ror edi, 0x19
mov ebx, edx
ror ebx, 0xb
xor edi, ebx
mov ebx, edx
ror ebx, 6
xor edi, ebx
mov ebx, edx
not ebx
and ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
and ebp, edx
mov edx, dword [esp + 0x10]
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
mov ebx, dword [esp + 0x18]
add edi, dword [eax]
mov ebp, edx
add esi, edi
add dword [esp + 0x24], esi
mov edi, ebx
and ebx, edx
xor edi, edx
mov dword [esp + 0x34], ebx
mov ebx, edx
ror ebx, 0x16
ror ebp, 0xd
xor ebx, ebp
ror edx, 2
xor ebx, edx
mov ebp, dword [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x20]
and edx, edi
xor edx, dword [esp + 0x34]
add eax, 4
add edx, esi
add edx, ebx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x24]
add ecx, 4
mov esi, edx
ror esi, 0x19
mov ebx, edx
ror ebx, 0xb
xor esi, ebx
mov ebx, edx
ror ebx, 6
xor esi, ebx
mov ebx, edx
not ebx
and ebx, dword [esp + 0x14]
and ebp, edx
xor ebx, ebp
add esi, ebx
add esi, dword [ecx]
mov ebx, dword [esp + 0x2c]
add esi, dword [eax]
add ebx, esi
mov esi, dword [esp + 0x28]
add edi, ebx
mov ebp, esi
mov edx, esi
ror ebp, 0x16
mov dword [esp + 0x20], edi
ror edx, 0xd
xor ebp, edx
mov edx, esi
ror edx, 2
xor ebp, edx
mov edx, dword [esp + 0x30]
and edx, esi
xor edx, dword [esp + 0x34]
mov esi, edi
add edx, ebx
add edx, ebp
mov ebp, dword [esp + 0x24]
mov ebx, edi
add eax, 4
add ecx, 4
ror ebx, 0x19
ror esi, 0xb
xor ebx, esi
mov esi, edi
ror esi, 6
xor ebx, esi
and ebp, edi
mov esi, edi
not esi
and esi, dword [esp + 0x1c]
mov edi, edx
xor esi, ebp
add ebx, esi
add ebx, dword [ecx]
mov esi, dword [esp + 0x14]
add ebx, dword [eax]
mov ebp, edx
add esi, ebx
add dword [esp + 0x18], esi
ror edi, 0x16
mov dword [esp + 0x14], esi
mov esi, edx
ror esi, 0xd
xor edi, esi
mov esi, edx
ror esi, 2
xor edi, esi
mov esi, dword [esp + 0x10]
and ebp, esi
mov ebx, edx
xor ebx, esi
and ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
xor ebx, ebp
add ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
add ebx, edi
mov dword [esp + 0x14], ebx
add eax, 4
add ecx, 4
mov edi, esi
ror edi, 0x19
mov ebx, esi
ror ebx, 0xb
xor edi, ebx
mov ebx, esi
ror ebx, 6
xor edi, ebx
mov ebx, esi
not ebx
and ebx, dword [esp + 0x24]
and ebp, esi
mov esi, dword [esp + 0x1c]
xor ebx, ebp
add edi, ebx
add edi, dword [ecx]
add edi, dword [eax]
add esi, edi
add dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x14]
mov edi, esi
ror edi, 0x16
mov ebx, esi
ror ebx, 0xd
xor edi, ebx
mov ebx, esi
ror ebx, 2
xor edi, ebx
mov ebx, edx
xor ebx, esi
and ebx, dword [esp + 0x28]
mov ebp, edx
and ebp, esi
xor ebx, ebp
add ebx, dword [esp + 0x1c]
add eax, 4
add edi, ebx
add ecx, 4
sub dword [esp + 0x38], 1
mov dword [esp + 0x1c], edi
jne 0x402ea0
mov eax, dword [esp + 0x140]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x148]
add ecx, edi
mov edi, dword [esp + 0x24]
add dword [eax + 0x1c], edi
mov edi, dword [eax + 0x1c]
mov dword [eax], ecx
mov ecx, dword [eax + 4]
add ecx, esi
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov edx, dword [esp + 0x18]
add dword [eax + 0x14], edx
mov edx, dword [esp + 0x20]
add dword [eax + 0x18], edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
add dword [eax + 0x10], ecx
mov esi, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
sub ebx, 0x40
test ebx, ebx
mov dword [esp + 0x148], ebx
jle 0x403610
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x24], edi
add ecx, 0x40
jmp 0x402d8c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret