Function at 0x402780
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417b61
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x42100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xb9], cl
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 1
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x41e348
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00406490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 1
xor eax, eax
mov dword [ebp - 0x40], 0
push 0x41e348
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00406490
mov byte [ebp - 4], 2
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp - 0x30]
cmovae edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp + 0x18]
sub eax, ecx
mov dword [ebp - 0xc0], ecx
cmp edi, eax
ja 0x40286b
cmp dword [ebp - 0x2c], 8
lea eax, [ecx + edi]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x30], eax
cmovae esi, dword [ebp - 0x40]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call fcn.00408090
mov eax, dword [ebp - 0xc0]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x40]
jmp 0x402883
push edi
push edx
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0xc0]
push edi
call fcn.00405cc0
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x58]
call fcn.00405fc0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4028ff
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4028f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eff
push edx
push ecx
call fcn.00406bda
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40293d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402933
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eff
push edx
push ecx
call fcn.00406bda
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40298f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eff
push edx
push ecx
call fcn.00406bda
add esp, 8
mov edx, dword [0x4225ec]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4029c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00406490
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 1
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x41e34c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00406490
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.00405ba0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [ebp - 0xc0], ecx
cmp eax, 8
jb 0x402a6c
lea eax, [ecx + 8]
mov edi, esi
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x402a4a
mov edi, dword [esi]
push 0x10
lea eax, [edi + ecx*2]
push str.bgaupmi
push eax
call fcn.00408090
mov eax, dword [ebp - 0xc0]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2 + 0x10], cx
jmp 0x402a8b
push 8
push str.bgaupmi
mov byte [ebp - 0xc0], 0
mov ecx, esi
push dword [ebp - 0xc0]
push 8
call fcn.00405cc0
mov esi, eax
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xb8]
call fcn.00405fc0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405550
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x402b27
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f04
push edx
push ecx
call fcn.00406bda
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x402b6b
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f04
push edx
push ecx
call fcn.00406bda
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x402ba9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f04
push edx
push ecx
call fcn.00406bda
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x402bfb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f04
push edx
push ecx
call fcn.00406bda
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x402c50
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f04
push edx
push ecx
call fcn.00406bda
add esp, 8
mov eax, dword [ebp - 0x48]
mov edx, 0x41e350
cmp dword [ebp - 0x44], 8
push 0
push 1
lea ecx, [eax + eax]
push ecx
movzx ecx, byte [ebp - 0xb9]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
sub ecx, 0x7fffffff
push eax
push str._BingChatInstaller
call fcn.00403a90
add esp, 0x14
test eax, eax
je 0x402d02
mov cl, byte [ebp - 0xb9]
call fcn.00402f30
push ecx
mov esi, esp
mov dword [ebp - 0xc0], esi
call fcn.00401340
mov ecx, eax
test ecx, ecx
je 0x402f09
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, str.__d_Failed_to_Add_RunOnce_key
mov byte [ebp - 4], 0xc
mov ecx, esi
test eax, 0xffff0000
jne 0x402cd6
movzx eax, ax
push eax
call fcn.004057d0
jmp 0x402ce2
push 0x1d
push str.__d_Failed_to_Add_RunOnce_key
call fcn.00405990
mov edx, 0xc2a
mov byte [ebp - 4], 7
mov ecx, 0xcf
call fcn.004041d0
add esp, 4
mov esi, 0x3ec
jmp 0x402e5e
cmp byte [ebp - 0xb9], 0
je 0x402e5c
push 8
xor eax, eax
mov dword [ebp - 0x28], 0
push str.2.0.0.28
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00406490
mov byte [ebp - 4], 0xd
mov edx, str.SOFTWAREMicrosoftBingSvc
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push 0
push 1
lea ecx, [eax + eax]
push ecx
lea eax, [ebp - 0x28]
mov ecx, 0x80000002
cmovae eax, dword [ebp - 0x28]
push eax
push str.MUVersion
call fcn.00403a90
add esp, 0x14
test eax, eax
je 0x402e22
mov cl, byte [ebp - 0xb9]
call fcn.00402f30
push ecx
mov esi, esp
mov dword [ebp - 0xc0], esi
call fcn.00401340
mov ecx, eax
test ecx, ecx
je 0x402f13
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, str.__d_Failed_to_Add_MU_Version
mov byte [ebp - 4], 0xe
mov ecx, esi
test eax, 0xffff0000
jne 0x402dbf
movzx eax, ax
push eax
call fcn.004057d0
jmp 0x402dcb
push 0x1c
push str.__d_Failed_to_Add_MU_Version
call fcn.00405990
mov edx, 0xc2b
mov byte [ebp - 4], 0xd
mov ecx, 0xdd
call fcn.004041d0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x402e1b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f1d
push edx
push ecx
call fcn.00406bda
add esp, 8
mov esi, 0x3ed
jmp 0x402e5e
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402e5c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f1d
push edx
push ecx
call fcn.00406bda
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x402e98
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f22
push edx
push ecx
call fcn.00406bda
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x402ee2
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f22
push edx
push ecx
call fcn.00406bda
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406958
mov esp, ebp
pop ebp
ret
call fcn.00409e97
call fcn.00409e97
push 0x80004005
call fcn.00401170
push 0x80004005
call fcn.00401170
call fcn.00409e97
call fcn.00409e97
int3