Function at 0x407224
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x61c
lea ebp, [esp - 4]
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp + 0x61c], eax
push 0x1c
mov eax, 0x4f73f3
call fcn.004de80b
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
mov edi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x1c], edi
call esi
cmp dword [ebp + 0x628], ebx
je 0x407509
cmp dword [0x54cc4c], ebx
jne 0x407284
push ebx
call esi
push 0x54cc4c
push 1
push 4
push edi
push 0x5054c0
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov esi, 0x50d844
push 0x40
pop eax
cmp ax, word [esi + 4]
je 0x4074f5
mov eax, dword [esi]
cmp eax, 1
jne 0x4072a9
cmp dword [0x548460], ebx
je 0x4074f5
cmp eax, ebx
jne 0x4072b9
cmp dword [0x548460], ebx
jne 0x4074f5
xor eax, eax
push 0x208
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push ebx
push eax
call fcn.004dbcc0
mov eax, dword [0x545cc4]
mov ebx, 0x545cc4
add esp, 0xc
mov ecx, ebx
call dword [eax + 0xc]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
cmp eax, 9
ja case.default.0x4072fc
jmp dword [eax*4 + 0x407778]
push 0x507b1c
jmp 0x40737f
push str.hao123JuziBrowser
jmp 0x40737f
push dword [edi + 4]
jmp 0x40737f
push dword [edi + 8]
jmp 0x40737f
push str.hao123chprogid
jmp 0x40737f
mov eax, dword [edi + 4]
push 0x7ffffffe
mov ecx, 0x104
lea edx, [ebp + 0x410]
call fcn.00402ae0
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp + 0x410]
push eax
jmp 0x40737f
push dword [edi + 0xc]
jmp 0x40737f
push str.hao123
jmp 0x40737f
push str.hao123JuziBrowser
push str.SOFTWAREClientsStartMenuInternet_s.exeCapabilities
mov ecx, 0x104
lea edi, [ebp + 0x410]
call fcn.0040299a
pop ecx
pop ecx
jmp 0x407347
push str.open
lea eax, [ebp - 0x10]
push eax
call fcn.00406723
push dword [esi + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.00407c9b
mov byte [ebp - 4], 1
test byte [esi + 4], 0x20
je 0x4073c4
push str.hao123JuziBrowser
push str._APPLICATION_
lea eax, [ebp - 0x18]
push eax
call fcn.00407a7f
push str.hao123chprogid
push str._APPPROGID_
lea eax, [ebp - 0x18]
push eax
call fcn.00407a7f
mov eax, dword [0x545cc4]
mov ecx, ebx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
test byte [esi + 4], 0x10
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], 0x208
je 0x407439
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x10]
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x407439
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x410]
push edi
push eax
call fcn.004d5d48
pop ecx
pop ecx
test eax, eax
je 0x40743c
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406723
mov ebx, dword [ebp - 0x14]
jmp 0x40743c
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push dword [esi + 0x10]
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, 5
jne 0x407481
push dword [esi + 8]
mov ecx, dword [ebp - 0x18]
call fcn.00407026
pop ecx
test eax, eax
jne 0x407481
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push dword [esi + 0x10]
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebx - 0xc], 0
je 0x4074c3
movzx eax, word [esi - 4]
push eax
push 0x510678
mov ecx, 0x105
lea edi, [ebp + 0x410]
call fcn.0040299a
mov eax, dword [ebx - 0xc]
pop ecx
pop ecx
add eax, eax
push eax
push ebx
push 1
mov eax, edi
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [ebp - 0x10]
lea eax, [ebx - 0x10]
call fcn.00406ace
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00406ace
or dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
call fcn.00406ace
mov edi, dword [ebp - 0x1c]
jmp 0x4074f3
or dword [ebp - 4], 0xffffffff
lea eax, [ecx - 0x10]
call fcn.00406ace
xor ebx, ebx
add esi, 0x20
cmp esi, 0x50e344
jl 0x407289
jmp 0x407726
mov eax, dword [0x54cc4c]
cmp eax, ebx
je 0x40751f
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
mov dword [0x54cc4c], ebx
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.004dbcc0
call fcn.0043f82e
push eax
push str.__s_
mov esi, 0x104
lea eax, [ebp + 0x208]
push esi
push eax
call fcn.004d5add
xor eax, eax
push edi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.004dbcc0
call fcn.0043f82e
push eax
push str.__s___nohome
lea eax, [ebp]
push esi
push eax
call fcn.004d5add
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0x38
mov esi, 0x50d848
mov eax, dword [esi - 4]
cmp eax, 1
jne 0x4075a1
cmp dword [0x548460], 0
je 0x407715
test eax, eax
jne 0x4075b1
cmp dword [0x548460], eax
jne 0x407715
push dword [esi + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00407c9b
mov dword [ebp - 4], 3
test byte [esi], 0x60
je 0x4075ef
push str.hao123JuziBrowser
push str._APPLICATION_
lea eax, [ebp - 0x14]
push eax
call fcn.00407a7f
push str.hao123chprogid
push str._APPPROGID_
lea eax, [ebp - 0x14]
push eax
call fcn.00407a7f
movzx eax, word [esi]
test al, 0x40
je 0x40760e
push dword [ebp - 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [esi + 4]
call edi
push dword [ebp - 0x14]
push dword [esi + 4]
call edi
jmp 0x407621
test al, 0x20
je 0x407621
push dword [esi + 0xc]
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test byte [esi], 0x10
je 0x407706
mov eax, dword [0x545cc4]
mov ecx, 0x545cc4
call dword [eax + 0xc]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x14]
add eax, 0xfffffff7
cmp eax, 0xc
ja case.default.0x407650
jmp dword [eax*4 + 0x4077a0]
push str.open
jmp 0x4076b0
push str.htmlfile
jmp 0x4076b0
push str.IE.AssocFile.HTM
jmp 0x4076b0
push str.mhtmlfile
jmp 0x4076b0
push str.IE.AssocFile.MHT
jmp 0x4076b0
push str.xhtmlfile
jmp 0x4076b0
push str.xmlfile
jmp 0x4076b0
lea eax, [ebp]
push eax
jmp 0x4076b0
lea eax, [ebp + 0x208]
jmp 0x40768b
push str.Internet_Explorer
jmp 0x4076b0
push str.IE.HTTP
jmp 0x4076b0
push str.IE.HTTPS
jmp 0x4076b0
push str.__1____1_0____
lea eax, [ebp - 0x10]
push eax
call fcn.00406723
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push dword [esi + 0xc]
push dword [ebp - 0x14]
push dword [esi + 4]
call ebx
cmp eax, 5
jne 0x4076f9
push dword [esi + 4]
mov ecx, dword [ebp - 0x14]
call fcn.00407026
pop ecx
test eax, eax
jne 0x4076f9
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push dword [esi + 0xc]
push dword [ebp - 0x14]
push dword [esi + 4]
call ebx
lea eax, [edi - 0x10]
jmp 0x407701
lea eax, [ecx - 0x10]
call fcn.00406ace
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00406ace
add esi, 0x20
cmp esi, 0x50e348
jl 0x40758c
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
push 0xa
push 2
push ebx
push ebx
push 0x1a
push 0xffff
mov dword [ebp - 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x61c]
xor ecx, ebp
call fcn.004d5a7d
add ebp, 0x620
leave
ret 4