Function at 0x4030d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x43b1ff
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x44a874]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2b0]
push 0x453458
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.00404230
push 0x38
call fcn.00420c4c
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x40314f
mov ecx, 7
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ebp
mov word [eax + 4], bp
mov dword [eax + 0x34], ecx
mov dword [eax + 0x30], ebp
mov word [eax + 0x20], bp
mov edi, eax
jmp 0x403151
xor edi, edi
cmp edi, ebp
mov dword [0x4533f8], edi
je 0x40319a
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.004089c0
push 0xa
push str.3.10.05.20
lea ecx, [edi + 0x1c]
call fcn.00401ce0
push str.PopPlayer_LogSwitch
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
call fcn.004088f0
test al, al
je 0x4031ca
xor eax, eax
cmp dword [esp + 0x18], ebp
setne al
mov dword [0x4533fc], eax
cmp dword [0x4533fc], ebp
je 0x4032ae
push pe_nt_image_headers32
call fcn.00420c4c
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov dword [esp + 0x2a0], ebp
je 0x4031d5
push eax
call fcn.00407950
jmp 0x4031d7
mov dword [0x4533fc], ebp
jmp 0x4032ae
xor eax, eax
push 0x39
or edi, 0xffffffff
mov dword [esp + 0x2a4], edi
push str.http:__p2pad.baofeng.com_1.html_type14ver3.10.00.00r
lea ecx, [esp + 0x78]
mov dword [0x4533f4], eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
call fcn.00401ce0
mov ebx, 1
lea esi, [esp + 0x1c]
mov dword [esp + 0x2a0], ebx
call fcn.00405e60
push edi
push ebp
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2ac], 2
call fcn.004037b0
mov esi, 8
mov byte [esp + 0x2a0], bl
cmp dword [esp + 0x34], esi
jb 0x403255
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00420bda
add esp, 4
cmp dword [esp + 0x88], esi
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
jae 0x403277
lea ecx, [esp + 0x74]
mov edx, dword [0x4533f4]
push edx
call fcn.00407ab0
mov ecx, 0xe
call fcn.00406150
mov dword [esp + 0x2a0], edi
cmp dword [esp + 0x88], esi
jb 0x4032aa
mov eax, dword [esp + 0x74]
push eax
call fcn.00420bda
add esp, 4
mov ebx, dword [esp + 0x14]
push 0x206
lea ecx, [esp + 0x92]
push ebp
push ecx
mov word [esp + 0x98], bp
call fcn.00422b60
add esp, 0xc
lea edx, [esp + 0x8c]
push edx
push ebp
push ebp
push 0x23
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Storm_
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x8c]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
lea edx, [eax + 2]
jmp 0x403320
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x403320
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x5c]
call fcn.00401ce0
push 0x15
push str.PopupPlayerExcept.log
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2a8], 3
call fcn.004038c0
mov esi, dword [esp + 0x6c]
cmp esi, 8
mov edi, dword [esp + 0x58]
mov eax, edi
jae 0x40336f
lea eax, [esp + 0x58]
mov edx, 0x4531e8
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x403376
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x403390
sub eax, edx
sar eax, 1
jne 0x4033b0
cmp esi, 8
jb 0x403452
push edi
jmp 0x40344a
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
call fcn.00403480
add esp, 4
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
cmp dword [0x4533f8], ebp
je 0x4033fb
push 0x4412a4
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.004088f0
test al, al
jne 0x4033f2
xor eax, eax
jmp 0x4033f6
mov eax, dword [esp + 0x14]
mov dword [0x4537cc], eax
mov ecx, ebx
call fcn.00403ec0
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push ebp
push ebp
push ebp
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
je 0x40343e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [esp + 0x38]
push ecx
call edi
lea edx, [esp + 0x38]
push edx
call ebx
push ebp
push ebp
push ebp
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
jne 0x403422
cmp dword [esp + 0x6c], 8
jb 0x403452
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00420bda
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.00420bdf
add esp, 0x290
ret 0x10