Function at 0x410740
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xdc14
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.trace.m1905.cn_pcclient]
mov ecx, dword [0x5a5dbc]
mov edx, dword [0x5a5dc0]
push ebx
push esi
push edi
mov dword [ebp - 0x404], eax
mov eax, dword [0x5a5dc4]
push 0x3e8
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x400], ecx
mov ecx, dword [0x5a5dc8]
mov dword [ebp - 0x3fc], edx
mov edx, dword [0x5a5dcc]
lea eax, [ebp - 0x3ec]
push 0
push eax
mov dword [ebp - 0x3f4], ecx
mov dword [ebp - 0x3f0], edx
call fcn.00549e40
push 0x3ff
lea ecx, [ebp - 0x803]
push 0
push ecx
mov byte [ebp - 0x804], 0
call fcn.00549e40
add esp, 0x18
lea edx, [ebp - 0xdc10]
push edx
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths1905Key.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xdc14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410869
mov edx, dword [ebp - 0xdc10]
lea eax, [ebp - 0xdc14]
push eax
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
push 0x5a50e8
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410869
mov eax, dword [ebp - 0xdc10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x5a4fc6
lea ecx, [ebp - 0x804]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x410860
test al, al
je 0x41085c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x410860
add ecx, 2
add edx, 2
test al, al
jne 0x410840
xor eax, eax
jmp 0x410865
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41088c
mov ecx, dword [str.19050000]
mov edx, dword [0x5a5134]
mov al, byte [0x5a5138]
mov dword [ebp - 0x804], ecx
mov dword [ebp - 0x800], edx
mov byte [ebp - 0x7fc], al
test byte [0x5ecc8c], 1
jne 0x4108b3
or dword [0x5ecc8c], 1
mov esi, 0x5eb488
call fcn.00402150
push 0x5783c0
call fcn.00547602
add esp, 4
push 0x3ff
lea ecx, [ebp - 0xc03]
push 0
push ecx
mov byte [ebp - 0xc04], 0
call fcn.00549e40
mov edx, dword [0x5ec488]
push 0x5ec48c
push edx
push 0x5ec088
lea eax, [ebp - 0xc04]
push str._s__lu__s
push eax
call fcn.00546876
push 0x3ff
lea ecx, [ebp - 0x1003]
push 0
push ecx
mov byte [ebp - 0x1004], 0
call fcn.00549e40
add esp, 0x2c
push 1
push 0x1c
lea edx, [ebp - 0x1004]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea esi, [ebp - 0xdc0c]
call fcn.00403050
lea eax, [ebp - 0x804]
push eax
push 0x5a5024
lea ecx, [ebp - 0xc04]
push ecx
push 0x5ec88c
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0xd80c]
push str.http:___s__mbusinessa360os_sdid_sappid1700verid_spid_scidstepposidurl
push eax
mov dword [ebp - 0xdc0c], 0x544547
call fcn.00546876
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x1c
push 0x5a52f8
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x4109b0
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x4109b0
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push 0x5a52f8
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x4109b2
xor esi, esi
push str.1905Cache1
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x4109f3
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x4109f3
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push str.1905Cache1
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x4109f5
xor eax, eax
push esi
push eax
lea ecx, [ebp - 0x1004]
push ecx
push str._s_s_sTongJiTips.xml
lea edx, [ebp - 0x880c]
push 0x2800
push edx
call fcn.005468fa
add esp, 0x18
mov ecx, 0x5e5968
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0x16
mov dword [ebp - 0x380c], eax
lea eax, [ebp - 0x3804]
push str.type_d
push eax
mov dword [ebp - 0x3808], 0x402
call fcn.00546876
add esp, 0xc
mov eax, 0xcc08
lea esi, [ebp - 0xdc0c]
call fcn.0054a430
mov edi, esp
mov ecx, 0x3302
rep movsd dword es:[edi], dword [esi]
call fcn.004028a0
lea esp, [ebp - 0xdc20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret