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

Disassembly:
mov eax, 0x522f32
call fcn.004f70e4
sub esp, 0xb0
push ebx
push esi
mov ecx, 0x562275
mov dword [ebp - 4], 2
call fcn.004f6dfd
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004043f2
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x74]
call fcn.004043f2
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x5c]
call fcn.004043f2
xor esi, esi
mov byte [ebp - 4], 5
push str.Application
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x10], esi
call fcn.00408e35
mov ecx, eax
call fcn.004033dd
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 0x408280
push edi
push str.GPT_Chrome
lea ecx, [ebp - 0x2c]
call fcn.004041e9
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push str.The
push eax
call fcn.00404891
push str._Authors
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.00404829
add esp, 0x18
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
lea ecx, [ecx - 0x10]
call fcn.00405e10
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 0x529d00
lea ecx, [ebp - 0x1c]
call fcn.004041e9
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.004033dd
mov esi, eax
xor edx, edx
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
cmp cx, dx
jne 0x408081
sub esi, eax
lea ecx, [ebp + 8]
sar esi, 1
call fcn.004033dd
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.004041e9
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.004041e9
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 0x529db0
lea ecx, [ebp - 0x74]
call fcn.00408e35
mov ecx, eax
call fcn.004033dd
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 0x408253
lea ecx, [ebp + 8]
call fcn.004033dd
mov esi, eax
xor edx, edx
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
cmp cx, dx
jne 0x40814e
sub esi, eax
lea ecx, [ebp + 8]
sar esi, 1
call fcn.004033dd
lea ecx, [esi*2 + 2]
xor esi, esi
push ecx
push eax
push 1
push esi
push 0x529990
push dword [ebp - 0x10]
call edi
push str._shellopencommand
lea ecx, [ebp - 0x5c]
call fcn.00408e35
mov ecx, eax
call fcn.004033dd
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 0x408253
lea eax, [ebp + 0x38]
mov esi, 0x529b44
push eax
lea eax, [ebp - 0xbc]
push esi
push eax
call fcn.0040367f
push esi
push eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
push eax
call fcn.00403658
push str.___single_argument__1
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xf
push eax
call fcn.00403658
add esp, 0x24
lea ecx, [ebp - 0xa4]
call fcn.004033fb
lea ecx, [ebp - 0xbc]
call fcn.004033fb
lea ecx, [ebp - 0x44]
call fcn.004033dd
mov esi, eax
xor ebx, ebx
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
cmp cx, bx
jne 0x408215
sub esi, eax
lea ecx, [ebp - 0x44]
sar esi, 1
call fcn.004033dd
lea ecx, [esi*2 + 2]
push ecx
push eax
push 1
push ebx
push 0x529990
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x44]
call fcn.004033fb
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00405e10
pop edi
lea ecx, [ebp - 0x5c]
call fcn.004033fb
lea ecx, [ebp - 0x74]
call fcn.004033fb
lea ecx, [ebp - 0x8c]
call fcn.004033fb
lea ecx, [ebp + 8]
call fcn.004033fb
lea ecx, [ebp + 0x20]
call fcn.004033fb
lea ecx, [ebp + 0x38]
call fcn.004033fb
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret