Function at 0x457172
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a620c]
push ebx
push esi
push edi
mov eax, dword [eax + 0x13c]
push 4
mov esi, ecx
pop ebx
mov eax, dword [eax]
mov ecx, ebx
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0x13c]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x2c], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0xc14]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0xc14]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x30], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0xc04]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0xc04]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x34], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x154]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0x154]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x38], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x150]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0x150]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x3c], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0xc10]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0xc10]
mov eax, dword [esi + eax*4]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x40], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0xc08]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0xc08]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x44], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0xc0c]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0xc0c]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x48], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x14c]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
xor eax, dword [ecx + 0x14c]
mov ecx, ebx
mov dword [esi + 0x4c], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x310]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0x310]
xor eax, dword [ecx]
mov ecx, ebx
mov dword [esi + 0x50], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x190]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
xor eax, dword [ecx + 0x190]
mov ecx, ebx
mov dword [esi + 0x68], eax
mov eax, dword [0x4a620c]
movzx eax, byte [eax + 0x3dc]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov al, byte [eax + esi + 0x10]
mov dword [ebp - 4], 0x28c
mov dword [ebp - 8], 0x2ac
xor al, byte [ecx + 0x3dc]
sub dword [ebp - 4], esi
add esp, 0x30
sub dword [ebp - 8], esi
mov byte [esi + 0x6c], al
lea edi, [esi + 0x90]
mov dword [ebp - 0xc], 0x2cc
mov dword [ebp - 0x10], 0x2ec
sub dword [ebp - 0xc], esi
sub dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0x30c
mov dword [ebp - 0x18], 0x32c
sub dword [ebp - 0x14], esi
sub dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 8
mov eax, dword [ebp - 4]
mov ecx, dword [0x4a620c]
add eax, edi
mov eax, dword [eax + ecx]
mov ecx, ebx
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [esi + eax*4]
mov eax, dword [ebp - 4]
mov edx, dword [0x4a620c]
add eax, edi
xor ecx, dword [eax + edx]
mov eax, dword [ebp - 8]
add eax, edi
mov dword [edi - 0x20], ecx
mov ecx, dword [0x4a620c]
mov eax, dword [eax + ecx]
mov ecx, ebx
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [esi + eax*4]
mov eax, dword [ebp - 8]
mov edx, dword [0x4a620c]
add eax, edi
xor ecx, dword [eax + edx]
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [edi], ecx
mov ecx, dword [0x4a620c]
mov eax, dword [eax + ecx]
mov ecx, ebx
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [esi + eax*4]
mov eax, dword [ebp - 0xc]
mov edx, dword [0x4a620c]
add eax, edi
xor ecx, dword [eax + edx]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [edi + 0x20], ecx
mov ecx, dword [0x4a620c]
mov eax, dword [eax + ecx]
mov ecx, ebx
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [esi + eax*4]
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4a620c]
add eax, edi
xor ecx, dword [eax + edx]
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [edi + 0x40], ecx
mov ecx, dword [0x4a620c]
mov eax, dword [eax + ecx]
and eax, 3
push eax
call fcn.0045b507
mov ecx, dword [esi + eax*4 + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [0x4a620c]
add eax, edi
xor ecx, dword [eax + edx]
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [edi + 0x60], ecx
mov ecx, dword [0x4a620c]
mov eax, dword [eax + ecx]
mov ecx, ebx
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [esi + eax*4]
mov eax, dword [ebp - 0x18]
mov edx, dword [0x4a620c]
add eax, edi
add esp, 0x18
xor ecx, dword [eax + edx]
mov dword [edi + 0x80], ecx
add edi, ebx
dec dword [ebp - 0x1c]
jne 0x4573d2
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x39bc]
mov eax, dword [eax]
and eax, 3
push eax
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4 + 0x1c]
mov ecx, dword [ecx + 0x104]
mov ecx, dword [ecx + 0x39bc]
xor eax, dword [ecx]
mov dword [esi + 0x130], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x39c0]
mov eax, dword [eax]
and eax, 3
push eax
call fcn.0045b507
pop ecx
mov eax, dword [esi + eax*4 + 0x1c]
pop ecx
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0x104]
mov ecx, dword [ecx + 0x39c0]
xor eax, dword [ecx]
xor edi, edi
mov dword [esi + 0x134], eax
mov eax, dword [0x4a620c]
mov ecx, ebx
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x3c13c]
movzx eax, byte [eax + edi]
cdq
idiv ecx
push edx
call fcn.0045b507
pop ecx
mov al, byte [eax + esi + 0x10]
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0x104]
mov ecx, dword [ecx + 0x3c13c]
xor al, byte [ecx + edi]
inc edi
cmp edi, 0x20
mov byte [esi + edi + 0x137], al
jl 0x457567
mov eax, dword [0x4a620c]
mov ecx, ebx
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x3670]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0x104]
xor eax, dword [ecx + 0x3670]
mov ecx, ebx
mov dword [esi + 0x158], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x367c]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov eax, dword [esi + eax*4]
mov ecx, dword [ecx + 0x104]
xor eax, dword [ecx + 0x367c]
mov ecx, ebx
mov dword [esi + 0x15c], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x104]
movzx eax, word [eax + 0x382a]
cdq
idiv ecx
push edx
call fcn.0045b507
mov ecx, dword [0x4a620c]
mov ax, word [esi + eax*2 + 0x14]
add esp, 0xc
mov ecx, dword [ecx + 0x104]
xor ax, word [ecx + 0x382a]
xor edi, edi
mov word [esi + 0x160], ax
mov eax, dword [0x4a620c]
mov ecx, ebx
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x3c16c]
movzx eax, byte [eax + edi]
cdq
idiv ecx
push edx
call fcn.0045b507
pop ecx
mov al, byte [eax + esi + 0x10]
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0x104]
mov ecx, dword [ecx + 0x3c16c]
xor al, byte [ecx + edi]
inc edi
cmp edi, 0x10
mov byte [esi + edi + 0x161], al
jl 0x45765d
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x66444]
and eax, 3
push eax
call fcn.0045b507
mov eax, dword [esi + eax*4 + 0x1c]
pop ecx
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0x104]
xor eax, dword [ecx + 0x66444]
xor edi, edi
mov dword [esi + 0x174], eax
mov eax, dword [0x4a620c]
mov ecx, ebx
mov eax, dword [eax + 0x104]
movzx eax, byte [eax + edi + 0x37d4]
cdq
idiv ecx
push edx
call fcn.0045b507
mov al, byte [eax + esi + 0x10]
pop ecx
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0x104]
xor al, byte [ecx + edi + 0x37d4]
inc edi
cmp edi, 8
mov byte [esi + edi + 0x177], al
jl 0x4576dd
mov eax, dword [0x4a620c]
mov ecx, ebx
mov eax, dword [eax + 0x284]
mov eax, dword [eax + 0x5bd4]
mov eax, dword [eax]
cdq
idiv ecx
push edx
call fcn.0045b507
pop ecx
mov eax, dword [esi + eax*4]
mov ecx, dword [0x4a620c]
xor edi, edi
mov ecx, dword [ecx + 0x284]
mov ecx, dword [ecx + 0x5bd4]
xor eax, dword [ecx]
cmp dword [esi + 0x184], edi
mov dword [esi + 0x180], eax
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x284]
mov eax, dword [eax + 0x2c6c]
mov dword [esi + 0x188], eax
jne 0x45778a
push eax
call fcn.0045b6eb
pop ecx
mov dword [esi + 0x184], eax
mov eax, dword [esi + 0x188]
cmp eax, edi
jle 0x4577e4
test eax, eax
jle 0x4577e4
mov eax, dword [0x4a620c]
mov ecx, ebx
mov eax, dword [eax + 0x284]
mov eax, dword [eax + 0x26fc]
movzx eax, byte [eax + edi]
cdq
idiv ecx
push edx
call fcn.0045b507
pop ecx
mov al, byte [eax + esi + 0x10]
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0x284]
mov ecx, dword [ecx + 0x26fc]
xor al, byte [ecx + edi]
mov ecx, dword [esi + 0x184]
mov byte [ecx + edi], al
inc edi
cmp edi, dword [esi + 0x188]
jl 0x457798
xor edi, edi
mov eax, dword [0x4a620c]
mov ecx, ebx
mov eax, dword [eax + 0x284]
movzx eax, byte [eax + edi + 0x2700]
cdq
idiv ecx
push edx
call fcn.0045b507
mov al, byte [eax + esi + 0x10]
pop ecx
mov ecx, dword [0x4a620c]
mov ecx, dword [ecx + 0x284]
xor al, byte [ecx + edi + 0x2700]
inc edi
cmp edi, 0x56a
mov byte [esi + edi + 0x18b], al
jl 0x4577e6
mov ecx, esi
call fcn.00457070
pop edi
pop esi
pop ebx
leave
ret