Function at 0x4b8d90
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x580208
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x14]
push eax
push 0x5a7d70
push SysReAllocStringLen
call ebx
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4b8e13
mov ecx, dword [esp + 0x14]
push 8
push 0x5a7df4
push 1
push 0
push str.Check_Associations
push ecx
call esi
mov edx, dword [esp + 0x14]
push 8
push 0x5a7df4
push 1
push 0
push str.ShowedCheckBrowser
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
push 0x5a7d70
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4b8e5c
mov edx, dword [esp + 0x14]
push 8
push 0x5a7df4
push 1
push eax
push str.Check_Associations
push edx
call esi
mov eax, dword [esp + 0x14]
push 8
push 0x5a7df4
push 1
push 0
push str.ShowedCheckBrowser
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4b8fd2
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b8e8f
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.00402390
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.00402310
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b8ee9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
push 0x5c
push ebp
call fcn.0055238d
add esp, 8
test eax, eax
jne 0x4b8f01
or eax, 0xffffffff
jmp 0x4b8f05
sub eax, ebp
sar eax, 1
add eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040dce0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.00402310
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b8f4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x34]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8f54
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push ebp
push 1
push 0
push 0x592720
push edx
call esi
mov ebp, dword [esp + 0x18]
mov eax, ebp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4b8f82
sub eax, ecx
mov ecx, dword [esp + 0x14]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ebp
push 1
push 0
push str.Path
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call edi
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b8fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push str..htm
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b9004
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
push 0x59a830
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b9036
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
push str..shtm
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b907f
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
call esi
mov eax, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
push str..shtml
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b90c8
push 0x12
push str.htmlfile
push 1
push eax
mov eax, dword [esp + 0x24]
push 0x592720
push eax
call esi
mov ecx, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call edi
lea eax, [esp + 0x14]
push eax
push str.htmlfile_shell
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b90fa
mov ecx, dword [esp + 0x14]
push 0xa
push str.open
push 1
push eax
push 0x592720
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call edi
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push ebp
mov edx, str.htmlfile_shell
call fcn.004b8be0
add esp, 4
lea eax, [esp + 0x14]
push eax
push str..url
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b9142
mov ecx, dword [esp + 0x14]
push 0x22
push str.InternetShortcut
push 1
push eax
push 0x592720
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call edi
mov ecx, dword [esp + 0x30]
push ebp
mov edx, str.InternetShortcut_shell
call fcn.004b8be0
add esp, 4
lea eax, [esp + 0x14]
push eax
push str..mht
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b9186
mov ecx, dword [esp + 0x14]
push 0x14
push str.mhtmlfile
push 1
push eax
push 0x592720
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call edi
lea eax, [esp + 0x14]
push eax
push str..mhtml
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b91b8
mov ecx, dword [esp + 0x14]
push 0x14
push str.mhtmlfile
push 1
push eax
push 0x592720
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call edi
mov ecx, dword [esp + 0x30]
push ebp
mov edx, str.mhtmlfile_shell
call fcn.004b8be0
mov ecx, dword [esp + 0x34]
push ebp
mov edx, str.http_shell
call fcn.004b8be0
mov ecx, dword [esp + 0x38]
push ebp
mov edx, str.https_shell
call fcn.004b8be0
mov ecx, dword [esp + 0x3c]
push ebp
mov edx, str.file_shell
call fcn.004b8be0
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4b9229
mov ecx, dword [esp + 0x14]
push 0x1a
push str.IEXPLORE.EXE
push 1
push eax
push 0x592720
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call edi
lea eax, [esp + 0x14]
push eax
push str.CLSID0002DF01_0000_0000_C000_000000000046LocalServer32
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4b926f
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b9243
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push ebp
push 1
push 0
push 0x592720
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call edi
call fcn.0045f4d0
cmp eax, 6
jl 0x4b92f4
push str.IE.AssocFile.HTM
mov ecx, str..htm
call fcn.004b7100
push str.IE.AssocFile.HTM
mov ecx, 0x59a830
call fcn.004b7100
push str.IE.AssocFile.MHT
mov ecx, str..mht
call fcn.004b7100
push str.IE.AssocFile.MHT
mov ecx, str..mhtml
call fcn.004b7100
push str.IE.AssocFile.URL
mov ecx, str..url
call fcn.004b7100
push str.IE.FTP
push 0x59c0e0
call fcn.004b73d0
push str.IE.HTTP
push 0x59c0c8
call fcn.004b73d0
push str.IE.HTTPS
push str.https
call fcn.004b73d0
add esp, 0x2c
push 0
push 0
push 1
push 0x5a5140
call fcn.00541617
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret