Function at 0x4470a0
Capabilities:
Check mutex on windows
Copy file
Create process on windows
Get common file path
Print debug messages
Read .ini file

Disassembly:
sub esp, 0x3c8
mov eax, dword [0x4ab13c]
xor eax, esp
mov dword [esp + 0x3c4], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3e4]
mov esi, 8
xor ebx, ebx
push esi
mov ebp, 7
push str.QQMINIDL
lea ecx, [esp + 0x15c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x174], ebp
mov dword [esp + 0x170], ebx
mov word [esp + 0x160], bx
call fcn.00402438
call fcn.004488d0
test al, al
je 0x447113
push 6
push str._ADMIN
lea ecx, [esp + 0x15c]
call fcn.00411d20
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x16c], esi
mov eax, dword [esp + 0x158]
jae 0x447131
lea eax, [esp + 0x158]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x447153
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x3dc]
push 0xffffffffffffffff
mov dword [0x4ad99c], eax
call sub.IMM32.dll_ImmDisableIME
call fcn.004364c0
push str.pubconfig.ini
lea ecx, [esp + 0x120]
push ebx
push ecx
call fcn.00449920
add esp, 8
push eax
lea edx, [esp + 0x194]
push edx
call fcn.00412680
add esp, 0xc
cmp dword [esp + 0x134], esi
jb 0x4471ab
mov eax, dword [esp + 0x120]
push eax
call fcn.00451909
add esp, 4
cmp dword [esp + 0x1a4], esi
mov eax, dword [esp + 0x190]
jae 0x4471c2
lea eax, [esp + 0x190]
push eax
push ebx
push str.CurrentUin
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0x2710
jbe 0x4471e4
push eax
call fcn.0045a923
add esp, 4
push 0x206
lea ecx, [esp + 0x1d2]
push ebx
push ecx
mov dword [esp + 0x194], ebp
mov dword [esp + 0x190], ebx
mov word [esp + 0x180], bx
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x158], ebx
mov word [esp + 0x148], bx
mov word [esp + 0x1d8], bx
call fcn.0045bc20
add esp, 0xc
push 0x104
lea edx, [esp + 0x1d0]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x1cc]
lea edx, [eax + 2]
jmp 0x447250
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x447250
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1d0]
push eax
lea ecx, [esp + 0x140]
call fcn.00402438
mov eax, dword [esp + 0x14c]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x447287
call fcn.0045c182
cmp dword [esp + 0x150], 8
mov eax, dword [esp + 0x13c]
jae 0x44729f
lea eax, [esp + 0x13c]
cmp word [eax + esi*2], 0x5c
je 0x447300
push 1
push 0x4935a8
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
mov word [esp + 0x10c], bx
call fcn.00402438
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x144]
call fcn.00411c10
cmp dword [esp + 0x118], 8
jb 0x447300
mov edx, dword [esp + 0x104]
push edx
call fcn.00451909
add esp, 4
push str.Kernel32.dll
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x124]
push ecx
call fcn.00412680
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x17c]
call fcn.00402157
cmp dword [esp + 0x134], 8
jb 0x447347
mov edx, dword [esp + 0x120]
push edx
call fcn.00451909
add esp, 4
mov eax, dword [0x49374c]
mov cx, word [0x493750]
lea edx, [esp + 0x1c4]
push edx
push edi
xor ebp, ebp
mov dword [esp + 0x1cc], eax
mov word [esp + 0x1d0], cx
call fcn.00436000
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x447635
push str.RegServer
push esi
call fcn.00436050
add esp, 8
test eax, eax
jne 0x447399
lea ebp, [eax + 1]
jmp 0x447635
push str.UnregServer
push esi
call fcn.00436050
add esp, 8
test eax, eax
jne 0x4473b3
lea ebp, [eax + 2]
jmp 0x447635
push str.Embedding
push esi
call fcn.00436050
add esp, 8
test eax, eax
jne 0x4473cd
lea ebp, [eax + 3]
jmp 0x447635
push str.Uninstall
push esi
call fcn.00436050
add esp, 8
test eax, eax
jne 0x4473e7
lea ebp, [eax + 5]
jmp 0x447635
push str.PrepareUninstall
push esi
call fcn.00436050
add esp, 8
test eax, eax
jne 0x447401
lea ebp, [eax + 6]
jmp 0x447635
push str.Install
push esi
call fcn.00436050
add esp, 8
test eax, eax
jne 0x447635
push esi
lea ecx, [esp + 0x104]
lea ebp, [eax + 4]
call fcn.00404247
push 0x4991b8
lea ecx, [esp + 0xcc]
call fcn.00404247
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x104]
call fcn.00411ba0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x104]
mov esi, eax
call fcn.00411be0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x104]
mov edi, eax
call fcn.00411ba0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push fcn.0045d55f
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 + 0x88]
push eax
call fcn.00439030
add esp, 0x20
push ebx
push 0x493fa8
lea ecx, [esp + 0x108]
call fcn.00437fd0
cmp eax, 0xffffffff
je 0x44755a
mov ecx, dword [esp + 0x114]
push ecx
push ebx
push 0x493fa8
lea ecx, [esp + 0x10c]
call fcn.00437fd0
push eax
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x10c]
call fcn.00439740
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
call fcn.00402157
lea ecx, [esp + 0x11c]
call fcn.0040200f
push ebx
push 0x4996b4
lea ecx, [esp + 0xd0]
call fcn.00438000
cmp eax, 0xffffffff
je 0x44755a
push ebx
push 0x4996b4
lea ecx, [esp + 0xd0]
call fcn.00438000
push eax
push ebx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0xd4]
call fcn.00439740
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
call fcn.00402157
lea ecx, [esp + 0x11c]
call fcn.0040200f
cmp dword [esp + 0xdc], ebx
je 0x44761d
push 0x4991b6
lea ecx, [esp + 0xe8]
call fcn.0040407f
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xcc]
push edx
call fcn.0044b2e0
add esp, 8
push 3
push ebx
lea ecx, [esp + 0xec]
call fcn.004022fa
push ebx
push 0x493000
lea ecx, [esp + 0xec]
call fcn.00437db0
cmp eax, 0xffffffff
je 0x4475dc
push 1
push eax
lea ecx, [esp + 0xec]
call fcn.004022fa
push ebx
push 0x493000
lea ecx, [esp + 0xec]
call fcn.00437db0
cmp eax, 0xffffffff
jne 0x4475b6
lea eax, [esp + 0xe4]
push eax
call fcn.00448ad0
add esp, 4
test al, al
je 0x447611
cmp dword [esp + 0xfc], 0x10
mov eax, dword [esp + 0xe8]
jae 0x447608
lea eax, [esp + 0xe8]
push eax
call fcn.0045c27e
add esp, 4
lea ecx, [esp + 0xe4]
call fcn.00401f82
lea ecx, [esp + 0xc8]
call fcn.0040200f
lea ecx, [esp + 0x100]
call fcn.0040200f
xor edi, edi
lea eax, [ebp - 1]
cmp eax, 5
mov dword [esp + 0x28], edi
ja case.default.0x447647
jmp dword [eax*4 + 0x447c64]
mov esi, 1
cmp ebp, esi
jne 0x447663
call fcn.0043a8f0
mov esi, eax
call fcn.00444c90
mov ecx, dword [esp + 0x3e8]
push ecx
mov ecx, 0x4ad9d0
call fcn.0043b200
lea edx, [esp + 0x100]
push ebx
push edx
mov edi, eax
call fcn.00449c30
lea eax, [esp + 0x124]
push ebx
push eax
call fcn.00449ce0
push str.DownloadProxyPS.dll
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x1c0]
push edx
call fcn.00412680
push 0x493420
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x108]
push ecx
call fcn.00412680
add esp, 0x28
cmp dword [esp + 0x114], ebx
je 0x4478c8
cmp ebp, 1
jne 0x447803
mov eax, dword [esp + 0x104]
mov ebp, 8
cmp dword [esp + 0x118], ebp
jae 0x4476fc
lea eax, [esp + 0x104]
mov edx, dword [0x4aa254]
push edx
push eax
call fcn.004485c0
mov eax, dword [esp + 0xf0]
add esp, 8
cmp dword [esp + 0xfc], ebp
jae 0x447723
lea eax, [esp + 0xe8]
mov ecx, dword [0x4aa254]
push ecx
push eax
call fcn.004485c0
add esp, 8
cmp esi, ebx
je 0x4477f9
push 0x493760
lea edx, [esp + 0x1ac]
push edx
lea eax, [esp + 0x98]
push str._s__
push eax
call fcn.00439bf0
add esp, 0xc
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.00412680
add esp, 0xc
lea ecx, [esp + 0x90]
call fcn.0040200f
push 0x3c
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.0045bc20
add esp, 0xc
cmp dword [esp + 0xe0], ebp
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x40], str.regsvr32.exe
mov dword [esp + 0x4c], ebx
jb 0x4477bc
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x44], eax
jmp 0x4477c7
lea ecx, [esp + 0xcc]
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x68]
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc8]
call fcn.0040200f
call fcn.00444c90
jmp 0x4478cd
push 0x493760
lea edx, [esp + 0x1ac]
push edx
lea eax, [esp + 0xb4]
push str._u__s__
push eax
call fcn.00439bf0
add esp, 0xc
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.00412680
add esp, 0xc
lea ecx, [esp + 0xac]
call fcn.0040200f
push 0x3c
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.0045bc20
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0xe0], ebp
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x40], str.regsvr32.exe
mov dword [esp + 0x4c], ebx
jb 0x447889
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x44], eax
jmp 0x447894
lea ecx, [esp + 0xcc]
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x68]
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc8]
call fcn.0040200f
jmp 0x4478cd
mov ebp, 8
lea ecx, [esp + 0xe4]
call fcn.0040200f
lea ecx, [esp + 0x1a8]
call fcn.0040200f
lea ecx, [esp + 0x11c]
call fcn.0040200f
lea ecx, [esp + 0x100]
call fcn.0040200f
jmp 0x447b8c
lea edx, [esp + 0xc8]
push ebx
push edx
call fcn.00449c30
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 8
push str.____strSrcExeFilePath:_n
call esi
mov eax, dword [esp + 0xcc]
mov ebp, 8
cmp dword [esp + 0xe0], ebp
jae 0x44793c
lea eax, [esp + 0xcc]
push eax
call esi
cmp dword [esp + 0xdc], ebx
jne 0x447959
lea ecx, [esp + 0xc8]
call fcn.0040200f
jmp 0x447b8c
push 0x493940
lea eax, [esp + 0x78]
push ebx
push eax
call fcn.00449920
add esp, 8
push eax
lea ecx, [esp + 0xec]
push ecx
call fcn.00412680
add esp, 0xc
lea ecx, [esp + 0x74]
call fcn.0040200f
push str.____strDstExeFilePath:_n
call esi
cmp dword [esp + 0xfc], ebp
mov eax, dword [esp + 0xe8]
jae 0x4479a4
lea eax, [esp + 0xe8]
push eax
call esi
cmp dword [esp + 0xfc], ebp
mov ecx, dword [esp + 0xe8]
jae 0x4479be
lea ecx, [esp + 0xe8]
cmp dword [esp + 0xe0], ebp
jb 0x447a5e
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x447a6a
cmp ecx, ebx
je 0x447a6a
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete al
cmp al, bl
je 0x447a6a
push str.._Uninstall
lea ecx, [esp + 0x104]
call fcn.00404247
cmp dword [esp + 0x118], ebp
mov ecx, dword [esp + 0x104]
jae 0x447a1d
lea ecx, [esp + 0x104]
cmp dword [esp + 0xfc], ebp
mov eax, dword [esp + 0xe8]
jae 0x447a34
lea eax, [esp + 0xe8]
push ebx
push ebx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x447a50
push str.____._Uninstall_failed:_n
call esi
lea ecx, [esp + 0x100]
call fcn.0040200f
jmp 0x447a77
lea eax, [esp + 0xcc]
jmp 0x4479da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.____und::filesystem::CopyFilel_failed:_n
call esi
lea ecx, [esp + 0xe4]
call fcn.0040200f
lea ecx, [esp + 0xc8]
call fcn.0040200f
jmp 0x447b8c
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Uninstall_start___n
call edi
mov edx, dword [str.QQMINIDL_UNINSTALL_MUTEX]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call fcn.00448980
push ebx
call fcn.00446950
add esp, 4
push str.Uninstall_Finish___n
call edi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x28]
jmp case.default.0x447647
call fcn.00445450
test eax, eax
jne 0x447af7
push str.xxx_QQMiniDL_verify_sig_error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp case.default.0x447647
cmp dword [esp + 0x10], ebx
jne case.default.0x447647
lea eax, [esp + 0x11c]
push ebx
push eax
call fcn.00449ce0
lea ecx, [esp + 0x124]
push ebx
push ecx
call fcn.00444210
lea edx, [esp + 0x28]
push edx
call fcn.004358e0
mov ecx, dword [eax]
add esp, 0x14
call fcn.00435a00
lea ecx, [esp + 0x18]
call fcn.00438700
mov eax, dword [esp + 0x3e8]
push eax
mov ecx, 0x4ad9d0
call fcn.0043b200
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
call fcn.004358e0
mov ecx, dword [eax]
add esp, 4
call fcn.00431350
lea ecx, [esp + 0x20]
call fcn.00438700
call fcn.0042ec40
lea ecx, [esp + 0x11c]
call fcn.0040200f
jmp case.default.0x447647
push ebx
call fcn.00445760
add esp, 4
mov ebp, 8
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x447b9b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x150], ebp
jb 0x447bb4
mov edx, dword [esp + 0x13c]
push edx
call fcn.00451909
add esp, 4
cmp dword [esp + 0x188], ebp
mov esi, 7
mov dword [esp + 0x150], esi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x447be8
mov eax, dword [esp + 0x174]
push eax
call fcn.00451909
add esp, 4
cmp dword [esp + 0x1a4], ebp
mov dword [esp + 0x188], esi
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], bx
jb 0x447c17
mov ecx, dword [esp + 0x190]
push ecx
call fcn.00451909
add esp, 4
cmp dword [esp + 0x16c], ebp
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], bx
jb 0x447c46
mov edx, dword [esp + 0x158]
push edx
call fcn.00451909
add esp, 4
mov ecx, dword [esp + 0x3d4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045b0da
add esp, 0x3c8
ret 0x10