Function at 0x4028f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
movzx ebx, byte [edx + 3]
shl ebx, 8
push esi
movzx esi, byte [edx + 2]
or ebx, esi
movzx esi, byte [edx + 1]
shl ebx, 8
or ebx, esi
shl ebx, 8
push edi
mov edi, ecx
movzx ecx, byte [edx]
or ebx, ecx
movzx ecx, byte [edx + 6]
mov eax, dword [edi + 4]
xor ebx, dword [eax]
mov dword [ebp - 0xc], ebx
movzx ebx, byte [edx + 7]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edx + 5]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edx + 4]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edx + 0xb]
shl ecx, 8
mov dword [ebp - 4], ecx
movzx ecx, byte [edx + 0xa]
or dword [ebp - 4], ecx
shl dword [ebp - 4], 8
movzx ecx, byte [edx + 9]
or dword [ebp - 4], ecx
movzx ecx, byte [edx + 8]
shl dword [ebp - 4], 8
or dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
xor ecx, dword [eax + 8]
xor ebx, dword [eax + 4]
mov dword [ebp - 4], ecx
movzx ecx, byte [edx + 0xf]
shl ecx, 8
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 0xe]
or dword [ebp - 8], ecx
movzx ecx, byte [edx + 0xd]
shl dword [ebp - 8], 8
or dword [ebp - 8], ecx
shl dword [ebp - 8], 8
movzx ecx, byte [edx + 0xc]
mov edx, dword [ebp - 8]
or edx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi]
xor edx, dword [eax + 0xc]
add eax, 0x10
sar ecx, 1
dec ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
jle 0x402bfa
jmp 0x4029c0
shr edx, 8
mov ecx, dword [ebp - 4]
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [edx*4 + 0x4236a0]
xor edx, dword [ecx*4 + 0x423ad0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4232a0]
xor edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
shr edx, 0x10
shr ecx, 8
and edx, 0xff
and ecx, 0xff
mov edx, dword [edx*4 + 0x423ad0]
xor edx, dword [ecx*4 + 0x4236a0]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x4232a0]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov edx, ebx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
and edx, 0xff
shr ebx, 0x10
and ebx, 0xff
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp - 0x10]
mov edx, dword [edx*4 + 0x4236a0]
xor edx, dword [ecx*4 + 0x423ad0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
mov ecx, dword [ebp - 4]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4232a0]
mov ecx, dword [ebp - 4]
xor edx, dword [eax + 8]
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x1c], edx
mov ebx, dword [ecx*4 + 0x4236a0]
mov ecx, dword [ebp - 0xc]
xor ebx, dword [edi*4 + 0x423ad0]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x423ed0]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4232a0]
xor ebx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
shr edx, 8
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [edx*4 + 0x4236a0]
xor edx, dword [ecx*4 + 0x423ad0]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
mov ecx, dword [ebp - 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4232a0]
xor edx, dword [eax + 0x10]
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edi, dword [edx*4 + 0x423ad0]
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x18]
xor edi, dword [ecx*4 + 0x4236a0]
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x423ed0]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor edi, dword [ecx*4 + 0x4232a0]
mov ecx, dword [ebp - 0x14]
mov edx, dword [edx*4 + 0x4236a0]
shr ecx, 0x10
and ecx, 0xff
xor edi, dword [eax + 0x14]
mov dword [ebp - 0x10], edi
xor edx, dword [ecx*4 + 0x423ad0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor esi, dword [ecx*4 + 0x4232a0]
mov ecx, esi
mov dword [ebp - 4], esi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x4236a0]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x423ad0]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
movzx ecx, bl
mov ebx, edi
xor edx, dword [ecx*4 + 0x4232a0]
mov ecx, dword [ebp - 0x20]
xor edx, dword [eax + 0x1c]
dec ecx
add eax, 0x20
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
jg 0x4029c0
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
shr edx, 8
and edx, 0xff
mov edi, dword [ebp - 0x10]
shr edi, 0x10
and edi, 0xff
mov edx, dword [edx*4 + 0x4236a0]
xor edx, dword [ecx*4 + 0x423ad0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4232a0]
xor edx, dword [eax]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x423ad0]
xor edx, dword [ecx*4 + 0x4236a0]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x423ed0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x4232a0]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x18], edx
mov edx, ebx
shr edx, 8
and edx, 0xff
mov ebx, dword [edx*4 + 0x4236a0]
xor ebx, dword [ecx*4 + 0x423ad0]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x423ed0]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor ebx, dword [ecx*4 + 0x4232a0]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx*4 + 0x4236a0]
xor edx, dword [edi*4 + 0x423ad0]
xor ebx, dword [eax + 8]
shr ecx, 0x18
mov dword [ebp - 4], ebx
xor edx, dword [ecx*4 + 0x423ed0]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4232a0]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x20], edx
movzx ebx, byte [ecx + 0x4221a0]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4221a0]
shl ecx, 8
xor ebx, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff
shl ebx, 8
movzx ecx, byte [ecx + 0x4221a0]
xor ebx, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x4221a0]
xor ebx, ecx
mov ecx, edx
xor ebx, dword [eax + 0x10]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x10], ebx
movzx edx, byte [ecx + 0x4221a0]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4221a0]
shl ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
shl edx, 8
movzx ecx, byte [ecx + 0x4221a0]
xor edx, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4221a0]
xor edx, ecx
mov ecx, dword [ebp - 0x14]
xor edx, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x18]
movzx ebx, byte [ecx + 0x4221a0]
mov ecx, dword [ebp - 0x20]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4221a0]
shl ecx, 8
xor ebx, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff
shl ebx, 8
shr edx, 0x10
and edx, 0xff
movzx ecx, byte [ecx + 0x4221a0]
xor ebx, ecx
mov ecx, dword [ebp - 4]
movzx edx, byte [edx + 0x4221a0]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x4221a0]
xor ebx, ecx
mov ecx, dword [ebp - 0x14]
xor ebx, dword [eax + 0x18]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4221a0]
shl ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
shl edx, 8
movzx ecx, byte [ecx + 0x4221a0]
xor edx, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4221a0]
xor edx, ecx
mov ecx, dword [ebp + 8]
xor edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov byte [ecx + 3], al
mov eax, dword [ebp - 0xc]
mov byte [ecx + 4], al
shr eax, 8
mov byte [ecx + 5], al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
mov byte [ecx + 6], al
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov byte [ecx + 7], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 9], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 0xa], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0xd], al
mov eax, edx
mov byte [ecx + 8], bl
shr ebx, 0x18
pop edi
shr eax, 0x10
mov byte [ecx + 0xc], dl
shr edx, 0x18
pop esi
mov byte [ecx + 0xb], bl
mov byte [ecx + 0xe], al
xor eax, eax
mov byte [ecx + 0xf], dl
pop ebx
mov esp, ebp
pop ebp
ret