Function at 0x43ac60
Capabilities:
Check if file exists
Get file attributes
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x48b30f
mov eax, dword fs:[0]
push eax
sub esp, 0xee4
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0xee0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0xef8]
mov dword fs:[0], eax
push 0x128
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xf8]
push 0x3fc
xor edi, edi
push eax
mov dword [esp + 0xf14], edi
call fcn.0045c9a6
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x14
lea ecx, [esp + 0xec]
push ecx
call ebx
mov ebp, 8
cmp dword [esp + 0xf20], ebp
mov byte [esp + 0x17], 1
jb 0x43ad12
mov eax, dword [esp + 0xf0c]
cmp eax, edi
je 0x43ad1b
cmp word [eax], di
je 0x43ad1b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ad1b
and al, 0x10
cmp al, 0x10
setne byte [esp + 0x16]
jmp 0x43ad20
lea eax, [esp + 0xf0c]
jmp 0x43acf6
mov byte [esp + 0x16], 0
movzx edx, byte [esp + 0x16]
push edx
push str.bDestFileExist_d
call fcn.0044b250
add esp, 8
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], edi
mov word [esp + 0xa8], di
mov ecx, dword [str.QQMiniDL.Downloader.1]
lea eax, [esp + 0xdc]
push eax
push ecx
mov byte [esp + 0xf08], 1
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
jne 0x43b14b
push 0x137
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea edx, [esp + 0xf8]
push 0x3fc
push edx
call fcn.0045c9a6
add esp, 0x14
lea eax, [esp + 0xec]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, edi
jne 0x43b14b
push 0x13e
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xf8]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0xec]
push ecx
call ebx
mov edx, dword [esp + 0x1c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43adf2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xac]
call fcn.00402470
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x7fe
lea eax, [esp + 0x6fa]
push edi
push eax
mov dword [esp + 0x38], 1
mov word [esp + 0x700], di
call fcn.0045c2f0
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x60]
push str.CLSID_
push edx
mov dword [esp + 0x40], 0x800
call fcn.00439d70
push str.LocalServer32
push eax
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0xf24], 2
call fcn.00412230
add esp, 0x24
cmp dword [esp + 0x68], ebp
mov byte [esp + 0xf00], 4
jb 0x43ae95
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00451fd9
add esp, 4
cmp dword [esp + 0xd8], ebp
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
jae 0x43aebd
lea eax, [esp + 0xc4]
lea edx, [esp + 0x24]
push edx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43b12a
push 0x14f
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xf8]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0xec]
push ecx
call ebx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x6f8]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b11f
push 0x153
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xf8]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0xec]
push ecx
call ebx
lea edx, [esp + 0xf08]
push edx
lea ecx, [esp + 0x70]
call fcn.0040202c
cmp dword [esp + 0x84], ebp
mov eax, dword [esp + 0x70]
mov byte [esp + 0xf00], 5
jae 0x43af83
lea eax, [esp + 0x70]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call ebp
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x70]
call fcn.00411b50
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x70]
mov esi, eax
call fcn.00411b90
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x70]
mov edi, eax
call fcn.00411b50
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push fcn.0045dc2f
push ecx
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004391b0
mov eax, dword [esp + 0x90]
mov esi, 8
add esp, 0x20
cmp dword [esp + 0x84], esi
jae 0x43affa
lea eax, [esp + 0x70]
push eax
call ebp
lea ecx, [esp + 0x6f4]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0040427f
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
mov byte [esp + 0xf00], 6
jae 0x43b030
lea eax, [esp + 0x8c]
push eax
call ebp
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x8c]
call fcn.00411b50
mov esi, eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x8c]
call fcn.00411b90
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x8c]
mov edi, eax
call fcn.00411b50
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push fcn.0045dc2f
push edx
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004391b0
mov eax, dword [esp + 0xac]
add esp, 0x20
cmp dword [esp + 0xa0], 8
jae 0x43b0a9
lea eax, [esp + 0x8c]
push eax
call ebp
push 0
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x90]
call fcn.00428620
cmp eax, 0xffffffff
je 0x43b105
cmp byte [esp + 0x16], 0
jne 0x43b105
push 0x163
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xf8]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0xec]
push ecx
call ebx
push str.MINIDL
call ebx
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x88]
call fcn.00402055
lea ecx, [esp + 0x6c]
call fcn.00402055
xor edi, edi
lea ebp, [edi + 8]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xd8], ebp
mov byte [esp + 0xf00], 1
jb 0x43b14b
mov eax, dword [esp + 0xc4]
push eax
call fcn.00451fd9
add esp, 4
xor ecx, ecx
cmp byte [esp + 0x17], cl
push 0x206
setne cl
lea edx, [esp + 0x4f2]
push edi
push edx
mov dword [esp + 0x24], edi
mov word [esp + 0x4f8], di
mov dword [esp + 0x2c], ecx
call fcn.0045c2f0
push 0x103
lea eax, [esp + 0x4fc]
push str.SoftwareTencentQQMiniDL
push eax
call fcn.0045dadb
add esp, 0x18
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4f0]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x43b22f
push 0x178
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xf8]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0xec]
push ecx
call ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4f0]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x43b22f
push 0x17b
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea ecx, [esp + 0xf8]
push 0x3fc
push ecx
call fcn.0045c9a6
add esp, 0x14
lea edx, [esp + 0xec]
push edx
call ebx
mov dword [esp + 0x18], edi
jmp 0x43b258
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x43b258
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push edi
push str.NeedRegCOM
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
push eax
push str.dwNeedRegCOM_d
call fcn.0044b250
push 0x189
push str.DecideWhetherRegistCOM
push str.MINIDL__s_Line:__d_n
lea ecx, [esp + 0x100]
push 0x3fc
push ecx
call fcn.0045c9a6
add esp, 0x1c
lea edx, [esp + 0xec]
push edx
call ebx
cmp dword [esp + 0xbc], ebp
jb 0x43b2ae
mov eax, dword [esp + 0xa8]
push eax
call fcn.00451fd9
add esp, 4
cmp dword [esp + 0xf20], ebp
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], edi
mov word [esp + 0xa8], di
jb 0x43b2e1
mov ecx, dword [esp + 0xf0c]
push ecx
call fcn.00451fd9
add esp, 4
mov ecx, dword [esp + 0xef8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xee0]
xor ecx, esp
call fcn.0045b7a6
add esp, 0xef0
ret