Function at 0x443e10
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1074
call fcn.0042a4c0
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x630]
push eax
push 0x2001f
push 0
push str.Tencent
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc54], eax
cmp dword [ebp - 0xc54], 0
je 0x443e76
lea ecx, [ebp - 0x630]
push ecx
push str.Tencent
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x443e76
xor eax, eax
jmp 0x444365
mov word [ebp - 0xa48], 0
push 0x206
push 0
lea edx, [ebp - 0xa46]
push edx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0xc50], 0
push 0x206
push 0
lea eax, [ebp - 0xc4e]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0xe64], 0x104
push str.Timwp.exe
push 0x4880d0
push 0x477150
push 0x208
push 0x104
lea ecx, [ebp - 0xa48]
push ecx
call fcn.004157ac
add esp, 0x18
lea edx, [ebp - 0xe64]
push edx
lea eax, [ebp - 0xc50]
push eax
lea ecx, [ebp - 0x41c]
push ecx
push 0
push str.URL_Protocol
mov edx, dword [ebp - 0x630]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x443f40
cmp dword [ebp - 0x41c], 1
jne 0x443f40
lea eax, [ebp - 0xc50]
push eax
lea ecx, [ebp - 0xa48]
push ecx
call fcn.004160f0
add esp, 8
test eax, eax
je 0x443f92
lea edx, [ebp - 0xa48]
push edx
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
lea eax, [ebp - 0xa48]
push eax
push 1
push 0
push str.URL_Protocol
mov ecx, dword [ebp - 0x630]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc54], eax
cmp dword [ebp - 0xc54], 0
je 0x443f92
mov edx, dword [ebp - 0x630]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x444365
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00415680
add esp, 0xc
mov word [ebp - 0xe60], 0
push 0x206
push 0
lea ecx, [ebp - 0xe5e]
push ecx
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0xe64], 0x104
lea edx, [ebp - 0xe64]
push edx
lea eax, [ebp - 0xe60]
push eax
lea ecx, [ebp - 0x41c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x630]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44402f
cmp dword [ebp - 0x41c], 1
jne 0x44402f
push str.TencentProtocol
lea eax, [ebp - 0xe60]
push eax
call fcn.004160f0
add esp, 8
test eax, eax
je 0x44407a
push str.TencentProtocol
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
push str.TencentProtocol
push 1
push 0
push 0
mov ecx, dword [ebp - 0x630]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc54], eax
cmp dword [ebp - 0xc54], 0
je 0x44407a
mov edx, dword [ebp - 0x630]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x444365
mov eax, dword [ebp - 0x630]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1074]
push ecx
push 0x2001f
push 0
push str.Tencent_shellopencommand
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0
je 0x4440d6
lea edx, [ebp - 0x1074]
push edx
push str.Tencent_shellopencommand
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4440d6
xor eax, eax
jmp 0x444365
mov word [ebp - 0x838], 0
push 0x206
push 0
lea eax, [ebp - 0x836]
push eax
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x1070], 0
push 0x206
push 0
lea ecx, [ebp - 0x106e]
push ecx
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0xe64], 0x104
push str.__1_
push str.Timwp.exe
push 0x4880d0
push str.__sBin_s___s
push 0x208
push 0x104
lea edx, [ebp - 0x838]
push edx
call fcn.004157ac
add esp, 0x1c
lea eax, [ebp - 0xe64]
push eax
lea ecx, [ebp - 0x1070]
push ecx
lea edx, [ebp - 0x41c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x1074]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444199
lea ecx, [ebp - 0x1070]
push ecx
lea edx, [ebp - 0x838]
push edx
call fcn.004160f0
add esp, 8
test eax, eax
je 0x4441e8
lea eax, [ebp - 0x838]
push eax
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x838]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x1074]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0
je 0x4441e8
mov eax, dword [ebp - 0x1074]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x444365
mov ecx, dword [ebp - 0x1074]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x840]
push edx
push 0x2001f
push 0
push str.TencentDefaultIcon
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x83c], eax
cmp dword [ebp - 0x62c], 0
je 0x444244
lea eax, [ebp - 0x840]
push eax
push str.TencentDefaultIcon
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x444244
xor eax, eax
jmp 0x444365
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x628], 0
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0xe64], 0x104
push 0x47502c
push str.Timwp.exe
push 0x4880d0
push str._sBin_s_s
push 0x208
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004157ac
add esp, 0x1c
lea ecx, [ebp - 0xe64]
push ecx
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x840]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444307
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.004160f0
add esp, 8
test eax, eax
je 0x444353
lea ecx, [ebp - 0x210]
push ecx
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0x840]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0
je 0x444353
mov ecx, dword [ebp - 0x840]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x444365
mov edx, dword [ebp - 0x840]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret