Function at 0x48e0a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50a8a8
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.00459b90
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x454], esi
call fcn.00467bb0
mov byte [esp + 0x450], 2
cmp dword [esp + 0x6c], 8
jb 0x48e140
mov edx, dword [esp + 0x58]
push edx
call fcn.004e5101
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, 0x51e4b0
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.00459b90
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x74]
mov byte [esp + 0x450], 3
call fcn.00468090
mov esi, 8
mov byte [esp + 0x450], 2
mov bl, al
cmp dword [esp + 0x50], esi
jb 0x48e1c6
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e5101
add esp, 4
lea eax, [esp + 0x20]
lea edx, [esp + 0x74]
call fcn.004690a0
mov byte [esp + 0x450], 4
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x48e1e9
lea ecx, [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.004595d0
mov byte [esp + 0x450], 5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x48e383
push str._root_
push ecx
call fcn.004e88ba
add esp, 8
test eax, eax
je 0x48e37f
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x48e383
cmp dword [ecx - 0xc], 0
jl 0x48e383
push str._real_
push ecx
call fcn.004e88ba
add esp, 8
test eax, eax
je 0x48e37f
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x48e383
test bl, bl
je 0x48e383
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x23e]
push edx
mov word [esp + 0x240], cx
call fcn.004e98c0
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.004595d0
push 1
push 0x51d5c8
lea ebx, [esp + 0x18]
mov byte [esp + 0x458], 6
call fcn.0045b440
push 0xb
push str.realEnc.xml
call fcn.0045b440
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x48e2ec
mov edx, dword [eax - 0xc]
push edx
mov eax, ebx
push eax
call fcn.00459670
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 0x48e310
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x48e310
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00459b90
lea eax, [esp + 0x3c]
lea esi, [esp + 0x74]
call fcn.004690d0
cmp dword [esp + 0x50], 8
mov bl, al
jb 0x48e34c
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e5101
add esp, 4
test bl, bl
je 0x48e357
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 0x48e37f
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 0x48e498
cmp byte [edi + 0x1c], 0
jne 0x48e439
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.00459820
mov edi, dword [esp + 0x1c]
add esp, 8
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.0045d010
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x454], 8
mov esi, dword [0x55ad8c]
call fcn.0046ac90
mov esi, eax
mov byte [esp + 0x454], 7
call fcn.00474a70
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 0x48e435
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 0x48e45d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 8
jb 0x48e471
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e5101
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.00467df0
mov eax, 1
jmp 0x48e4f2
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 0x48e4bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 8
jb 0x48e4d0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e5101
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.00467df0
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.004e4be0
mov esp, ebp
pop ebp
ret