Function at 0x410750
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aa72
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4611f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.BaofengBFVKanDianYingProfiles
lea ecx, [ebp - 0x240]
call fcn.00402410
push eax
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.00419970
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4107e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x234]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x410800
mov ecx, dword [ebp - 0x234]
call fcn.0041c800
push str.Config.ini
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x22c]
call fcn.0040bce0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x222]
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
lea eax, [ebp - 0x23c]
push str._4d_.2d_.2d
push eax
call fcn.0040be40
add esp, 0x14
lea ecx, [ebp - 0x230]
push 0x451c88
call fcn.00402410
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x284]
sub ecx, 0x10
call fcn.00401e50
lea edi, [eax + 0x10]
mov dword [ebp - 0x238], edi
mov byte [ebp - 4], 6
cmp dword [esi + 0x28], 0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x4109a3
push dword [ebp - 0x22c]
push 0x451c88
push str.LastLogin
push 0x455b50
call esi
push dword [ebp - 0x22c]
push 0x451c88
push str.ThirdAccountLogin
push 0x455b50
call esi
push dword [ebp - 0x22c]
push 0x451c88
push str.AutoLogin
push 0x455b50
call esi
push dword [ebp - 0x22c]
push 0x455b90
push 0x455b94
push str.BFVCenter
call esi
mov eax, dword [ebp - 0x230]
mov esi, dword [ebp - 0x22c]
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x410942
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00402270
mov eax, dword [ebp - 0x230]
push esi
push 0x104
push eax
push 0x451c88
push 0x455bc0
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x230]
push dword [eax - 8]
push eax
call fcn.004336a3
mov edx, eax
add esp, 8
test edx, edx
js 0x410bb6
mov ecx, dword [ebp - 0x230]
cmp edx, dword [ecx - 8]
jg 0x410bb6
mov dword [ecx - 0xc], edx
mov eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x230]
cmp dword [eax - 0xc], ecx
jne 0x4109b5
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401a10
push dword [ebp - 0x22c]
mov esi, dword [ebp - 0x23c]
push esi
push str.InstallDate
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push esi
push str.InstallDate
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push edi
push str.SSID
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
push 0x455bc0
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
push 0x455bfc
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push 0x455b90
push str.State
push str.DesktopUpdateNotify
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push 0x4555e8
push str.FIAlertCount
push str.DesktopUpdateNotify
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push 0x455b90
push str.ShowNew
push str.DesktopUpdateNotify
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push dword [0x464a44]
push str.TIPSID
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push 0x451c88
push str.LastActiveDate_10
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push 0x451c88
push str.LastActiveDate_4
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x22c]
push 0x455b90
push str.POPUPTIPS
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add edi, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b13
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b53
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x410b9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431c68
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004022e0
int3