Function at 0x468a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee25d
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x521390]
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
xor ebx, ebx
mov dword [ebp - 0x43c], esi
mov dword [esi + 0xe4], ebx
call fcn.00468e80
lea edi, [ebx + 7]
test eax, eax
je 0x468dd4
xor eax, eax
mov word [ebp - 0x250], ax
push 0x27
mov eax, str.http:__www.plugshare.cn_ecs_realEnc.xml
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
call fcn.00459050
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], ebx
call fcn.00464da0
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], esi
jb 0x468afa
mov edx, dword [ebp - 0x250]
push edx
call fcn.004cc431
add esp, 4
xor eax, eax
mov word [ebp - 0x250], ax
mov eax, 0x3a98
xor ecx, ecx
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov word [ebp - 0x234], cx
push 3
mov eax, 0x4f9b80
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
call fcn.00459050
lea ecx, [ebp - 0x234]
lea ebx, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.00465280
mov byte [ebp - 4], 2
mov bl, al
cmp dword [ebp - 0x220], esi
jb 0x468b85
mov edx, dword [ebp - 0x234]
push edx
call fcn.004cc431
add esp, 4
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x430]
call fcn.00466290
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], esi
jae 0x468bae
lea ecx, [ebp - 0x26c]
lea eax, [ebp - 0x434]
push eax
call fcn.0045ab70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x434]
cmp dword [ecx - 0xc], 0
jl 0x468d6a
push str._root_
push ecx
call fcn.004cf26f
add esp, 8
test eax, eax
je 0x468d64
mov ecx, dword [ebp - 0x434]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x468d6a
cmp dword [ecx - 0xc], 0
jl 0x468d6a
push str._real_
push ecx
call fcn.004cf26f
add esp, 8
test eax, eax
je 0x468d64
mov ecx, dword [ebp - 0x434]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x468d6a
test bl, bl
je 0x468d6a
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.004cfd40
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0045ab70
mov edi, 1
push edi
push 0x4f8eb8
lea ebx, [ebp - 0x438]
mov byte [ebp - 4], 6
call fcn.0045a6d0
push 0xb
push str.realEnc.xml
call fcn.0045a6d0
mov eax, dword [ebp - 0x438]
cmp dword [eax - 4], edi
jle 0x468cb7
mov edx, dword [eax - 0xc]
push edx
mov eax, ebx
push eax
call fcn.00458c10
mov eax, dword [ebp - 0x438]
xor ecx, ecx
mov word [ebp - 0x234], cx
mov ecx, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x468ce0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x234]
call fcn.00459050
lea eax, [ebp - 0x234]
lea esi, [ebp - 0x430]
call fcn.004662c0
cmp dword [ebp - 0x220], 8
mov bl, al
jb 0x468d26
mov edx, dword [ebp - 0x234]
push edx
call fcn.004cc431
add esp, 4
test bl, bl
je 0x468d36
mov eax, dword [ebp - 0x43c]
mov dword [eax + 0xe4], edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468d5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 7
lea esi, [edi + 1]
mov ecx, dword [ebp - 0x434]
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468d8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x258], esi
jb 0x468da1
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.004cc431
add esp, 4
xor edx, edx
lea esi, [ebp - 0x430]
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], dx
mov dword [ebp - 4], 0xffffffff
call fcn.00464fe0
mov esi, dword [ebp - 0x43c]
xor ebx, ebx
cmp dword [esi + 0xe4], ebx
je 0x468e56
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x43c], eax
push str.5.15.0730.1111
mov dword [ebp - 4], edi
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type3uidver_sstartmi_overendrls1envbitmovie
lea edi, [ebp - 0x43c]
call fcn.00458b70
mov edi, dword [ebp - 0x43c]
add esp, 8
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x434], esp
mov ebx, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [ebx], eax
call fcn.004674c0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468e56
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
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.004cbf11
mov esp, ebp
pop ebp
ret