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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a6ad
mov eax, dword fs:[0]
push eax
sub esp, 0x228
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 0x456200
lea ecx, [ebp - 0x234]
call fcn.00402410
push eax
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.00419970
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x411833
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 4], 3
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 4
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 5
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x230], edi
lea eax, [esi + 0x268]
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.00401a10
lea eax, [esi + 0x26c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401a10
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4118f5
push 0x104
lea ecx, [ebp - 0x22c]
call fcn.00402270
mov ebx, dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push 0x104
push ebx
push 0
push str.InstallDate
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebx - 8]
push ebx
call fcn.004336a3
add esp, 8
test eax, eax
js 0x411b1e
cmp eax, dword [ebx - 8]
jg 0x411b1e
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x21c], eax
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41196f
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00402270
mov edi, dword [ebp - 0x230]
push dword [ebp - 0x21c]
push 0x104
push edi
push 0
push str.SSID
push str.BFVCenter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [edi - 8]
push edi
call fcn.004336a3
add esp, 8
test eax, eax
js 0x411b1e
cmp eax, dword [edi - 8]
jg 0x411b1e
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x28], 0
push dword [esi + 0x270]
lea eax, [ebp - 0x21c]
push 0
jne 0x411a06
push ebx
push 1
push dword [ebp - 0x224]
push dword [ebp - 0x220]
push edi
push str.http:__yactive.logger.baofeng.com_logger.php
push str._s_ltypeyactivesid_suid_sver_smsg_t_:__d___idate_:__s___activeinterval_:__d___gid_:__s_
push eax
call fcn.0040be40
add esp, 0x28
jmp 0x411a2b
push 0
push ebx
push 5
push dword [ebp - 0x224]
push dword [ebp - 0x220]
push edi
push str.http:__yactive.logger.baofeng.com_logger.php
push str._s_ltypeyactivesid_suid_sver_smsg_t_:__d___idate_:__s___activeinterval_:__d___num_:__d___gid_:__s_
push eax
call fcn.0040be40
add esp, 0x2c
mov esi, dword [ebp - 0x21c]
sub esp, 0x20
mov ecx, esi
call fcn.0041e260
lea edx, [esi - 0x10]
or esi, 0xffffffff
add esp, 0x20
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411a5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411a7b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411a9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ac1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ade
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x411b02
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