Function at 0x1ad230
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
add eax, dword [ecx + 0x60]
mov word [esp + 0x10], 0xcbcd
mov byte [esp + 0x12], 0xc2
mov dword [esp + 0x13], 0
mov byte [esp + 0x17], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 7
ja 0x1ad2bf
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x10]
lea edi, [esi + esi]
and edi, 0x72866a0
mov ebx, esi
not ebx
or ebx, 0x3943350
add ebx, esi
sub esi, edi
lea esi, [esi + ebx*2]
add esi, 0x3943352
xor esi, edx
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x18]
add dl, 0x70
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x10], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 8
jb 0x1ad270
mov dword [esp + 8], 0x66786492
mov dword [esp + 0xc], 0x7d76
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 7
ja 0x1ad32c
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, edx
xor edi, 0x7b91e094
and edx, 0xfb91e094
lea edx, [edi + edx*2]
lea edi, [edx + esi]
and edx, esi
mov esi, edi
not esi
and esi, edx
add esi, edx
not edx
and edx, edi
sub edx, esi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
add dl, 0x1c
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 8
jb 0x1ad2e0
mov dword [esp + 0x18], 0xbab87475
mov dword [esp + 0x1c], 0xc6c66864
mov dword [esp + 0x20], 0xc3d6c815
mov dword [esp + 0x24], 0xcec3c2d7
mov dword [esp + 0x28], 0x1ecbdfde
mov dword [esp + 0x2c], 0xc0356361
mov dword [esp + 0x30], 0xc5d3c5c2
mov dword [esp + 0x34], 0xd23e18c0
mov dword [esp + 0x38], 0xc8cdc9cf
mov dword [esp + 0x3c], 0xf0ebc9d5
mov dword [esp + 0x40], 0xed263ff2
mov dword [esp + 0x44], 0x26e7f3f7
mov dword [esp + 0x48], 0xeefae8ec
mov dword [esp + 0x4c], 0xf2e02d33
mov dword [esp + 0x50], 0x312bf4fd
mov byte [esp + 0x54], 0x54
mov dword [esp + 0x55], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x40
ja 0x1ad40e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x18]
mov edi, edx
xor edi, 0x26bcdbba
and edx, 0x26bcdbba
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0x5e
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x18], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x41
jb 0x1ad3d0
mov esi, dword [esp + 0x70]
movzx ebx, byte [esp + 0x18]
mov edx, eax
test bl, bl
je 0x1ad43b
lea edi, [esp + 0x19]
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x1ad430
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x1ad45b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x1ad450
mov esi, dword [esp + 0x74]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x1ad47b
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x1ad470
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x1ad49b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x1ad490
mov byte [edx], 0
movzx ebx, byte [esp + 0x10]
test bl, bl
je 0x1ad4bb
lea esi, [esp + 0x11]
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x1ad4b0
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
add esp, 0x5c
pop esi
pop edi
pop ebx
ret 0xc