Function at 0x453d80
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 0x597fdc
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10e8
call fcn.00581220
mov eax, dword [0x5de040]
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 - 0x10e8], ecx
mov edx, dword [ebx + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebx + 8]
mov edi, 7
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10ec], edx
xor edx, edx
movups xmmword [ebp - 0x1078], xmm0
mov dword [ebp - 0x10e4], eax
mov dword [ebp - 0x10f0], ecx
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], edi
mov word [ebp - 0x1078], dx
mov dword [ebp - 4], edx
movups xmmword [ebp - 0x1048], xmm0
mov dword [ebp - 0x1038], edx
mov dword [ebp - 0x1034], edi
mov word [ebp - 0x1048], dx
movups xmmword [ebp - 0x1060], xmm0
mov dword [ebp - 0x1050], edx
mov dword [ebp - 0x104c], edi
mov word [ebp - 0x1060], dx
mov byte [ebp - 4], 2
test eax, eax
je 0x453ed1
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x453e56
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.0052d61d
add esp, 4
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push edi
push 0xffffffffffffffff
push dword [ebp - 0x10e4]
push 1
push 0x3a4
call dword [0x5a4204]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453ea0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1078]
call fcn.00403a80
push edi
call fcn.0052d618
mov edi, dword [ebp - 0x1064]
add esp, 4
mov ecx, dword [ebp - 0x10f0]
lea edx, [ebp - 0x1048]
call fcn.004cb5c0
mov ecx, dword [ebp - 0x10ec]
lea edx, [ebp - 0x1060]
call fcn.004cb5c0
mov eax, dword [ebp - 0x10e8]
lea edx, [ebp - 0x1048]
mov esi, dword [eax + 0x10]
lea ecx, [eax + 0xc]
push esi
push dword [eax + 0xc]
mov dword [ebp - 0x10e0], ecx
lea ecx, [ebp - 0x10e4]
call fcn.00454540
add esp, 8
cmp dword [ebp - 0x10e4], esi
jne 0x4541cd
cmp dword [ebp - 0x1034], 7
lea ecx, [ebp - 0x1048]
push 0
cmova ecx, dword [ebp - 0x1048]
lea eax, [ebp - 0x1078]
push 0
cmp edi, 7
push ecx
cmova eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x10b8]
push eax
call fcn.004cb280
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1084], 0
je 0x45431f
mov eax, dword [ebp - 0x1080]
test eax, eax
je 0x453f78
mov eax, dword [eax + 4]
jmp 0x453f7a
xor eax, eax
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10e4], eax
call fcn.0052d61d
mov ecx, dword [ebp - 0x1080]
add esp, 4
mov edx, eax
mov dword [ebp - 0x10ec], edx
test ecx, ecx
je 0x453fa2
mov eax, dword [ecx + 4]
jmp 0x453fa4
xor eax, eax
add eax, 4
mov esi, 1
push 0x1000
mov dword [ebp - 0x10e8], eax
mov edi, edx
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.00580daf
mov edx, dword [ebp - 0x10e8]
add esp, 0xc
mov al, byte [edx]
inc edx
mov byte [ebp - 0x10d9], al
mov dword [ebp - 0x10f0], 8
test al, 1
je 0x453ffd
mov al, byte [edx]
mov byte [ebp + esi - 0x1018], al
inc esi
mov byte [edi], al
and esi, 0xfff
inc edi
inc edx
jmp 0x45405b
mov al, byte [edx + 1]
shr al, 4
movzx ecx, al
movzx eax, byte [edx]
shl ax, 4
add cx, ax
mov al, byte [edx + 1]
movzx ecx, cx
add edx, 2
and al, 0xf
mov dword [ebp - 0x10e8], edx
test cx, cx
je 0x45407b
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 0x454030
mov edx, dword [ebp - 0x10e8]
mov al, byte [ebp - 0x10d9]
shr al, 1
sub dword [ebp - 0x10f0], 1
mov byte [ebp - 0x10d9], al
jne 0x453fe3
jmp 0x453fd0
cmp dword [0x5e43d4], 0
mov edi, dword [ebp - 0x10e4]
jne 0x45411e
xor ecx, ecx
test edi, edi
jle 0x45411e
mov dl, byte [0x5e43bc]
cmp edi, 0x40
jb 0x454110
mov eax, edi
and eax, 0x8000003f
jns 0x4540b1
dec eax
or eax, 0xffffffc0
inc eax
mov esi, edi
sub esi, eax
movsx eax, dl
movd xmm0, eax
mov eax, dword [ebp - 0x10ec]
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
xorps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
xorps xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
xorps xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
xorps xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, esi
jl 0x4540d2
cmp ecx, edi
jge 0x45411e
nop
mov eax, dword [ebp - 0x10ec]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, edi
jl 0x454110
lea eax, [ebp - 0x10f4]
mov dword [ebp - 0x10f4], 0
push eax
push 0
push edi
mov edi, dword [ebp - 0x10ec]
push edi
call dword [0x5a408c]
push edi
mov esi, eax
call fcn.0052d618
add esp, 4
test esi, esi
je 0x45431f
mov esi, dword [ebp - 0x10e0]
lea ecx, [ebp - 0x1048]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x454174
mov ecx, eax
call fcn.00403830
add dword [esi + 4], 0x18
jmp 0x45417c
push eax
mov ecx, esi
call fcn.00403f00
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1080]
mov dword [ebp - method.CArchiveFile3.virtual_0], vtable.MyBinaryRead.0
test esi, esi
je 0x4541c2
cmp dword [esi + 4], 0
je 0x4541ad
push dword [esi + 4]
call dword [0x5a46f8]
add esp, 4
mov dword [esi + 4], 0
push 8
push esi
call fcn.0052d5b7
add esp, 8
mov dword [ebp - 0x1080], 0
lea ecx, [ebp - 0x10b8]
call fcn.004079f0
cmp dword [ebp - 0x104c], 7
lea edx, [ebp - 0x1060]
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0
cmova edx, dword [ebp - 0x1060]
mov ecx, edx
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x1030], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454204
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1030]
call fcn.00403ce0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 7
xorps xmm0, xmm0
mov esi, dword [0x5e457c]
cmova eax, dword [ebp - 0x1030]
sub esp, 0x18
mov edi, dword [0x5e4578]
mov edx, esp
mov ecx, eax
mov dword [ebp - 0x10e0], edx
mov dword [ebp - 0x10f4], eax
movups xmmword [edx], xmm0
lea eax, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x10e0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454274
sub ecx, dword [ebp - 0x10e0]
sar ecx, 1
push ecx
push dword [ebp - 0x10f4]
mov ecx, edx
call fcn.00403ce0
push esi
push edi
lea ecx, [ebp - 0x10e0]
call fcn.004376f0
mov eax, dword [ebp - 0x10e0]
add esp, 0x20
cmp eax, dword [0x5e457c]
jne 0x454387
push 0x5c
lea eax, [ebp - 0x10d8]
push 0
push eax
call fcn.00580daf
add esp, 0xc
lea eax, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 7
cmova eax, dword [ebp - 0x1030]
push eax
lea eax, [ebp - 0x10bc]
push 0x20
push eax
call dword [0x5a48d4]
mov al, byte [ebx + 0x14]
add esp, 0xc
mov byte [ebp - 0x10c1], al
mov eax, dword [0x5e457c]
cmp eax, dword [0x5e4580]
je 0x454375
mov ecx, 0x17
lea esi, [ebp - 0x10d8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [0x5e457c], 0x5c
jmp 0x454387
mov esi, dword [ebp - 0x1080]
mov dword [ebp - method.CArchiveFile3.virtual_0], vtable.MyBinaryRead.0
test esi, esi
je 0x454361
cmp dword [esi + 4], 0
je 0x45434c
push dword [esi + 4]
call dword [0x5a46f8]
add esp, 4
mov dword [esi + 4], 0
push 8
push esi
call fcn.0052d5b7
add esp, 8
mov dword [ebp - 0x1080], 0
lea ecx, [ebp - 0x10b8]
call fcn.004079f0
mov byte [ebp - 0x10d9], 0
jmp 0x4543d0
lea ecx, [ebp - 0x10d8]
push ecx
push eax
mov ecx, 0x5e4578
call fcn.00437750
mov ecx, dword [ebp - 0x101c]
cmp ecx, 7
jbe 0x4543c9
mov edx, dword [ebp - 0x1030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4543bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4543bf
call dword [0x5a47c4]
push ecx
push edx
call fcn.0052d5b7
add esp, 8
mov byte [ebp - 0x10d9], 1
lea ecx, [ebp - 0x1060]
call fcn.00403a20
lea ecx, [ebp - 0x1048]
call fcn.00403a20
lea ecx, [ebp - 0x1078]
call fcn.00403a20
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.0052d235
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10