Function at 0x48a680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506888
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x54c2c0]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x54c2c0]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
xor esi, esi
mov word [esp + 0x58], ax
mov ebx, 7
push 0x27
mov eax, str.http:__www.plugshare.cn_ecs_realEnc.xml
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], edi
mov dword [edi + 0x24], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], esi
call fcn.004597d0
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x454], esi
call fcn.00466d90
mov byte [esp + 0x450], 2
cmp dword [esp + 0x6c], 8
jb 0x48a720
mov edx, dword [esp + 0x58]
push edx
call fcn.004e0f21
add esp, 4
xor eax, eax
mov word [esp + 0x58], ax
mov eax, 0x1770
xor ecx, ecx
mov dword [esp + 0x228], eax
mov dword [esp + 0x22c], eax
mov dword [esp + 0x230], eax
mov word [esp + 0x3c], cx
push 3
mov eax, 0x51a220
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x228], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
call fcn.004597d0
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x74]
mov byte [esp + 0x450], 3
call fcn.00467280
mov esi, 8
mov byte [esp + 0x450], 2
mov bl, al
cmp dword [esp + 0x50], esi
jb 0x48a7a6
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e0f21
add esp, 4
lea eax, [esp + 0x20]
lea edx, [esp + 0x74]
call fcn.00468290
mov byte [esp + 0x450], 4
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x48a7c9
lea ecx, [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.00459410
mov byte [esp + 0x450], 5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x48a963
push str._root_
push ecx
call fcn.004e45d2
add esp, 8
test eax, eax
je 0x48a95f
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x48a963
cmp dword [ecx - 0xc], 0
jl 0x48a963
push str._real_
push ecx
call fcn.004e45d2
add esp, 8
test eax, eax
je 0x48a95f
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x48a963
test bl, bl
je 0x48a963
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x23e]
push edx
mov word [esp + 0x240], cx
call fcn.004e5590
add esp, 0xc
lea eax, [esp + 0x234]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x238]
call fcn.00459410
push 1
push 0x5194e0
lea ebx, [esp + 0x18]
mov byte [esp + 0x458], 6
call fcn.0045ae80
push 0xb
push str.realEnc.xml
call fcn.0045ae80
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x48a8cc
mov edx, dword [eax - 0xc]
push edx
mov eax, ebx
push eax
call fcn.004591f0
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [esp + 0x3c], cx
mov ecx, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
lea esi, [ecx + 2]
jmp 0x48a8f0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x48a8f0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x40]
call fcn.004597d0
lea eax, [esp + 0x3c]
lea esi, [esp + 0x74]
call fcn.004682c0
cmp dword [esp + 0x50], 8
mov bl, al
jb 0x48a92c
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e0f21
add esp, 4
test bl, bl
je 0x48a937
mov dword [edi + 0x24], 1
mov byte [esp + 0x450], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a95f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [edi + 0x24], 0
je 0x48aa78
cmp byte [edi + 0x1c], 0
jne 0x48aa19
mov edx, dword [0x54bf18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54bf18
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push str.5.27.0731.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type3uidver_sstartmi_overendrls1envbitmovie
lea edi, [esp + 0x1c]
mov byte [esp + 0x45c], 7
call fcn.00458e60
mov edi, dword [esp + 0x1c]
add esp, 8
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.0045c680
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x454], 8
mov esi, dword [0x554ce8]
call fcn.00469d20
mov esi, eax
mov byte [esp + 0x454], 7
call fcn.004731a0
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x1c], 1
mov byte [esp + 0x450], 5
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48aa15
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
mov byte [esp + 0x450], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48aa3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 8
jb 0x48aa51
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e0f21
add esp, 4
xor edx, edx
lea esi, [esp + 0x74]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
call fcn.00466fe0
mov eax, 1
jmp 0x48aad2
lea eax, [ecx - 0x10]
mov byte [esp + 0x450], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48aa9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 8
jb 0x48aab0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e0f21
add esp, 4
xor edx, edx
lea esi, [esp + 0x74]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
call fcn.00466fe0
xor eax, eax
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.004e0a00
mov esp, ebp
pop ebp
ret