Function at 0x453780
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10808
call fcn.00458590
push ebx
push ebp
xor ebp, ebp
mov edx, 1
push esi
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x624]
mov edi, dword [esp + 0x1081c]
mov dword [ecx], ebp
xor esi, esi
mov ebx, 0xff
mov ax, word [edi]
cmp ax, 0xffff
je 0x4537e1
movsx eax, ax
add eax, esi
mov ebp, 0xff
cdq
idiv ebp
mov eax, dword [edx*4 + 0x4962ac]
mov edx, dword [ecx]
xor edx, eax
xor ebp, ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
add edi, 2
add esi, edx
dec ebx
jne 0x4537b8
mov eax, dword [ecx]
cmp eax, ebp
je 0x4537f7
mov dword [esp + 0x14], 1
mov eax, dword [eax*4 + 0x4966ac]
inc edx
mov dword [ecx], eax
add ecx, 4
cmp edx, 0x7e
mov dword [esp + 0x18], edx
jle 0x4537a8
cmp dword [esp + 0x14], ebp
je 0x453ec8
mov ecx, dword [esp + 0x624]
mov dword [esp + 0x228], ebp
mov dword [esp + 0x22c], ecx
mov dword [esp + 0xc18], ebp
mov dword [esp + 0xe10], 1
lea eax, [esp + 0xe14]
mov ecx, 0x7d
or edx, 0xffffffff
mov dword [eax - 0x1f8], edx
mov dword [eax], ebp
add eax, 4
dec ecx
jne 0x45384d
mov dword [esp + 0x81c], edx
lea edx, [esp + 0xc18]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x820], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc ebp
add edx, 0x1f8
add esi, 0x7f
mov dword [esp + 0x18], edx
mov edx, dword [esp + ebp*4 + 0x228]
add ecx, 0x7e
cmp edx, 0xffffffff
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
jne 0x4538f5
mov eax, dword [esp + ebp*4 + 0x28]
mov dword [esp + ebp*4 + 0x2c], eax
mov ecx, dword [esp + ebp*4 + 0x28]
test ecx, ecx
jl 0x453a0d
mov eax, dword [esp + 0x18]
inc ecx
mov edx, dword [eax]
mov dword [eax + 0x1f8], edx
mov edx, dword [eax]
add eax, 4
dec ecx
mov edx, dword [edx*4 + 0x4966ac]
mov dword [eax - 4], edx
jne 0x4538d6
jmp 0x453a0d
mov ecx, dword [esp + ebp*4 + 0x224]
lea eax, [esp + ebp*4 + 0x224]
cmp ecx, 0xffffffff
lea esi, [ebp - 1]
jne 0x45391b
test esi, esi
jle 0x453952
mov ecx, dword [eax - 4]
sub eax, 4
dec esi
cmp ecx, 0xffffffff
je 0x45390b
test esi, esi
jle 0x453952
mov eax, esi
lea edi, [esi*4]
dec eax
lea ecx, [eax*4]
cmp dword [esp + ecx + 0x228], 0xffffffff
je 0x45394e
mov ebx, dword [esp + edi + 0x81c]
cmp ebx, dword [esp + ecx + 0x81c]
jge 0x45394e
mov esi, eax
mov edi, ecx
test eax, eax
jg 0x453928
mov ecx, dword [esp + esi*4 + 0x28]
mov eax, ebp
sub eax, esi
add eax, ecx
mov ecx, dword [esp + ebp*4 + 0x28]
cmp ecx, eax
jle 0x45396a
mov dword [esp + ebp*4 + 0x2c], ecx
jmp 0x45396e
mov dword [esp + ebp*4 + 0x2c], eax
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + esi*4 + 0x28]
mov ecx, 0x7e
xor eax, eax
add edi, 0x1f8
rep stosd dword es:[edi], eax
xor ecx, ecx
test ebx, ebx
jl 0x4539de
mov eax, esi
shl eax, 6
sub eax, esi
lea edi, [esp + eax*8 + 0xc18]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4539d6
mov ebp, dword [esp + esi*4 + 0x228]
sub edx, ebp
mov ebp, 0xff
lea eax, [edx + eax + 0xff]
cdq
idiv ebp
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
sub eax, esi
add eax, ecx
mov edx, dword [edx*4 + 0x4962ac]
mov dword [esp + eax*4 + 0xe10], edx
mov edx, dword [esp + 0x1c]
inc ecx
add edi, 4
cmp ecx, ebx
jle 0x453999
mov ecx, dword [esp + ebp*4 + 0x28]
test ecx, ecx
jl 0x453a0d
mov eax, dword [esp + 0x18]
inc ecx
mov edx, dword [eax]
mov edi, dword [eax + 0x1f8]
xor edi, edx
mov dword [eax + 0x1f8], edi
mov edx, dword [eax]
add eax, 4
dec ecx
mov edx, dword [edx*4 + 0x4966ac]
mov dword [eax - 4], edx
jne 0x4539eb
mov edi, dword [esp + ebp*4 + 0x2c]
mov eax, ebp
sub eax, edi
mov dword [esp + ebp*4 + 0x820], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x3e82
jge 0x453ad3
mov eax, dword [esp + ebp*4 + 0x624]
cmp eax, 0xffffffff
je 0x453a47
mov ecx, dword [eax*4 + 0x4962ac]
mov dword [esp + ebp*4 + 0x22c], ecx
jmp 0x453a52
mov dword [esp + ebp*4 + 0x22c], 0
mov ecx, 1
cmp edi, ecx
jl 0x453aaa
lea esi, [esp + ebp*4 + 0x620]
mov edx, dword [esi]
cmp edx, 0xffffffff
je 0x453aa2
mov eax, dword [esp + 0x14]
add eax, ecx
mov eax, dword [esp + eax*4 + 0xe10]
test eax, eax
je 0x453aa2
mov eax, dword [eax*4 + 0x4966ac]
mov ebx, 0xff
add eax, edx
cdq
idiv ebx
mov eax, dword [esp + ebp*4 + 0x22c]
mov edx, dword [edx*4 + 0x4962ac]
xor eax, edx
mov dword [esp + ebp*4 + 0x22c], eax
inc ecx
sub esi, 4
cmp ecx, edi
jle 0x453a62
mov eax, dword [esp + ebp*4 + 0x22c]
mov ecx, dword [eax*4 + 0x4966ac]
mov eax, dword [esp + 0x10]
cmp eax, 0x3e82
mov dword [esp + ebp*4 + 0x22c], ecx
jge 0x453ad3
cmp edi, 0x3f
jle 0x453884
mov eax, dword [esp + ebp*4 + 0x2c]
inc ebp
cmp eax, 0x3f
mov dword [esp + 0x10], eax
jg 0x453e88
test eax, eax
jl 0x453b0e
mov ecx, dword [esp + 0x10]
mov edx, ebp
shl edx, 6
sub edx, ebp
inc ecx
lea eax, [esp + edx*8 + 0xc18]
mov edx, dword [eax]
add eax, 4
dec ecx
mov edx, dword [edx*4 + 0x4966ac]
mov dword [eax - 4], edx
jne 0x453afc
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jl 0x453b2b
mov eax, ebp
lea edi, [esp + 0x2c]
shl eax, 6
sub eax, ebp
lea esi, [esp + eax*8 + 0xc1c]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0xfe
mov eax, dword [esp + 0x10]
mov ecx, 1
cmp eax, ecx
mov edi, ecx
jl 0x453b9f
lea esi, [esp + 0x2c]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x453b74
add eax, ecx
mov ebx, 0xff
cdq
idiv ebx
mov dword [esi], edx
mov eax, dword [edx*4 + 0x4962ac]
mov edx, dword [esp + 0x1c]
xor edi, eax
mov eax, dword [esp + 0x10]
inc ecx
add esi, 4
cmp ecx, eax
jle 0x453b54
test edi, edi
jne 0x453b9f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x524], ecx
mov dword [esp + edx*4 + 0x428], eax
inc edx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ecx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jns 0x453b41
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x453e48
mov esi, 1
cmp eax, esi
jl 0x453cda
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + ebx + 0x624]
cmp eax, 0xffffffff
je 0x453c35
mov ecx, ebp
shl ecx, 6
sub ecx, ebp
lea edx, [esi + ecx*2]
mov ecx, dword [esp + edx*4 + 0xc18]
cmp ecx, 0xffffffff
je 0x453c0a
mov ecx, dword [ecx*4 + 0x4962ac]
mov edx, dword [eax*4 + 0x4962ac]
xor ecx, edx
mov dword [esp + ebx + 0x2c], ecx
jmp 0x453c60
cmp eax, 0xffffffff
je 0x453c35
mov edx, ebp
shl edx, 6
sub edx, ebp
lea ecx, [esi + edx*2]
cmp dword [esp + ecx*4 + 0xc18], 0xffffffff
jne 0x453c30
mov edx, dword [eax*4 + 0x4962ac]
mov dword [esp + ebx + 0x2c], edx
jmp 0x453c60
cmp eax, 0xffffffff
jne 0x453c58
mov eax, ebp
shl eax, 6
sub eax, ebp
lea ecx, [esi + eax*2]
mov eax, dword [esp + ecx*4 + 0xc18]
cmp eax, 0xffffffff
je 0x453c58
mov edx, dword [eax*4 + 0x4962ac]
mov dword [esp + ebx + 0x2c], edx
jmp 0x453c60
mov dword [esp + ebx + 0x2c], 0
test ebx, ebx
mov ecx, 1
jle 0x453cb7
lea edi, [esp + 0x624]
mov edx, dword [edi]
cmp edx, 0xffffffff
je 0x453caf
mov eax, ebp
shl eax, 6
sub eax, ebp
shl eax, 1
sub eax, ecx
add eax, esi
mov eax, dword [esp + eax*4 + 0xc18]
cmp eax, 0xffffffff
je 0x453caf
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + ebx + 0x2c]
mov edx, dword [edx*4 + 0x4962ac]
xor eax, edx
mov dword [esp + ebx + 0x2c], eax
inc ecx
add edi, 4
cmp ecx, esi
jl 0x453c70
mov eax, dword [esp + ebx + 0x2c]
inc esi
add ebx, 4
mov ecx, dword [eax*4 + 0x4966ac]
mov eax, dword [esp + 0x10]
mov dword [esp + ebx + 0x28], ecx
cmp esi, eax
mov dword [esp + 0x1c], ebx
jle 0x453bd2
mov edx, dword [esp + 0x1081c]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x81c]
rep stosd dword es:[edi], eax
mov ecx, 0xff
mov ax, word [edx]
cmp ax, 0xffff
je 0x453d0f
movsx eax, ax
mov ax, word [eax*4 + 0x4962ac]
mov word [edx], ax
jmp 0x453d14
mov word [edx], 0
add edx, 2
dec ecx
jne 0x453cf6
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jle 0x453e39
mov edi, eax
mov eax, dword [esp + ebx*4 + 0x428]
mov ecx, 1
cmp edi, ecx
lea ebp, [esp + eax*4 + 0x81c]
mov dword [esp + 0x24], ebp
mov dword [ebp], 1
jl 0x453d92
lea edx, [esp + 0x2c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x453d82
mov eax, dword [esp + ebx*4 + 0x524]
mov esi, 0xff
imul eax, ecx
add eax, edx
cdq
idiv esi
mov eax, dword [ebp]
mov edx, dword [edx*4 + 0x4962ac]
xor eax, edx
mov dword [ebp], eax
mov edx, dword [esp + 0x14]
inc ecx
add edx, 4
cmp ecx, edi
mov dword [esp + 0x14], edx
jle 0x453d54
mov eax, dword [ebp]
test eax, eax
je 0x453e30
mov eax, dword [eax*4 + 0x4966ac]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x1c], eax
test edi, edi
mov dword [ebp], eax
jle 0x453df2
lea edi, [esp + 0x428]
cmp esi, ebx
je 0x453de6
mov eax, dword [esp + ebx*4 + 0x524]
mov edx, dword [edi]
add eax, edx
mov ebp, 0xff
cdq
idiv ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [edx*4 + 0x4962ac]
xor eax, 1
add ecx, dword [eax*4 + 0x4966ac]
mov eax, dword [esp + 0x10]
inc esi
add edi, 4
cmp esi, eax
jl 0x453dba
mov eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
sub eax, edx
add eax, ecx
cdq
idiv ecx
mov eax, dword [esp + ebx*4 + 0x428]
mov ecx, dword [esp + 0x1081c]
mov edx, dword [edx*4 + 0x4962ac]
xor word [ecx + eax*2], dx
mov eax, dword [esp + 0x20]
inc eax
mov dword [ebp], edx
mov dword [esp + 0x20], eax
inc ebx
cmp ebx, edi
jl 0x453d2a
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10808
ret
mov eax, dword [esp + 0x1081c]
mov edx, 0xff
mov cx, word [eax]
cmp cx, 0xffff
je 0x453e6d
movsx ecx, cx
mov cx, word [ecx*4 + 0x4962ac]
mov word [eax], cx
jmp 0x453e72
mov word [eax], 0
add eax, 2
dec edx
jne 0x453e54
pop edi
pop esi
pop ebp
mov eax, 0xffff
pop ebx
add esp, 0x10808
ret
mov eax, dword [esp + 0x1081c]
mov edx, 0xff
mov cx, word [eax]
cmp cx, 0xffff
je 0x453ead
movsx ecx, cx
mov cx, word [ecx*4 + 0x4962ac]
mov word [eax], cx
jmp 0x453eb2
mov word [eax], 0
add eax, 2
dec edx
jne 0x453e94
pop edi
pop esi
pop ebp
mov eax, 0xffff
pop ebx
add esp, 0x10808
ret
mov eax, dword [esp + 0x1081c]
mov edx, 0xff
mov cx, word [eax]
cmp cx, 0xffff
je 0x453eed
movsx ecx, cx
mov cx, word [ecx*4 + 0x4962ac]
mov word [eax], cx
jmp 0x453ef0
mov word [eax], bp
add eax, 2
dec edx
jne 0x453ed4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10808
ret