Function at 0x454070
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 0x597e7c
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10e8
call fcn.005810a0
mov eax, dword [0x5de00c]
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 0x4541c1
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x454146
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.0052d7ad
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 [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454190
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1078]
call fcn.004039f0
push edi
call fcn.0052d7a8
mov edi, dword [ebp - 0x1064]
add esp, 4
mov ecx, dword [ebp - 0x10f0]
lea edx, [ebp - 0x1048]
call fcn.004cbd00
mov ecx, dword [ebp - 0x10ec]
lea edx, [ebp - 0x1060]
call fcn.004cbd00
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.00454830
add esp, 8
cmp dword [ebp - 0x10e4], esi
jne 0x4544bd
cmp dword [ebp - 0x1034], 8
lea ecx, [ebp - 0x1048]
push 0
cmovae ecx, dword [ebp - 0x1048]
lea eax, [ebp - 0x1078]
push 0
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x10b8]
push eax
call fcn.004cb9c0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1084], 0
je 0x45460f
mov eax, dword [ebp - 0x1080]
test eax, eax
je 0x454268
mov eax, dword [eax + 4]
jmp 0x45426a
xor eax, eax
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10e4], eax
call fcn.0052d7ad
mov ecx, dword [ebp - 0x1080]
add esp, 4
mov edx, eax
mov dword [ebp - 0x10ec], edx
test ecx, ecx
je 0x454292
mov eax, dword [ecx + 4]
jmp 0x454294
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 sub.VCRUNTIME140.dll_memset
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 0x4542ed
mov al, byte [edx]
mov byte [ebp + esi - 0x1018], al
inc esi
mov byte [edi], al
and esi, 0xfff
inc edi
inc edx
jmp 0x45434b
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 0x45436b
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 0x454320
mov edx, dword [ebp - 0x10e8]
mov al, byte [ebp - 0x10d9]
shr al, 1
sub dword [ebp - 0x10f0], 1
mov byte [ebp - 0x10d9], al
jne 0x4542d3
jmp 0x4542c0
cmp dword [0x5e45d4], 0
mov edi, dword [ebp - 0x10e4]
jne 0x45440e
xor ecx, ecx
test edi, edi
jle 0x45440e
mov dl, byte [0x5e45bc]
cmp edi, 0x40
jb 0x454400
mov eax, edi
and eax, 0x8000003f
jns 0x4543a1
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 0x4543c2
cmp ecx, edi
jge 0x45440e
nop
mov eax, dword [ebp - 0x10ec]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, edi
jl 0x454400
lea eax, [ebp - 0x10f4]
mov dword [ebp - 0x10f4], 0
push eax
push 0
push edi
mov edi, dword [ebp - 0x10ec]
push edi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push edi
mov esi, eax
call fcn.0052d7a8
add esp, 4
test esi, esi
je 0x45460f
mov esi, dword [ebp - 0x10e0]
lea ecx, [ebp - 0x1048]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x454464
mov ecx, eax
call fcn.004037a0
add dword [esi + 4], 0x18
jmp 0x45446c
push eax
mov ecx, esi
call fcn.00403f90
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1080]
mov dword [ebp - method.CArchiveFile3.virtual_0], vtable.MyBinaryRead.0
test esi, esi
je 0x4544b2
cmp dword [esi + 4], 0
je 0x45449d
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [esi + 4], 0
push 8
push esi
call fcn.0052d747
add esp, 8
mov dword [ebp - 0x1080], 0
lea ecx, [ebp - 0x10b8]
call fcn.00407810
cmp dword [ebp - 0x104c], 8
lea edx, [ebp - 0x1060]
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0
cmovae 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 0x4544f4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1030]
call fcn.00403d10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 8
xorps xmm0, xmm0
mov esi, dword [0x5e477c]
cmovae eax, dword [ebp - 0x1030]
sub esp, 0x18
mov edi, dword [0x5e4778]
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 0x454564
sub ecx, dword [ebp - 0x10e0]
sar ecx, 1
push ecx
push dword [ebp - 0x10f4]
mov ecx, edx
call fcn.00403d10
push esi
push edi
lea ecx, [ebp - 0x10e0]
call fcn.00437980
mov eax, dword [ebp - 0x10e0]
add esp, 0x20
cmp eax, dword [0x5e477c]
jne 0x454677
push 0x5c
lea eax, [ebp - 0x10d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 8
cmovae eax, dword [ebp - 0x1030]
push eax
lea eax, [ebp - 0x10bc]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov al, byte [ebx + 0x14]
add esp, 0xc
mov byte [ebp - 0x10c1], al
mov eax, dword [0x5e477c]
cmp eax, dword [0x5e4780]
je 0x454665
mov ecx, 0x17
lea esi, [ebp - 0x10d8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [0x5e477c], 0x5c
jmp 0x454677
mov esi, dword [ebp - 0x1080]
mov dword [ebp - method.CArchiveFile3.virtual_0], vtable.MyBinaryRead.0
test esi, esi
je 0x454651
cmp dword [esi + 4], 0
je 0x45463c
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [esi + 4], 0
push 8
push esi
call fcn.0052d747
add esp, 8
mov dword [ebp - 0x1080], 0
lea ecx, [ebp - 0x10b8]
call fcn.00407810
mov byte [ebp - 0x10d9], 0
jmp 0x4546c0
lea ecx, [ebp - 0x10d8]
push ecx
push eax
mov ecx, 0x5e4778
call fcn.004379e0
mov ecx, dword [ebp - 0x101c]
cmp ecx, 8
jb 0x4546b9
mov edx, dword [ebp - 0x1030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4546af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4546af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov byte [ebp - 0x10d9], 1
lea ecx, [ebp - 0x1060]
call fcn.00403990
lea ecx, [ebp - 0x1048]
call fcn.00403990
lea ecx, [ebp - 0x1078]
call fcn.00403990
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.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10