Function at 0x495e30
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 0x73bbb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0x1e8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
push esi
push 2
mov dword [ebp - 0x7c], ecx
lea ecx, [ebx + 8]
push 0x759fb0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x60], esi
call fcn.00515060
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x495e9a
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
jmp 0x495f0b
mov edi, dword [ebx + 0xc]
lea edx, [ebx + 0xc]
add eax, 2
mov dword [ebp - 0x74], 0xffffffff
cmp edi, eax
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x64], 0
cmovb ecx, edx
lea eax, [ebp - 0x74]
lea edx, [ebp - 0x5c]
mov ecx, dword [ecx]
cmp ecx, 0xffffffff
mov dword [ebp - 0x5c], ecx
cmovae eax, edx
lea edx, [ebx + 0xc]
cmp edi, dword [eax]
cmovb eax, edx
mov edx, dword [ebx + 8]
add edx, ecx
mov dword [ebp - 0x84], edx
mov esi, dword [eax]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
sub esi, ecx
test eax, eax
mov dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x78]
cmove ecx, eax
lea eax, [ebx + 0xc]
cmp edi, dword [ecx]
cmovae eax, ecx
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ecx
cmp eax, 2
jne 0x4966a7
push eax
push 0x759fb4
push ecx
call fcn.00493370
add esp, 0xc
test eax, eax
jne 0x4966a7
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
push eax
push 0xffffffffffffffff
push 2
push 0x759fb0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x84]
call fcn.00515620
mov eax, dword [ebp - 0x6c]
mov edx, eax
mov ecx, dword [ebp - 0x70]
sub edx, ecx
cmp edx, 8
jb 0x496754
test dl, 0x18
jne 0x496754
xor edx, edx
sub eax, ecx
mov dword [ebp - 0x38], edx
sar eax, 3
cmp edx, eax
jae 0x49665d
shl edx, 3
or esi, 4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x2c], esi
mov eax, dword [edx + ecx]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test eax, eax
jne 0x495fc0
xor edi, edi
mov dword [ebp - 0x48], edi
jmp 0x495fd7
push dword [edx + ecx + 4]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
push eax
call fcn.00483e90
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x60], esi
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
cmovae eax, ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], ecx
cmp edi, 0x1c
jne 0x496107
mov edx, str.WebView2RuntimeInstaller.zip
mov dword [ebp - 0x1c], 0x18
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x496019
add eax, 4
add edx, 4
sub dword [ebp - 0x1c], 4
jae 0x496003
xor eax, eax
jmp 0x49603e
cmp cl, byte [edx]
jne 0x496039
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x496039
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x496039
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
jne 0x496039
xor eax, eax
jmp 0x49603e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x496107
call fcn.0056a5a0
test al, al
je 0x496107
cmp byte [0xa902b2], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x83f0d0]
mov dword [ebp - 0x3c], eax
je 0x49609c
cmp byte [0x8f028c], 0
je 0x49609c
test cl, cl
je 0x496084
cmp cl, 6
jb 0x496084
shr ecx, 8
cmp cl, 4
jae 0x4960a0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x49664c
jmp 0x496621
test cl, cl
je 0x496084
mov dword [ebp - 0x2c], 0x1173e0c
mov edx, dword [ebp - 0x2c]
mov esi, dword [0x83f0d0]
sub edx, 0xa19dfc
mov edi, dword [str.DesktopInstaller]
mov ecx, edx
mov dword [ebp - 0x28], esi
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4960c7
sub ecx, dword [ebp - 0x2c]
lea esi, [ebp - 0x170]
push 1
sub esp, 0x10
mov eax, esp
push ecx
push edx
push 4
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x28]
push edi
push esi
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00513f20
mov ecx, dword [ebp - 0x58]
add esp, 0x28
mov esi, dword [ebp - 0x60]
jmp 0x496087
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x38]
push 0xa
push 0
mov byte [ebp - 4], 4
push dword [eax + ecx*8 + 0x10]
call fcn.007110f0
mov ecx, edx
mov dword [ebp - 0x94], eax
add esp, 0xc
mov dword [ebp - 0x98], ecx
cmp ecx, 0x7fffffff
jb 0x496146
ja 0x4966e2
cmp eax, 0xffffffff
ja 0x4966e2
mov esi, dword [ebp - 0x7c]
push 0xa
push 0
add dword [esi + 0x3f8], eax
mov eax, dword [ebp - 0x70]
adc dword [esi + 0x3fc], ecx
mov ecx, dword [ebp - 0x38]
push dword [eax + ecx*8 + 0x18]
call fcn.007110f0
mov ecx, edx
mov dword [ebp - 0x9c], eax
add esp, 0xc
mov dword [ebp - 0x3c], ecx
cmp ecx, 0x7fffffff
jb 0x49618d
ja 0x4966e7
cmp eax, 0xffffffff
ja 0x4966e7
add dword [esi + 0x400], eax
mov edx, 0x811c9dc5
lea eax, [esi + 0x408]
mov dword [ebp - 4], 3
adc dword [esi + 0x404], ecx
cmp dword [ebp - 0x44], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
cmovae eax, esi
xor ecx, ecx
test edi, edi
je 0x4961d7
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4961c3
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x58]
push edx
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00487090
mov eax, dword [eax + 4]
test eax, eax
setne byte [ebp - 0x2d]
test eax, eax
je 0x496261
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, 0x811c9dc5
cmovae eax, esi
xor edx, edx
mov dword [ebp - 0x34], eax
test edi, edi
je 0x496226
mov esi, eax
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x496212
mov esi, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00487090
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x496740
add eax, 0x20
lea ecx, [ebp - 0xd8]
push eax
call fcn.0048f7c0
mov ecx, eax
mov eax, dword [ebp - 0x2c]
or eax, 1
jmp 0x49629d
push 0
push 0x759618
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
call fcn.00483f80
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb4]
or eax, 2
movups xmm0, xmmword [ecx]
xor edx, edx
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x150], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x140], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 8
test al, 2
je 0x49633b
mov edx, dword [ebp - 0xa0]
and eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x49631e
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x496311
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49674a
push edx
push ecx
call fcn.00512900
mov eax, dword [ebp - 0x1c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], cx
mov byte [ebp - 4], 9
test al, 1
je 0x4963a6
mov edx, dword [ebp - 0xc4]
and eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x496389
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49637f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49674a
push edx
push ecx
call fcn.00512900
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0x7c]
add eax, 0x35c
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x58]
cmovae eax, esi
mov dword [ebp - 0x34], eax
cmp edi, 0x10
jae 0x4963d9
movups xmm0, xmmword [eax]
mov dword [ebp - 0x124], 0xf
movups xmmword [ebp - 0x138], xmm0
jmp 0x496417
mov esi, edi
lea ecx, [ebp - 0x138]
or esi, 0xf
mov eax, bind
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00483da0
lea ecx, [edi + 1]
mov dword [ebp - 0x138], eax
push ecx
push dword [ebp - 0x34]
push eax
call fcn.00700d60
add esp, 0xc
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x128], edi
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x1c]
or esi, 8
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [edx + eax + 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
test ecx, ecx
je 0x496473
push dword [edx + eax + 0xc]
push ecx
lea ecx, [ebp - 0x120]
call fcn.00483e90
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x150]
push eax
mov byte [ebp - 4], 0xb
call fcn.0048f7c0
mov al, byte [ebp - 0x2d]
mov byte [ebp - 0xe0], al
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
cmp edi, 0x10
jae 0x4964ec
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1e4], 0xf
movups xmmword [ebp - 0x1f8], xmm0
jmp 0x49652d
mov esi, edi
lea ecx, [ebp - 0x1f8]
or esi, 0xf
mov eax, bind
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00483da0
lea ecx, [edi + 1]
mov dword [ebp - 0x1f8], eax
push ecx
push dword [ebp - 0x3c]
push eax
call fcn.00700d60
mov dword [ebp - 0x1e4], esi
add esp, 0xc
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x138]
mov dword [ebp - 0x1e8], edi
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0048fb10
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0xd
push eax
call fcn.004890f0
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xc
call fcn.00490380
mov edx, dword [ebp - 0x1e4]
cmp edx, 0x10
jb 0x4965a8
mov ecx, dword [ebp - 0x1f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49659e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49674f
push edx
push ecx
call fcn.00512900
add esp, 8
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
call fcn.00490380
mov edx, dword [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x496612
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x496608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49674f
push edx
push ecx
call fcn.00512900
add esp, 8
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x49664c
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x496642
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49674f
push edx
push ecx
call fcn.00512900
add esp, 8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x6c]
add edx, 4
mov ecx, dword [ebp - 0x70]
jmp 0x495f81
test ecx, ecx
je 0x496691
mov edx, dword [ebp - 0x68]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffff8
cmp edx, 0x1000
jb 0x496687
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49674f
push edx
push ecx
call fcn.00512900
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.Invalid_manifest_version
lea ecx, [ebp - 0x168]
call fcn.00480f10
sub esp, 0x74
mov dword [ebp - 4], 0
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call fcn.004bccb0
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcConfig.cpp
push 0x16a
push eax
call fcn.00486910
call fcn.00491e40
call fcn.00491e40
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
sub esp, 8
mov ecx, esp
push str.Invalid_manifest_file_size:_
call fcn.00486790
lea eax, [ebp - 0x168]
push eax
call fcn.00489580
sub esp, 0x64
mov byte [ebp - 4], 6
mov ecx, esp
push eax
call fcn.004bccb0
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcConfig.cpp
push 0x188
push eax
call fcn.00486910
push str.invalid_unordered_map_K__T__key
call fcn.006ea2ca
call fcn.0070b6e4
call fcn.0070b6e4
push str.Invalid_manifest_tuples
lea ecx, [ebp - 0x168]
call fcn.00480f10
sub esp, 0x74
mov byte [ebp - 4], 2
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call fcn.004bccb0
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcConfig.cpp
push 0x174
push eax
call fcn.00486910
int3