Function at 0x469140
Capabilities:
Get session information
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0902
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4c4330]
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
push str.KERNEL32.DLL
mov esi, ecx
mov dword [ebp - 0x228], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push 0x4aa95c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, section..data
test edi, edi
jne 0x46922a
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.5.12.0523.1111
mov dword [ebp - 4], edi
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over1endrlsenvbitmovie
lea edi, [ebp - 0x21c]
call fcn.00458a90
mov ebx, dword [ebp - 0x21c]
add esp, 8
add ebx, 0xfffffff0
mov eax, ebx
mov dword [ebp - 0x220], esp
mov edi, esp
call fcn.0045c0b0
add eax, 0x10
mov dword [edi], eax
call fcn.00468df0
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4695e9
mov ecx, dword [ebx]
push ebx
jmp 0x4695e2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x4a691c
lea ecx, [ebp - 0x224]
push ecx
xor ebx, ebx
mov dword [ebp - 4], 1
call fcn.0045a790
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x21c]
push eax
push 5
xor edi, edi
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x46931c
mov edx, dword [ebp - 0x21c]
cmp edx, edi
jne 0x469295
xor eax, eax
jmp 0x4692af
mov eax, edx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4692a0
sub eax, ebx
sar eax, 1
push edx
lea ecx, [ebp - 0x224]
push ecx
mov ebx, eax
call fcn.0045a790
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [ebp - 0x224]
push str.Guest
push eax
call fcn.004884e3
add esp, 8
cmp eax, edi
jne 0x46931c
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
push str.5.12.0523.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over7endrlsenv_sbit_smovie
jmp 0x469569
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push str.Baofeng_StormPlayer_Mutex
push edi
push 0x1f0001
call ebx
cmp eax, edi
jne 0x46952e
push str.StormPlayer_Mutex_238724adhsDWEE987sdfdf
push edi
push 0x1f0001
call ebx
cmp eax, edi
jne 0x46952e
push str.1ACCDC9C_A4E4_4B1B_9417_20ED4F5BF991
push edi
push 0x1f0001
call ebx
cmp eax, edi
je 0x469386
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 4
jmp 0x469552
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x218], cx
call fcn.00488d60
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x21c]
push edx
push str.DisplayName
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallStorm2
mov edi, 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], 0x102
mov dword [ebp - 0x21c], edi
call ebx
test eax, eax
jne 0x46941a
lea eax, [ebp - 0x218]
push eax
push 0x4aac88
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x469402
mov dword [esi + 8], edi
lea ecx, [ebp - 0x218]
push ecx
push 0x4aad24
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x46941a
mov dword [esi], edi
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00488d60
add esp, 0xc
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
push str.DisplayVersion
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallStormPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], 0x102
mov dword [ebp - 0x21c], edi
call ebx
test eax, eax
jne 0x4695c0
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x4a691c
lea ecx, [ebp - 0x218]
push ecx
call ebx
test eax, eax
je 0x4695c0
lea edx, [ebp - 0x218]
push edx
push str.5.12.0523.1111
mov dword [esi + 4], edi
call ebx
test eax, eax
jns 0x4695c0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push str.5.12.0523.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over3endrlsenv_sbit_smovie
lea edi, [ebp - 0x21c]
call fcn.00458a90
mov ebx, dword [ebp - 0x21c]
add esp, 0x10
add ebx, 0xfffffff0
mov eax, ebx
mov dword [ebp - 0x220], esp
mov edi, esp
call fcn.0045c0b0
add eax, 0x10
mov dword [edi], eax
call fcn.00468df0
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x4695b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
push str.5.12.0523.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over2endrlsenv_sbit_smovie
lea edi, [ebp - 0x21c]
call fcn.00458a90
mov ebx, dword [ebp - 0x21c]
add esp, 0x10
add ebx, 0xfffffff0
mov eax, ebx
mov dword [ebp - 0x220], esp
mov edi, esp
call fcn.0045c0b0
add eax, 0x10
mov dword [edi], eax
call fcn.00468df0
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4695c0
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4695e9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x228]
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.00485631
mov esp, ebp
pop ebp
ret