Function at 0x4143c0
Capabilities:
Check if file exists
Create process on windows
Delete registry value
Query or enumerate registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43e32b
mov eax, dword fs:[0]
push eax
sub esp, 0xadc
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0xad8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a2b8]
xor eax, esp
push eax
lea eax, [esp + 0xaf0]
mov dword fs:[0], eax
mov ecx, 9
mov esi, str.UserDataImportSet
lea edi, [esp + 0x10c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x44219c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [0x4421a8]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x442584]
mov dword [esp + 0xc8], ecx
mov ecx, dword [0x442590]
mov dword [esp + 0xd4], ecx
mov ecx, dword [0x44259c]
mov dword [esp + 0xf8], ecx
mov ecx, dword [0x4425a8]
mov dword [esp + 0x104], ecx
mov ecx, 9
mov esi, str.OldVerDataPathType
lea edi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edx, dword [0x4421a0]
mov eax, dword [str.UserDataSet]
mov ecx, 7
mov esi, str.OldVerDataPath
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0xa
mov esi, str.OldQQCRMInstallPath
lea edi, [esp + 0x1dc]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xa0], edx
mov edx, dword [0x4421ac]
mov ecx, 0xa
mov esi, str.UserDataSavePathType
lea edi, [esp + 0x144]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xac], edx
mov edx, dword [0x442588]
mov dword [esp + 0x98], eax
mov eax, dword [0x4421a4]
mov dword [esp + 0xcc], edx
movzx edx, word [0x442594]
mov dword [esp + 0xa4], eax
mov eax, dword [str.NeedImport]
movsw word es:[edi], word [esi]
mov dword [esp + 0xc4], eax
mov eax, dword [0x44258c]
mov word [esp + 0xd8], dx
mov edx, dword [0x4425a0]
mov ebp, 8
mov ecx, ebp
mov esi, str.UserDataSavePath
lea edi, [esp + 0x190]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x442624]
mov dword [esp + 0xd0], eax
mov eax, dword [str.OldVersion]
mov dword [esp + 0xfc], edx
movzx edx, word [0x4425ac]
mov dword [esp + 0xf4], eax
mov eax, dword [0x4425a4]
mov word [esp + 0x108], dx
mov edx, dword [0x442628]
mov dword [esp + 0x100], eax
mov eax, dword [str.NewVersion]
mov dword [esp + 0xe4], edx
movzx edx, word [0x442634]
mov dword [esp + 0xdc], eax
mov eax, dword [0x44262c]
mov dword [esp + 0xe0], ecx
mov ecx, dword [0x442630]
xor ebx, ebx
movsw word es:[edi], word [esi]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
mov word [esp + 0xf0], dx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xaf8], ebx
call fcn.0040dd30
call fcn.00414260
push 0x206
lea eax, [esp + 0x2d2]
push ebx
push eax
mov word [esp + 0x2d8], bx
call fcn.00429d70
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp dword [esp + 0x94], ebp
jae 0x414613
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x90]
push ecx
push eax
lea edx, [esp + 0x2d4]
push edx
call fcn.00424e97
mov eax, dword [esp + 0x9c]
add eax, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov ecx, 0x5c
jl 0x414659
nop
cmp word [esp + eax*2 + 0x2cc], cx
je 0x414651
sub eax, 1
jns 0x414640
jmp 0x414659
mov word [esp + eax*2 + 0x2cc], bx
lea ecx, [esp + 0x2cc]
call fcn.0041db10
xor eax, eax
cmp dword [esp + 0x94], ebp
mov dword [esp + 0xb2], eax
mov dword [esp + 0xb6], eax
mov dword [esp + 0xba], eax
mov dword [esp + 0xbe], eax
mov word [esp + 0xc2], ax
mov eax, dword [esp + 0x80]
mov word [esp + 0xb0], bx
jae 0x4146aa
lea eax, [esp + 0x80]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
je 0x4146f8
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x4146d4
lea eax, [esp + 0x80]
push eax
push 0xa
lea eax, [esp + 0xb8]
push eax
push 0x442f4c
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0xac]
push edx
call edi
jmp 0x414702
mov word [esp + 0xb0], 0x32
push 0xc6
lea eax, [esp + 0x20a]
push ebx
push eax
mov word [esp + 0x210], bx
call fcn.00429d70
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp dword [esp + 0x94], ebp
jae 0x414737
lea eax, [esp + 0x80]
push eax
call esi
test eax, eax
je 0x414779
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x414755
lea eax, [esp + 0x80]
push eax
push 0x64
lea ecx, [esp + 0x20c]
push ecx
push 0x441b18
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0xac]
push eax
call edi
jmp 0x4147ce
mov eax, 0x450e98
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414781
sub eax, edx
sar eax, 1
je 0x4147ad
push 0x450e98
push 0x441d18
push 0xc8
push 0x64
lea ecx, [esp + 0x214]
push ecx
jmp 0x4147c6
push 0x44f838
push 0x441d18
push 0xc8
push 0x64
lea edx, [esp + 0x214]
push edx
call fcn.00425032
add esp, 0x14
push 0x206
lea eax, [esp + 0x6e2]
push ebx
push eax
mov word [esp + 0x6e8], bx
call fcn.00429d70
mov eax, 0x450e98
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4147f4
sub eax, edx
sar eax, 1
jne 0x4148e8
mov eax, 0x44f838
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414811
sub eax, edx
sar eax, 1
jne 0x4148e8
push 0x441b18
push 0x44e158
call fcn.004255c9
add esp, 8
test eax, eax
je 0x414865
push 0x44e158
push 0x441d18
push 0x208
lea ecx, [esp + 0x6e8]
push 0x104
push ecx
call fcn.00425032
add esp, 0x14
jmp 0x4148e8
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x20]
push edx
push 0x20019
push ebx
push str.SOFTWARETencent
push closesocket
mov dword [esp + 0x2c], 0x104
call esi
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6e0]
push ecx
push ebx
push ebx
push str.OldQQCRMPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
lea ecx, [esp + 0x1c]
push ecx
push 0xf003f
push ebx
push str.SOFTWARETencent
push closesocket
call esi
test eax, eax
jne 0x4148e8
mov edx, dword [esp + 0x1c]
push str.OldQQCRMPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x1c]
push eax
call edi
mov eax, 0x44f428
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4148f0
sub eax, edx
sar eax, 1
je 0x41494b
push 0x44f220
push 0x44f428
call fcn.004255c9
add esp, 8
test eax, eax
je 0x41494b
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
mov edi, 1
jae 0x414933
lea eax, [esp + 0x80]
push eax
push 0x442654
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x118]
push edx
jmp 0x41497a
mov eax, dword [esp + 0x80]
xor edi, edi
cmp dword [esp + 0x94], ebp
jae 0x414964
lea eax, [esp + 0x80]
push eax
push 0x442f50
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x118]
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call esi
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x414999
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0x208]
push edx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x118]
push ecx
call esi
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x4149cb
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x118]
push ecx
call esi
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x4149fd
lea eax, [esp + 0x80]
push eax
push 0x44f428
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0x118]
push eax
call esi
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x414a2c
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x6e0]
push ecx
lea edx, [esp + 0x1e4]
push edx
lea eax, [esp + 0x118]
push eax
call esi
mov edx, dword [0x4514d4]
push 0xa
lea ecx, [esp + 0x134]
push ecx
push edx
call fcn.00425a21
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp dword [esp + 0x94], ebp
jae 0x414a77
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x14c]
push ecx
lea edx, [esp + 0xa4]
push edx
call esi
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x414aa9
lea eax, [esp + 0x80]
push eax
push 0x44f220
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0xa4]
push ecx
call esi
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x414ad8
lea eax, [esp + 0x80]
push eax
push 0x450880
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0xa4]
push eax
call esi
cmp edi, ebx
je 0x414d10
push 0x206
lea ecx, [esp + 0x2d2]
push ebx
push ecx
mov word [esp + 0x2d8], bx
call fcn.00429d70
add esp, 0xc
push 0x206
lea edx, [esp + 0x4da]
push ebx
push edx
mov word [esp + 0x4e0], bx
call fcn.00429d70
add esp, 0xc
push 0x206
lea eax, [esp + 0x8ea]
push ebx
push eax
mov word [esp + 0x8f0], bx
call fcn.00429d70
mov eax, 0x44f018
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414b60
sub eax, edx
sar eax, 1
cmp word [eax*2 + 0x44f016], 0x5c
push 0x44f018
jne 0x414b98
push 0x442f54
push 0x208
push 0x104
lea ecx, [esp + 0x4e4]
push ecx
jmp 0x414baf
push str._sBin_
push 0x208
push 0x104
lea edx, [esp + 0x4e4]
push edx
call fcn.00425032
add esp, 0x14
cmp dword [0x4514c8], ebx
je 0x414c38
mov esi, 1
cmp dword [0x44d6b8], esi
lea eax, [esp + 0x4d4]
lea ecx, [esp + 0x2cc]
jne 0x414c1b
push str.StorageTool.exe
push eax
push str._s_s
push 0x208
push 0x104
push ecx
call fcn.00425032
push str._startCRM
push 0x441d18
push 0x208
lea edx, [esp + 0x908]
push 0x104
push edx
call fcn.00425032
add esp, 0x2c
jmp 0x414c69
push str.StorageTool.exe__startCRM
push eax
push str._s_s
push 0x208
push 0x104
push ecx
call fcn.00425032
jmp 0x414c66
push str.StorageTool.exe
lea edx, [esp + 0x4d8]
push edx
push str._s_s
push 0x208
lea eax, [esp + 0x2dc]
push 0x104
push eax
call fcn.00425032
mov esi, 1
add esp, 0x18
cmp dword [0x44d6b8], esi
jne 0x414c97
cmp dword [0x4514c8], ebx
je 0x414c97
lea ecx, [esp + 0x8e4]
push ecx
lea edx, [esp + 0x2d0]
push edx
call dword [sym.imp.QQVistaHelper.dll_void___cdecl_RunAsUser_wchar_t___wchar_t__]
add esp, 8
jmp 0x414d1d
push 0x44
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00429d70
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x4dc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2ec]
push ecx
push ebx
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x88], esi
mov word [esp + 0x8c], si
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414d1d
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x28]
push eax
call esi
jmp 0x414d1d
cmp dword [0x4514c8], ebx
je 0x414d1d
call fcn.00414170
cmp dword [esp + 0x94], ebp
jb 0x414d36
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004250ac
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xaf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xad8]
xor ecx, esp
call fcn.00424e88
add esp, 0xae8
ret