Function at 0x407e19
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov eax, 0x4e0336
call fcn.004b1eac
sub esp, 0xb0
push ebx
push esi
mov ecx, 0x51c275
mov dword [ebp - 4], 2
call fcn.004b1bc6
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004042d2
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x74]
call fcn.004042d2
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x5c]
call fcn.004042d2
xor esi, esi
mov byte [ebp - 4], 5
push str.Application
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x10], esi
call fcn.00408d15
mov ecx, eax
call fcn.004032bd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push connect
call ebx
test eax, eax
jne 0x408160
push edi
push str.GPT_Chrome
lea ecx, [ebp - 0x2c]
call fcn.004040c9
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push str.The
push eax
call fcn.00404771
push str._Authors
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.00404709
add esp, 0x18
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push esi
push str.ApplicationCompany
push dword [ebp - 0x10]
call edi
push 0x4e5d00
lea ecx, [ebp - 0x1c]
call fcn.004040c9
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push esi
push str.ApplicationDescription
push dword [ebp - 0x10]
call edi
lea ecx, [ebp + 8]
call fcn.004032bd
mov esi, eax
xor edx, edx
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
cmp cx, dx
jne 0x407f61
sub esi, eax
lea ecx, [ebp + 8]
sar esi, 1
call fcn.004032bd
lea ecx, [esi*2 + 2]
xor esi, esi
push ecx
push eax
push 1
push esi
push str.ApplicationIcon
push dword [ebp - 0x10]
call edi
push str.GPT_Chrome
lea ecx, [ebp - 0x18]
call fcn.004040c9
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push esi
push str.ApplicationName
push dword [ebp - 0x10]
call edi
push str.TSBrowser
lea ecx, [ebp - 0x14]
call fcn.004040c9
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push esi
push str.AppUserModelId
push dword [ebp - 0x10]
call edi
push 0x4e5db0
lea ecx, [ebp - 0x74]
call fcn.00408d15
mov ecx, eax
call fcn.004032bd
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push connect
call ebx
test eax, eax
jne 0x408133
lea ecx, [ebp + 8]
call fcn.004032bd
mov esi, eax
xor edx, edx
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
cmp cx, dx
jne 0x40802e
sub esi, eax
lea ecx, [ebp + 8]
sar esi, 1
call fcn.004032bd
lea ecx, [esi*2 + 2]
xor esi, esi
push ecx
push eax
push 1
push esi
push 0x4e5990
push dword [ebp - 0x10]
call edi
push str._shellopencommand
lea ecx, [ebp - 0x5c]
call fcn.00408d15
mov ecx, eax
call fcn.004032bd
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push connect
call ebx
test eax, eax
jne 0x408133
lea eax, [ebp + 0x38]
mov esi, 0x4e5b44
push eax
lea eax, [ebp - 0xbc]
push esi
push eax
call fcn.0040355f
push esi
push eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
push eax
call fcn.00403538
push str.___single_argument__1
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xf
push eax
call fcn.00403538
add esp, 0x24
lea ecx, [ebp - 0xa4]
call fcn.004032db
lea ecx, [ebp - 0xbc]
call fcn.004032db
lea ecx, [ebp - 0x44]
call fcn.004032bd
mov esi, eax
xor ebx, ebx
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
cmp cx, bx
jne 0x4080f5
sub esi, eax
lea ecx, [ebp - 0x44]
sar esi, 1
call fcn.004032bd
lea ecx, [esi*2 + 2]
push ecx
push eax
push 1
push ebx
push 0x4e5990
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x44]
call fcn.004032db
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
pop edi
lea ecx, [ebp - 0x5c]
call fcn.004032db
lea ecx, [ebp - 0x74]
call fcn.004032db
lea ecx, [ebp - 0x8c]
call fcn.004032db
lea ecx, [ebp + 8]
call fcn.004032db
lea ecx, [ebp + 0x20]
call fcn.004032db
lea ecx, [ebp + 0x38]
call fcn.004032db
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret