Function at 0x454210
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599e0c
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10e8
call fcn.00583080
mov eax, dword [0x5e000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10f4], ecx
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x10e8], ecx
xor ecx, ecx
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0x10ec], eax
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 7
mov word [ebp - 0x1078], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], cx
mov dword [ebp - 0x1060], ecx
mov dword [ebp - 0x1050], ecx
mov dword [ebp - 0x104c], 7
mov word [ebp - 0x1060], cx
mov byte [ebp - 4], 2
test edi, edi
je 0x45435b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4542e1
sub esi, ecx
mov edx, 2
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052f8ad
add esp, 4
mov dword [ebp - 0x10e4], eax
lea ecx, [esi*2 + 2]
mov esi, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push 0x3a4
call dword [0x5a6204]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454330
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1078]
call fcn.004039b0
push esi
call fcn.0052f8a8
mov eax, dword [ebp - 0x10ec]
add esp, 4
lea edx, [ebp - 0x1030]
mov ecx, eax
call fcn.004cdd40
mov ecx, dword [ebp - 0x10e8]
lea edx, [ebp - 0x1060]
call fcn.004cdd40
mov ecx, dword [ebp - 0x10f4]
mov eax, dword [ebp - 0x1030]
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0xc]
cmp edi, esi
je 0x4543eb
cmp dword [ebp - 0x101c], 8
setae byte [ebp - 0x10d9]
nop dword [eax]
cmp byte [ebp - 0x10d9], 0
lea edx, [ebp - 0x1030]
mov ecx, edi
cmovne edx, eax
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x4543bd
mov ecx, dword [edi]
cmp eax, dword [ebp - 0x1020]
jne 0x4543d2
push eax
call fcn.004067b0
add esp, 4
test eax, eax
je 0x4543df
mov eax, dword [ebp - 0x1030]
add edi, 0x18
cmp edi, esi
jne 0x4543a0
mov eax, dword [ebp - 0x1030]
mov ecx, dword [ebp - 0x10f4]
cmp edi, dword [ecx + 0x10]
jne 0x4546ad
cmp dword [ebp - 0x101c], 8
lea ecx, [ebp - 0x1030]
push 0
cmovae ecx, eax
lea eax, [ebp - 0x1078]
cmp dword [ebp - 0x1064], 8
push 0
cmovae eax, dword [ebp - 0x1078]
push ecx
push eax
lea ecx, [ebp - 0x10b8]
call fcn.004cda00
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1084], 0
je 0x454810
mov eax, dword [ebp - 0x1080]
test eax, eax
je 0x454449
mov eax, dword [eax + 4]
jmp 0x45444b
xor eax, eax
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10e4], eax
call fcn.0052f8ad
mov ecx, dword [ebp - 0x1080]
add esp, 4
mov edx, eax
mov dword [ebp - 0x10e8], edx
test ecx, ecx
je 0x454473
mov eax, dword [ecx + 4]
jmp 0x454475
xor eax, eax
add eax, 4
mov esi, 1
push 0x1000
mov dword [ebp - 0x10f0], eax
mov edi, edx
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.00582b3f
mov edx, dword [ebp - 0x10f0]
add esp, 0xc
mov al, byte [edx]
inc edx
mov byte [ebp - 0x10d9], al
mov dword [ebp - 0x10ec], 8
test al, 1
je 0x4544ce
mov al, byte [edx]
mov byte [ebp + esi - 0x1018], al
inc esi
mov byte [edi], al
and esi, 0xfff
inc edi
inc edx
jmp 0x45452b
mov al, byte [edx + 1]
movzx ecx, byte [edx]
shr al, 4
shl cx, 4
movzx eax, al
add cx, ax
mov al, byte [edx + 1]
movzx ecx, cx
add edx, 2
and al, 0xf
mov dword [ebp - 0x10f0], edx
test cx, cx
je 0x45454b
movzx edx, al
add edx, 2
nop dword [eax]
mov eax, ecx
inc ecx
and eax, 0xfff
mov al, byte [ebp + eax - 0x1018]
mov byte [ebp + esi - 0x1018], al
inc esi
mov byte [edi], al
and esi, 0xfff
inc edi
sub edx, 1
jne 0x454500
mov edx, dword [ebp - 0x10f0]
mov al, byte [ebp - 0x10d9]
shr al, 1
sub dword [ebp - 0x10ec], 1
mov byte [ebp - 0x10d9], al
jne 0x4544b4
jmp 0x4544a1
cmp dword [0x5e654c], 0
mov edi, dword [ebp - 0x10e4]
jne 0x4545fe
xor ecx, ecx
test edi, edi
jle 0x4545fe
mov dl, byte [0x5e6550]
cmp edi, 0x40
jb 0x4545f0
mov eax, edi
and eax, 0x8000003f
jns 0x454585
dec eax
or eax, 0xffffffc0
inc eax
mov esi, edi
sub esi, eax
movsx eax, dl
movd xmm0, eax
mov eax, dword [ebp - 0x10e8]
punpcklbw xmm0, xmm0
add eax, 0x20
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x40
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, esi
jl 0x4545a6
cmp ecx, edi
jge 0x4545fe
nop dword [eax]
mov eax, dword [ebp - 0x10e8]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, edi
jl 0x4545f0
lea eax, [ebp - 0x10e0]
mov dword [ebp - 0x10e0], 0
push eax
push 0
push edi
mov edi, dword [ebp - 0x10e8]
push edi
call dword [0x5a6088]
push edi
mov esi, eax
call fcn.0052f8a8
add esp, 4
test esi, esi
je 0x454810
mov esi, dword [ebp - 0x10f4]
lea ecx, [ebp - 0x1030]
push ecx
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x454654
mov ecx, eax
call fcn.004037a0
add dword [esi + 0x10], 0x18
jmp 0x45465d
push eax
lea ecx, [esi + 0xc]
call fcn.00403d90
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1080]
mov dword [ebp - method.CArchiveFile3.virtual_0], vtable.MyBinaryRead.0
test esi, esi
je 0x4546a2
mov eax, dword [esi + 4]
test eax, eax
je 0x45468d
push eax
call dword [0x5a66ec]
add esp, 4
mov dword [esi + 4], 0
push 8
push esi
call fcn.0052f847
add esp, 8
mov dword [ebp - 0x1080], 0
lea ecx, [ebp - 0x10b8]
call fcn.004074c0
cmp dword [ebp - 0x104c], 8
lea edx, [ebp - 0x1060]
mov dword [ebp - 0x1048], 0
cmovae edx, dword [ebp - 0x1060]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 7
mov word [ebp - 0x1048], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4546f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1048]
call fcn.004039b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1048]
cmp dword [ebp - 0x1034], 8
mov esi, dword [0x5e6640]
cmovae eax, dword [ebp - 0x1048]
sub esp, 0x18
mov edi, dword [0x5e663c]
mov edx, esp
mov dword [ebp - 0x10e0], edx
xor ecx, ecx
mov dword [ebp - 0x10e4], eax
mov dword [edx], 0
mov word [edx], cx
mov ecx, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x10e0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454765
sub ecx, dword [ebp - 0x10e0]
sar ecx, 1
push ecx
push dword [ebp - 0x10e4]
mov ecx, edx
call fcn.004039b0
push esi
push edi
lea ecx, [ebp - 0x10e0]
call fcn.00437f10
mov eax, dword [ebp - 0x10e0]
add esp, 0x20
cmp eax, dword [0x5e6640]
jne 0x454877
push 0x5c
lea eax, [ebp - 0x10d8]
push 0
push eax
call fcn.00582b3f
add esp, 0xc
lea eax, [ebp - 0x1048]
cmp dword [ebp - 0x1034], 8
cmovae eax, dword [ebp - 0x1048]
push eax
lea eax, [ebp - 0x10bc]
push 0x20
push eax
call dword [0x5a68dc]
mov al, byte [ebx + 0x14]
add esp, 0xc
mov byte [ebp - 0x10c1], al
mov eax, dword [0x5e6640]
cmp eax, dword [0x5e6644]
je 0x454865
mov ecx, 0x17
lea esi, [ebp - 0x10d8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [0x5e6640], 0x5c
jmp 0x454877
mov esi, dword [ebp - 0x1080]
mov dword [ebp - method.CArchiveFile3.virtual_0], vtable.MyBinaryRead.0
test esi, esi
je 0x454851
mov eax, dword [esi + 4]
test eax, eax
je 0x45483c
push eax
call dword [0x5a66ec]
add esp, 4
mov dword [esi + 4], 0
push 8
push esi
call fcn.0052f847
add esp, 8
mov dword [ebp - 0x1080], 0
lea ecx, [ebp - 0x10b8]
call fcn.004074c0
mov byte [ebp - 0x10d9], 0
jmp 0x4548c0
lea ecx, [ebp - 0x10d8]
push ecx
push eax
mov ecx, 0x5e663c
call fcn.00437d60
mov edx, dword [ebp - 0x1034]
cmp edx, 8
jb 0x4548b9
mov ecx, dword [ebp - 0x1048]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4548af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4548af
call dword [0x5a67b8]
push edx
push ecx
call fcn.0052f847
add esp, 8
mov byte [ebp - 0x10d9], 1
mov edx, dword [ebp - 0x104c]
mov esi, dword [ebp - 0x1030]
cmp edx, 8
jb 0x454906
mov ecx, dword [ebp - 0x1060]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4548fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45496e
push edx
push ecx
call fcn.0052f847
add esp, 8
mov eax, dword [ebp - 0x101c]
cmp eax, 8
jb 0x45493c
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x454932
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45496e
push ecx
push esi
call fcn.0052f847
add esp, 8
mov edx, dword [ebp - 0x1064]
cmp edx, 8
jb 0x45497e
mov ecx, dword [ebp - 0x1078]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454974
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x454974
call dword [0x5a67b8]
push edx
push ecx
call fcn.0052f847
add esp, 8
mov al, byte [ebp - 0x10d9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052f4c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10