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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4713ce
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x48e110]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov eax, dword [0x48e110]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
push 1
push 0x23
lea eax, [esp + 0x25c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x38]
push ecx
mov ecx, str.BaofengBFVKanDianYingProfiles
call fcn.00403080
lea edx, [esp + 0x254]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov dword [esp + 0x478], 0
call fcn.004240e0
add esp, 8
mov byte [esp + 0x470], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4193cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4193e9
mov edx, dword [esp + 0x28]
push edx
call fcn.004022d0
add esp, 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.Config.ini
call fcn.00402c10
add esp, 8
mov byte [esp + 0x470], 3
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x474], 4
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x42]
movzx eax, word [esp + 0x3e]
movzx ecx, word [esp + 0x3c]
push edx
push eax
push ecx
push str._4d_.2d_.2d
lea edi, [esp + 0x40]
call fcn.00413e20
mov eax, dword [0x492920]
add eax, 0xfffffff0
call fcn.004033b0
add eax, 0x10
mov dword [esp + 0x34], eax
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x66]
mov byte [esp + 0x488], 5
push eax
mov word [esp + 0x68], dx
call fcn.0045c960
add esp, 0x1c
push 0x104
lea ecx, [esp + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
call fcn.00403080
mov byte [esp + 0x470], 6
mov eax, dword [esp + 0x20]
push 0x5c
push eax
call fcn.0045ac03
mov edx, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x4194cc
or ecx, 0xffffffff
jmp 0x4194d2
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [edx - 0xc]
sub eax, ecx
lea ecx, [esp + 0x20]
push ecx
dec eax
lea ecx, [esp + 0x30]
call fcn.00403c60
mov byte [esp + 0x470], 7
mov esi, dword [esp + 0x2c]
push 0x2e
push esi
call fcn.0045ac03
add esp, 8
test eax, eax
je 0x4195fc
sub eax, esi
sar eax, 1
js 0x4195fc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
call fcn.00403ce0
mov bl, 8
mov byte [esp + 0x470], bl
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jl 0x4195d8
push 0x4786ec
push esi
call fcn.0045c186
add esp, 8
test eax, eax
je 0x4195d8
sub eax, esi
sar eax, 1
mov edi, eax
js 0x4195d8
cmp dword [esi - 0xc], 0
jl 0x4195d8
push 0x4786f4
push esi
call fcn.0045c186
add esp, 8
test eax, eax
je 0x4195d8
sub eax, esi
sar eax, 1
js 0x4195d8
lea edx, [esp + 0x1c]
sub eax, edi
push edx
sub eax, 2
lea ecx, [edi + 2]
lea edx, [esp + 0x38]
call fcn.00424030
lea edi, [esp + 0x1c]
mov byte [esp + 0x470], 9
call fcn.00402ab0
mov byte [esp + 0x470], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4195c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
je 0x4195d8
lea eax, [esp + 0x1c]
lea edi, [esp + 0x24]
call fcn.00402ab0
add esi, 0xfffffff0
mov byte [esp + 0x470], 7
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4195fc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [esp + 0x18]
push eax
mov ecx, 0x476a60
call fcn.00403080
mov ecx, dword [ebp + 8]
mov byte [esp + 0x470], 0xa
cmp dword [ecx + 0x5c], 0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x419704
mov edx, dword [esp + 0x14]
push edx
push 0x476a60
push str.LastLogin
push 0x478710
call esi
mov eax, dword [esp + 0x14]
push eax
push 0x476a60
push str.ThirdAccountLogin
push 0x478710
call esi
mov ecx, dword [esp + 0x14]
push ecx
push 0x476a60
push str.AutoLogin
push 0x478710
call esi
mov edx, dword [esp + 0x14]
push edx
push 0x4784e4
push str.InstallType
push str.BFVCenter
call esi
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
mov edi, dword [esp + 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4196ac
mov eax, 0x104
lea ecx, [esp + 0x18]
call fcn.00403240
mov edx, dword [esp + 0x18]
push edi
push 0x104
push edx
push 0x476a60
push 0x47877c
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0045ae41
add esp, 8
test eax, eax
js 0x419923
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x419923
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ecx
jne 0x419711
lea eax, [esp + 0x24]
lea edi, [esp + 0x18]
call fcn.00402ab0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
push ecx
push edi
push str.InstallDate
push str.INSTALL
call esi
mov edx, dword [esp + 0x14]
push edx
push edi
push str.InstallDate
push str.BFVCenter
call esi
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push eax
push ebx
push str.SSID
push str.BFVCenter
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x47877c
push str.BFVCenter
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push 0x4787b8
push str.BFVCenter
call esi
mov edx, dword [esp + 0x14]
push edx
push 0x4784e4
push str.State
push str.DesktopUpdateNotify
call esi
mov eax, dword [esp + 0x14]
push eax
push 0x47826c
push str.FIAlertCount
push str.DesktopUpdateNotify
call esi
mov ecx, dword [esp + 0x14]
push ecx
push 0x4784e4
push str.ShowNew
push str.DesktopUpdateNotify
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [0x492924]
push edx
push eax
push str.TIPSID
push str.BFVCenter
call esi
mov ecx, dword [esp + 0x14]
push ecx
push 0x4784e4
push str.POPUPTIPS
push str.INSTALL
call esi
mov byte [esp + 0x470], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41983a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419862
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x470], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419886
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x470], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4198aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4198d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x470], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4198fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.0045a10c
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401950
int3