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

Disassembly:
push 0xffffffffffffffff
push 0x580258
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x14]
push eax
push 0x5a7d70
push SysReAllocStringLen
call esi
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4b79f7
mov ecx, dword [esp + 0x14]
push 6
push 0x5a7e2c
push 1
push 0
push str.Check_Associations
push ecx
call ebp
mov edx, dword [esp + 0x14]
push 8
push 0x5a7df4
push 1
push 0
push str.ShowedCheckBrowser
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push 0x5a7d70
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4b7a40
mov edx, dword [esp + 0x14]
push 6
push 0x5a7e2c
push 1
push eax
push str.Check_Associations
push edx
call ebp
mov eax, dword [esp + 0x14]
push 8
push 0x5a7df4
push 1
push 0
push str.ShowedCheckBrowser
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4b7bb6
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b7a73
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 + 0x20], eax
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], 0
call fcn.00402390
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call fcn.00402310
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b7ac9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
push 0x5c
push esi
call fcn.0055238d
add esp, 8
test eax, eax
jne 0x4b7ae1
or eax, 0xffffffff
jmp 0x4b7ae5
sub eax, esi
sar eax, 1
add eax, 1
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040dce0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 2
call fcn.00402310
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b7b2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7b30
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push 0x592720
push edx
call ebp
mov esi, dword [esp + 0x20]
mov eax, esi
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4b7b60
sub eax, ecx
mov ecx, dword [esp + 0x14]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.Path
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebx
lea eax, [esi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b7bb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0x14]
push ecx
push str..htm
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7be8
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str..htm
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7c13
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
jmp 0x4b7c53
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..htm
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b7c5c
push 0x12
push str.htmlfile
push 1
push 0
push 0x592720
push eax
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push 0x59a830
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7c8e
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push 0x59a830
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7cb9
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
jmp 0x4b7cf9
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x59a830
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b7d02
push 0x12
push str.htmlfile
push 1
push 0
push 0x592720
push eax
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str..shtm
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7d4b
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
push str..shtm
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7d94
push 0x12
push str.htmlfile
push 1
push eax
mov eax, dword [esp + 0x24]
push 0x592720
push eax
call ebp
mov ecx, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
jmp 0x4b7df2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..shtm
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b7df4
push 0x12
push str.htmlfile
push 1
push 0
push 0x592720
push eax
call ebp
mov edx, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str..shtml
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7e3d
mov edx, dword [esp + 0x14]
push 0x12
push str.htmlfile
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
push str..shtml
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7e86
push 0x12
push str.htmlfile
push 1
push eax
mov eax, dword [esp + 0x24]
push 0x592720
push eax
call ebp
mov ecx, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
jmp 0x4b7ee4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..shtml
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b7ee6
push 0x12
push str.htmlfile
push 1
push 0
push 0x592720
push eax
call ebp
mov edx, dword [esp + 0x14]
push 0x14
push str.text_html
push 1
push 0
push str.Content_Type
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str.htmlfile_shell
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7f18
mov edx, dword [esp + 0x14]
push 0xa
push str.open
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x4c]
push edi
push SysReAllocStringLen
mov edx, str.htmlfile_shell
call fcn.004b6750
mov ecx, dword [esp + 0x54]
push edi
push SysReAllocStringLen
mov edx, str.htmlfile_shell
call fcn.004b6750
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push str..url
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7f75
mov edx, dword [esp + 0x14]
push 0x22
push str.InternetShortcut
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str..url
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b7fa0
mov edx, dword [esp + 0x14]
push 0x22
push str.InternetShortcut
push 1
push eax
push 0x592720
push edx
jmp 0x4b7fe0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..url
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b7fe9
push 0x22
push str.InternetShortcut
push 1
push 0
push 0x592720
push eax
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x4c]
push edi
push SysReAllocStringLen
mov edx, str.InternetShortcut_shell
call fcn.004b6750
mov ecx, dword [esp + 0x54]
push edi
push SysReAllocStringLen
mov edx, str.InternetShortcut_shell
call fcn.004b6750
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push str..mht
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b8046
mov edx, dword [esp + 0x14]
push 0x14
push str.mhtmlfile
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str..mht
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b8071
mov edx, dword [esp + 0x14]
push 0x14
push str.mhtmlfile
push 1
push eax
push 0x592720
push edx
jmp 0x4b80b1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..mht
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b80ba
push 0x14
push str.mhtmlfile
push 1
push 0
push 0x592720
push eax
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str..mhtml
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b80ec
mov edx, dword [esp + 0x14]
push 0x14
push str.mhtmlfile
push 1
push eax
push 0x592720
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str..mhtml
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4b8117
mov edx, dword [esp + 0x14]
push 0x14
push str.mhtmlfile
push 1
push eax
push 0x592720
push edx
jmp 0x4b8157
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..mhtml
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b8160
push 0x14
push str.mhtmlfile
push 1
push 0
push 0x592720
push eax
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x4c]
push edi
push SysReAllocStringLen
mov edx, str.mhtmlfile_shell
call fcn.004b6750
mov ecx, dword [esp + 0x54]
push edi
push SysReAllocStringLen
mov edx, str.mhtmlfile_shell
call fcn.004b6750
mov ecx, dword [esp + 0x5c]
push edi
push SysReAllocStringLen
mov edx, str.http_shell
call fcn.004b6750
mov ecx, dword [esp + 0x64]
push edi
push SysReAllocStringLen
mov edx, str.http_shell
call fcn.004b6750
mov ecx, dword [esp + 0x6c]
push edi
push SysReAllocStringLen
mov edx, str.https_shell
call fcn.004b6750
mov ecx, dword [esp + 0x74]
push edi
push SysReAllocStringLen
mov edx, str.https_shell
call fcn.004b6750
mov ecx, dword [esp + 0x7c]
push edi
push SysReAllocStringLen
mov edx, str.file_shell
call fcn.004b6750
mov ecx, dword [esp + 0x84]
push edi
push SysReAllocStringLen
mov edx, str.file_shell
call fcn.004b6750
add esp, 0x40
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4b838e
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b8239
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 + 0x24], eax
mov ecx, dword [esp + 0x50]
push 0
push ecx
xor ecx, ecx
lea edi, [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x4c], 3
call fcn.00460370
mov eax, dword [esp + 0x2c]
add esp, 8
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8270
mov edi, dword [esp + 0x24]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push edi
push 1
xor esi, esi
push esi
push 0x592720
push eax
call ebp
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
call esi
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4b8363
mov eax, dword [esp + 0x54]
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4b82d6
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x54]
push edx
push eax
push 1
push 0
push str.LocalizedString
push ecx
call ebp
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.shellopencommand
push eax
call esi
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4b8358
mov edi, dword [esp + 0x50]
mov eax, edi
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8330
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push 0x592720
push edx
call ebp
mov edx, dword [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x28]
push eax
call ebx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push ecx
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b838e
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.CLSID0002DF01_0000_0000_C000_000000000046LocalServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jne 0x4b83ef
mov eax, dword [esp + 0x50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b83b4
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x50]
push edx
push eax
push 1
push 0
push 0x592720
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x4b84ce
push str.CLSID
push SysReAllocStringLen
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.CLSID
push SysReAllocStringLen
call edi
mov edx, dword [esp + 0x2c]
push str.0002DF01_0000_0000_C000_000000000046
push edx
call esi
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.0002DF01_0000_0000_C000_000000000046
push edx
call edi
mov eax, dword [esp + 0x30]
push str.LocalServer32
push eax
call esi
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.LocalServer32
push eax
call edi
mov eax, dword [esp + 0x50]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8490
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x28]
push ecx
push edx
push 1
push 0
push 0x592720
push eax
call ebp
mov ecx, dword [esp + 0x28]
push ecx
call ebx
mov edx, dword [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x2c]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str.CLSID0002DF01_0000_0000_C000_000000000046LocalServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4b8523
mov eax, dword [esp + 0x50]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b84f0
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x50]
push edx
push eax
push 1
push 0
push 0x592720
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
jmp 0x4b85f3
push str.CLSID
push SysReAllocStringLen
call esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.CLSID
push SysReAllocStringLen
call edi
mov edx, dword [esp + 0x2c]
push str.0002DF01_0000_0000_C000_000000000046
push edx
call esi
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.0002DF01_0000_0000_C000_000000000046
push edx
call edi
mov eax, dword [esp + 0x30]
push str.LocalServer32
push eax
call esi
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.LocalServer32
push eax
call edi
mov eax, dword [esp + 0x50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b85b7
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x28]
push ecx
push edx
push 1
push 0
push 0x592720
push eax
call ebp
mov ecx, dword [esp + 0x28]
push ecx
call ebx
mov edx, dword [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x2c]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWARETencent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4b8687
mov edx, dword [esp + 0x14]
push str.Traveler
push edx
mov dword [esp + 0x38], eax
call esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Traveler
push edx
call edi
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4b8680
mov eax, dword [esp + 0x50]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8654
mov ecx, dword [esp + 0x50]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push 0
push 0x5b6e64
push edx
call ebp
mov edx, dword [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call ebx
call fcn.0045f4d0
cmp eax, 6
jl 0x4b8a74
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0x30]
push ecx
push str.SOFTWAREClasses
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4b86c6
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x30]
push edx
push str.Tango.AssocFile.HTM
call fcn.004b6ee0
add esp, 8
lea eax, [esp + 0x30]
push eax
push str.SOFTWAREClasses
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4b86f1
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x54]
push str.Tango.HTTP
call fcn.004b6ee0
add esp, 8
lea edx, [esp + 0x24]
push edx
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4b892a
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push eax
call edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b8923
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Capabilities
push eax
call edi
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4b891c
mov esi, dword [esp + 0x54]
mov eax, esi
lea ecx, [eax + 2]
mov dword [esp + 0x38], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8773
sub eax, dword [esp + 0x38]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.ApplicationDescription
push edx
call ebp
mov eax, esi
lea edx, [eax + 2]
jmp 0x4b87a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b87a0
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push str.ApplicationName
push edx
call ebp
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.FileAssociations
push edx
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b884f
push 0x28
push str.Tango.AssocFile.HTM
push 1
push 0
push str..htm
push eax
call ebp
mov eax, dword [esp + 0x1c]
push 0x28
push str.Tango.AssocFile.HTM
push 1
push 0
push 0x59a830
push eax
call ebp
mov ecx, dword [esp + 0x1c]
push 0x28
push str.Tango.AssocFile.HTM
push 1
push 0
push str..mht
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push 0x28
push str.Tango.AssocFile.HTM
push 1
push 0
push str..mhtml
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Startmenu
push eax
call edi
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4b889c
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.StartmenuInternet
push edx
call ebp
mov edx, dword [esp + 0x1c]
push edx
call ebx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.UrlAssociations
push edx
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b890f
push 0x16
push str.Tango.HTTP
push 1
push 0
push 0x59c0e0
push eax
call ebp
mov eax, dword [esp + 0x1c]
push 0x16
push str.Tango.HTTP
push 1
push 0
push 0x59c0c8
push eax
call ebp
mov ecx, dword [esp + 0x1c]
push 0x16
push str.Tango.HTTP
push 1
push 0
push str.https
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push edx
call ebx
mov eax, dword [esp + 0x20]
push eax
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, dword [esp + 0x34]
push ecx
call ebx
mov edx, dword [esp + 0x24]
push edx
call ebx
lea eax, [esp + 0x24]
push eax
push str.SOFTWARERegisteredApplications
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4b89b9
push str.SoftwareTangoBrowserCapabilities
lea ecx, [esp + 0x3c]
call fcn.00402390
mov dword [esp + 0x44], 4
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x24]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.Tango3
push edx
call ebp
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
call ebx
test esi, esi
je 0x4b8991
push 0
push 0
push 0x5b7048
call fcn.00539414
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b89b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Tango.AssocFile.HTM
mov ecx, str..htm
call fcn.004b7100
mov esi, eax
push str.Tango.AssocFile.HTM
mov ecx, 0x59a830
and esi, 1
call fcn.004b7100
push str.Tango.AssocFile.HTM
mov ecx, str..mht
and esi, eax
call fcn.004b7100
push str.Tango.AssocFile.HTM
mov ecx, str..mhtml
and esi, eax
call fcn.004b7100
push str.Tango.AssocFile.HTM
mov ecx, str..url
and esi, eax
call fcn.004b7100
push str.Tango.HTTP
push 0x59c0e0
and esi, eax
call fcn.004b73d0
push str.Tango.HTTP
push 0x59c0c8
and esi, eax
call fcn.004b73d0
push str.Tango.HTTP
push str.https
and esi, eax
call fcn.004b73d0
add esp, 0x2c
test esi, eax
jne 0x4b8a57
push 0
push 0
push 0x5b7088
call fcn.00539414
mov esi, dword [esp + 0x50]
push esi
mov ecx, str.IE.HTTP
call fcn.004b7700
push esi
mov ecx, str.IE.HTTPS
call fcn.004b7700
add esp, 8
push 1
call fcn.00540d1e
call fcn.0053e3f5
mov eax, dword [eax + 8]
push 0
push 0
push 0x5a5140
push eax
call fcn.0054147a
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret