Function at 0x498500
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 0x740239
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 0x75f158
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x60], esi
call fcn.00519560
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x49856a
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
jmp 0x4985db
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 0x498d77
push eax
push 0x75f15c
push ecx
call fcn.004959f0
add esp, 0xc
test eax, eax
jne 0x498d77
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
push eax
push 0xffffffffffffffff
push 2
push 0x75f158
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x84]
call fcn.00519b20
mov eax, dword [ebp - 0x6c]
mov edx, eax
mov ecx, dword [ebp - 0x70]
sub edx, ecx
cmp edx, 8
jb 0x498e24
test dl, 0x18
jne 0x498e24
xor edx, edx
sub eax, ecx
mov dword [ebp - 0x38], edx
sar eax, 3
cmp edx, eax
jae 0x498d2d
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 0x498690
xor edi, edi
mov dword [ebp - 0x48], edi
jmp 0x4986a7
push dword [edx + ecx + 4]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
push eax
call fcn.00486af0
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 0x4987d7
mov edx, str.WebView2RuntimeInstaller.zip
mov dword [ebp - 0x1c], 0x18
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x4986e9
add eax, 4
add edx, 4
sub dword [ebp - 0x1c], 4
jae 0x4986d3
xor eax, eax
jmp 0x49870e
cmp cl, byte [edx]
jne 0x498709
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x498709
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x498709
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
jne 0x498709
xor eax, eax
jmp 0x49870e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4987d7
call fcn.0056f160
test al, al
je 0x4987d7
cmp byte [0xa968b0], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x8450d0]
mov dword [ebp - 0x3c], eax
je 0x49876c
cmp byte [0x8f63f8], 0
je 0x49876c
test cl, cl
je 0x498754
cmp cl, 6
jb 0x498754
shr ecx, 8
cmp cl, 4
jae 0x498770
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x498d1c
jmp 0x498cf1
test cl, cl
je 0x498754
mov dword [ebp - 0x2c], 0x1293c38
mov edx, dword [ebp - 0x2c]
mov esi, dword [0x8450d0]
sub edx, 0xb34a80
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 0x498797
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.00518420
mov ecx, dword [ebp - 0x58]
add esp, 0x28
mov esi, dword [ebp - 0x60]
jmp 0x498757
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.00715536
mov ecx, edx
mov dword [ebp - 0x94], eax
add esp, 0xc
mov dword [ebp - 0x98], ecx
cmp ecx, 0x7fffffff
jb 0x498816
ja 0x498db2
cmp eax, 0xffffffff
ja 0x498db2
mov esi, dword [ebp - 0x7c]
push 0xa
push 0
add dword [esi + 0x3e8], eax
mov eax, dword [ebp - 0x70]
adc dword [esi + 0x3ec], ecx
mov ecx, dword [ebp - 0x38]
push dword [eax + ecx*8 + 0x18]
call fcn.00715536
mov ecx, edx
mov dword [ebp - 0x9c], eax
add esp, 0xc
mov dword [ebp - 0x3c], ecx
cmp ecx, 0x7fffffff
jb 0x49885d
ja 0x498db7
cmp eax, 0xffffffff
ja 0x498db7
add dword [esi + 0x3f0], eax
mov edx, 0x811c9dc5
lea eax, [esi + 0x3f8]
mov dword [ebp - 4], 3
adc dword [esi + 0x3f4], 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 0x4988a7
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x498893
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.00489ef0
mov eax, dword [eax + 4]
test eax, eax
setne byte [ebp - 0x2d]
test eax, eax
je 0x498931
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 0x4988f6
mov esi, eax
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x4988e2
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.00489ef0
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x498e10
add eax, 0x20
lea ecx, [ebp - 0xd8]
push eax
call fcn.00492550
mov ecx, eax
mov eax, dword [ebp - 0x2c]
or eax, 1
jmp 0x49896d
push 0
push 0x75e7c4
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
call fcn.00486be0
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 0x498a0b
mov edx, dword [ebp - 0xa0]
and eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x4989ee
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4989e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498e1a
push edx
push ecx
call fcn.00516d60
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 0x498a76
mov edx, dword [ebp - 0xc4]
and eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x498a59
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x498a4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498e1a
push edx
push ecx
call fcn.00516d60
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, 0x350
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 0x498aa9
movups xmm0, xmmword [eax]
mov dword [ebp - 0x124], 0xf
movups xmmword [ebp - 0x138], xmm0
jmp 0x498ae7
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.00486a30
lea ecx, [edi + 1]
mov dword [ebp - 0x138], eax
push ecx
push dword [ebp - 0x34]
push eax
call fcn.00704c30
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 0x498b43
push dword [edx + eax + 0xc]
push ecx
lea ecx, [ebp - 0x120]
call fcn.00486af0
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.00492550
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 0x498bbc
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1e4], 0xf
movups xmmword [ebp - 0x1f8], xmm0
jmp 0x498bfd
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.00486a30
lea ecx, [edi + 1]
mov dword [ebp - 0x1f8], eax
push ecx
push dword [ebp - 0x3c]
push eax
call fcn.00704c30
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.004928a0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0xd
push eax
call fcn.0048bd30
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xc
call fcn.004930a0
mov edx, dword [ebp - 0x1e4]
cmp edx, 0x10
jb 0x498c78
mov ecx, dword [ebp - 0x1f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x498c6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498e1f
push edx
push ecx
call fcn.00516d60
add esp, 8
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
call fcn.004930a0
mov edx, dword [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x498ce2
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x498cd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498e1f
push edx
push ecx
call fcn.00516d60
add esp, 8
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x498d1c
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x498d12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498e1f
push edx
push ecx
call fcn.00516d60
add esp, 8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x6c]
add edx, 4
mov ecx, dword [ebp - 0x70]
jmp 0x498651
test ecx, ecx
je 0x498d61
mov edx, dword [ebp - 0x68]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffff8
cmp edx, 0x1000
jb 0x498d57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498e1f
push edx
push ecx
call fcn.00516d60
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.00483930
sub esp, 0x74
mov dword [ebp - 4], 0
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call fcn.004bf980
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcConfig.cpp
push 0x16e
push eax
call fcn.00489770
call fcn.00494860
call fcn.00494860
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.004895f0
lea eax, [ebp - 0x168]
push eax
call fcn.0048c1c0
sub esp, 0x64
mov byte [ebp - 4], 6
mov ecx, esp
push eax
call fcn.004bf980
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcConfig.cpp
push 0x18c
push eax
call fcn.00489770
push str.invalid_unordered_map_K__T__key
call fcn.006ee19a
call fcn.0070f5b4
call fcn.0070f5b4
push str.Invalid_manifest_tuples
lea ecx, [ebp - 0x168]
call fcn.00483930
sub esp, 0x74
mov byte [ebp - 4], 2
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call fcn.004bf980
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcConfig.cpp
push 0x178
push eax
call fcn.00489770
int3