Function at 0x419350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, esp
mov ebx, dword [ebp + 8]
push eax
sub esp, 0x2c
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x5c], eax
mov esp, eax
mov dword [esi + 0x10], 0x9be799e3
mov dword [esi + 0x14], 0x97da951d
mov dword [esi + 0x18], 0x93ee91a6
mov dword [esi + 0x1c], 0xafaeadce
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x17
ja 0x4193e1
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x10]
lea edx, [eax - 0xa01d86c]
mov edi, edx
and edi, ecx
not ecx
or ecx, edx
add ecx, edi
sub eax, ecx
add al, 0x87
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x10], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x18
jb 0x4193b0
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.004160f0
add esp, 0xc
mov byte [esi + 0xf], al
mov dword [esi + 0x10], 0x63076103
mov dword [esi + 0x14], 0x67f265f6
mov dword [esi + 0x18], 0x6b446931
mov dword [esi + 0x1c], 0x6f0c6d08
mov word [esi + 0x20], 0x9190
mov dword [esi + 0x22], 0
mov dword [esi + 0x26], 0
mov dword [esi + 0x2a], 0
mov dword [esi + 0x2e], 0
mov dword [esi + 0x32], 0
mov dword [esi + 0x35], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x28
ja 0x419498
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x10]
lea edx, [eax - 0x34ba3290]
lea edi, [eax + 0x70]
xor edi, edx
and edx, ecx
and edi, ecx
add eax, ecx
add eax, 0xcb45cd70
lea ecx, [edi + edx*2]
sub eax, ecx
mov ecx, eax
xor ecx, 0xef
and eax, 0x6f
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x10], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x29
jb 0x419450
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.004160f0
add esp, 0xc
mov byte [esi + 0xe], al
mov dword [esi + 0x10], 0x83318138
mov dword [esi + 0x14], 0x9f2b9d30
mov dword [esi + 0x18], 0x9b239926
mov dword [esi + 0x1c], 0x97189517
mov dword [esi + 0x20], 0x93229127
mov dword [esi + 0x24], 0x6f9a6d19
mov dword [esi + 0x28], 0x6bdb69e3
mov dword [esi + 0x2c], 0x67df65de
mov dword [esi + 0x30], 0x63df61ea
mov word [esi + 0x34], 0x7d62
mov dword [esi + 0x36], 0
mov dword [esi + 0x3a], 0
mov dword [esi + 0x3e], 0
mov dword [esi + 0x42], 0
mov dword [esi + 0x46], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x39
ja 0x419568
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x10]
mov edx, eax
xor edx, 0xc8a3b66b
and eax, 0xc8a3b66b
lea edx, [edx + eax*2]
lea eax, [edx + ecx]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x13
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x10], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x3a
jb 0x419530
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.004160f0
add esp, 0xc
mov byte [esi + 0xd], al
mov dword [esi + 0x10], 0x9301917b
mov dword [esi + 0x14], 0x9f099d03
mov dword [esi + 0x18], 0x9b779975
mov dword [esi + 0x1c], 0x87528507
mov dword [esi + 0x20], 0x8313811b
mov dword [esi + 0x24], 0x8f678d16
mov dword [esi + 0x28], 0x8b678912
mov word [esi + 0x2c], 0xb58a
mov dword [esi + 0x2e], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x21
ja 0x41960f
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ebx, byte [esi + ecx + 0x10]
lea edx, [eax + 0xe613143]
mov ecx, edx
and ecx, ebx
mov edi, edx
xor edi, ebx
add eax, 0x43
and eax, ebx
not ebx
or edx, ebx
add eax, edx
add ebx, edi
sub ebx, eax
lea eax, [ebx + ecx*2]
add al, 0x2b
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x10], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x22
jb 0x4195d0
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.004160f0
add esp, 0xc
mov byte [esi + 0xc], al
mov dword [esi + 0x10], 0x83118d10
mov dword [esi + 0x14], 0x871f811b
mov dword [esi + 0x18], 0xbb2d8516
mov dword [esi + 0x1c], 0xbf20b9ea
mov dword [esi + 0x20], 0xb321bd2b
mov dword [esi + 0x24], 0xb7b6b122
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x2f], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x22
ja 0x4196b3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 8]
mov eax, dword [esi + 8]
movzx edx, byte [esi + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0x3243da16
add ecx, 0x3243da16
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x66
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x10], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x23
jb 0x419680
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004160f0
add esp, 0xc
mov ebx, eax
mov edx, dword [esi + 0x5c]
mov dword [edx], 0x2bbe2dbc
mov dword [edx + 4], 0x17b92989
mov dword [edx + 8], 0x138d15b9
mov dword [edx + 0xc], 0x1f8111c2
mov dword [edx + 0x10], 0x1b8e1d8d
mov dword [edx + 0x14], 0x79a19b1
mov dword [edx + 0x18], 0x30205a9
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 0x27
ja 0x41974c
nop
nop
nop
nop
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
add al, 0xda
xor al, byte [edx + ecx]
add al, 0xa
mov ecx, dword [esi + 0x10]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0x28
jb 0x419720
movzx eax, byte [esi + 0xf]
or al, byte [esi + 0xe]
mov bh, byte [esi + 0xd]
or bh, byte [esi + 0xc]
or bh, al
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004160f0
add esp, 0xc
or al, bl
or al, bh
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret