Function at 0x48e240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50aa28
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5522c0]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
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.00459bc0
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x454], esi
call fcn.00467c50
mov byte [esp + 0x450], 2
cmp dword [esp + 0x6c], 8
jb 0x48e2e0
mov edx, dword [esp + 0x58]
push edx
call fcn.004e5281
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, 0x51e4b8
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.00459bc0
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x74]
mov byte [esp + 0x450], 3
call fcn.00468130
mov esi, 8
mov byte [esp + 0x450], 2
mov bl, al
cmp dword [esp + 0x50], esi
jb 0x48e366
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e5281
add esp, 4
lea eax, [esp + 0x20]
lea edx, [esp + 0x74]
call fcn.00469140
mov byte [esp + 0x450], 4
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x48e389
lea ecx, [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.00459600
mov byte [esp + 0x450], 5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x48e523
push str._root_
push ecx
call fcn.004e8a3a
add esp, 8
test eax, eax
je 0x48e51f
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x48e523
cmp dword [ecx - 0xc], 0
jl 0x48e523
push str._real_
push ecx
call fcn.004e8a3a
add esp, 8
test eax, eax
je 0x48e51f
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x48e523
test bl, bl
je 0x48e523
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x23e]
push edx
mov word [esp + 0x240], cx
call fcn.004e9a40
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.00459600
push 1
push 0x51d5c8
lea ebx, [esp + 0x18]
mov byte [esp + 0x458], 6
call fcn.0045b460
push 0xb
push str.realEnc.xml
call fcn.0045b460
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x48e48c
mov edx, dword [eax - 0xc]
push edx
mov eax, ebx
push eax
call fcn.004596a0
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 0x48e4b0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x48e4b0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00459bc0
lea eax, [esp + 0x3c]
lea esi, [esp + 0x74]
call fcn.00469170
cmp dword [esp + 0x50], 8
mov bl, al
jb 0x48e4ec
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e5281
add esp, 4
test bl, bl
je 0x48e4f7
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 0x48e51f
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 0x48e638
cmp byte [edi + 0x1c], 0
jne 0x48e5d9
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push str.5.34.0227.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.00459850
mov edi, dword [esp + 0x1c]
add esp, 8
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x454], 8
mov esi, dword [0x55ad8c]
call fcn.0046ad00
mov esi, eax
mov byte [esp + 0x454], 7
call fcn.004749a0
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 0x48e5d5
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 0x48e5fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 8
jb 0x48e611
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e5281
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.00467e90
mov eax, 1
jmp 0x48e692
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 0x48e65c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 8
jb 0x48e670
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e5281
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.00467e90
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.004e4d50
mov esp, ebp
pop ebp
ret