Function at 0x457288
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c9c15
call fcn.004c90c8
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x2c], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
xor ebx, ebx
mov dword [esi], ebx
cmp dword [esi], 6
je 0x4574d4
mov dword [ebp - 0x18], 0xcfb6318d
mov dword [ebp - 0x20], 0xffff
movdqa xmm0, xmmword [0xab7c00]
movdqu xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
lea ecx, [ebp - 0x50]
call fcn.0045643c
mov dword [ebp - 0x18], ebx
jmp 0x457326
mov dword [ebp - 0x24], 6
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x45731e
push ebx
push 0x20a1
push ebx
call dword [fcn.00ac70ac]
cmp dword [ebp - 0x24], ebx
jne 0x45732c
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffe6
jge 0x457301
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 0x18
jne 0x4574c5
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x1c], 0xded1456b
mov dword [ebp - 0x1c], 0xe77da19
push 4
lea ecx, [ebp - 0x5c]
call fcn.004546da
mov dword [ebp - 0x1c], ebx
jmp 0x45736d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x5c]
mov dword [eax + ecx*4], 0x6e82a74
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x45735d
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [esi]
xor ecx, ecx
test eax, eax
setne cl
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp ecx, eax
setge dl
sub edx, 0xb88c
neg edx
sbb edx, edx
inc edx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp edx, eax
setl cl
xor edx, edx
cmp ecx, 0x2ef7
setg dl
mov eax, dword [edi]
xor ecx, ecx
cmp eax, edx
setg cl
mov dword [ebp - 0x24], ecx
mov eax, dword [esi]
xor ecx, ecx
cmp eax, dword [ebp - 0x24]
setle cl
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [eax + 4], ecx
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], 1
jg 0x4574b5
mov dword [ebp - 0x24], 0x2295
mov dword [ebp - 0x1c], ebx
jmp 0x4573f6
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x44], 0x4b58fe4d
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x4573e8
mov dword [ebp - 0x1c], 0x1905
cmp dword [ebp - 0x1c], 0x1ae1
jle 0x45744f
mov esi, ebx
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, edi
shl eax, cl
xor eax, esi
cdq
push edx
push eax
mov ecx, 0xac3ef8
call fcn.004545c5
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x2936
jl 0x457415
inc edi
cmp edi, 0x885
jl 0x457410
inc esi
cmp esi, 0x71d2
jl 0x45740e
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], 0x1872
jge 0x45746f
mov edx, 0xab1b5c
mov ecx, 0xac3ef8
call fcn.00455f6b
or dword [ebp - 4], 0xffffffff
jmp 0x4574ad
inc dword [ebp - 0x20]
jmp 0x4573d2
lea ecx, [ebp - 0x5c]
call fcn.004547ac
inc dword [ebp - 0x18]
jmp 0x45732f
lea ecx, [ebp - 0x50]
call fcn.004547ac
inc dword [esi]
jmp 0x4572bb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret