Function at 0x470240
Capabilities:
Create process on windows
Delete registry key
Get common file path
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4effb4
mov eax, dword fs:[0]
push eax
mov eax, 0x1a94
call fcn.004d34b0
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
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004cfd40
add esp, 0xc
lea edx, [ebp - 0x1a70]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1a5c]
push ecx
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallStormPlayer
mov ebx, 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1a70], 0x102
mov dword [ebp - 0x1a5c], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4703de
lea edx, [ebp - 0x218]
push 0x5c
push edx
call fcn.004ce618
xor ecx, ecx
add esp, 8
lea edx, [ebp - 0x1a64]
mov word [eax], cx
push edx
lea ecx, [ebp - 0x218]
call fcn.0045ab70
push 0
push str.BaofengPlatform
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x47032f
push 0
push 0x7d0
push 0
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ecx, 0x4fb948
call fcn.00470d10
mov ecx, 0x4fb970
call fcn.00470d10
mov ecx, str.stormpop.exe
call fcn.00470d10
mov ecx, 0x4fb994
call fcn.00470d10
mov ecx, 0x4fb9c4
call fcn.00470d10
mov ecx, str.MediaEnc.exe
call fcn.00470d10
mov ecx, 0x4fb9e8
call fcn.00470d10
mov ecx, 0x4fba00
call fcn.00470d10
mov ecx, 0x4fba18
call fcn.00470d10
mov ecx, 0x4fba34
call fcn.00470d10
mov ecx, 0x4fba48
call fcn.00470d10
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
push 0x25
lea eax, [ebp - 0xa38]
push eax
push 0
call edi
test eax, eax
jne 0x4703e5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4703de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x470cf1
push ebx
push 0x23
lea ecx, [ebp - 0x420]
push ecx
push 0
call edi
test eax, eax
jne 0x470416
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a64]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4703d2
push ebx
push 0
lea ecx, [ebp - 0x628]
push ecx
push 0
call edi
test eax, eax
je 0x4703f7
push ebx
push 0x10
lea ecx, [ebp - 0x830]
push ecx
push 0
call edi
test eax, eax
jne 0x47044c
lea ecx, [ebp - 0x1a64]
call fcn.0045a790
xor eax, eax
jmp 0x470cf1
push ebx
push 0x19
lea edx, [ebp - 0xc40]
push edx
push 0
call edi
test eax, eax
je 0x47043a
push ebx
push 0x17
lea eax, [ebp - 0x1050]
push eax
push 0
call edi
test eax, eax
je 0x47043a
lea eax, [ebp - 0x1258]
call fcn.00495f30
test eax, eax
je 0x47043a
lea ecx, [ebp - 0x1a88]
push ecx
lea ecx, [ebp - 0xa38]
call fcn.0045ab70
lea edx, [ebp - 0x1a94]
push edx
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], bl
call fcn.0045ab70
lea eax, [ebp - 0x1a84]
push eax
lea ecx, [ebp - 0x628]
mov byte [ebp - 4], 2
call fcn.0045ab70
lea ecx, [ebp - 0x1a7c]
push ecx
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 3
call fcn.0045ab70
lea edx, [ebp - 0x1a78]
push edx
lea ecx, [ebp - 0xc40]
mov byte [ebp - 4], 4
call fcn.0045ab70
lea eax, [ebp - 0x1a74]
push eax
lea ecx, [ebp - 0x1050]
mov byte [ebp - 4], 5
call fcn.0045ab70
lea ecx, [ebp - 0x1a8c]
push ecx
lea ecx, [ebp - 0x1258]
mov byte [ebp - 4], 6
call fcn.0045ab70
mov byte [ebp - 4], 7
call fcn.0045c5d0
test al, al
je 0x470561
lea edx, [ebp - 0x1a74]
push edx
lea eax, [ebp - 0x1a70]
push eax
mov ebx, 0x4fba74
call fcn.0045c1d0
mov ecx, dword [ebp - 0x1a70]
add esp, 8
push 0
push 0
push 0
push ecx
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1a70]
call fcn.0045a790
lea edx, [ebp - 0x1a64]
push edx
lea eax, [ebp - 0x1a6c]
push eax
mov ebx, str.MediaLibrary.dll
call fcn.0045c1d0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1a6c]
push 0
push ecx
call fcn.00458850
lea edx, [ebp - 0x1a64]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, str.webplayerplayershell.dll
call fcn.0045c1d0
add esp, 0x18
lea edi, [ebp - 0x1a6c]
mov byte [ebp - 4], 9
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 8
call fcn.0045a790
mov ecx, dword [ebp - 0x1a6c]
push 0
push ecx
call fcn.00458850
add esp, 8
call fcn.0045c620
test al, al
jne 0x470622
lea edx, [ebp - 0x1a64]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, 0x4fbad8
call fcn.0045c1d0
add esp, 8
mov byte [ebp - 4], 0xa
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 8
call fcn.0045a790
mov ecx, dword [ebp - 0x1a6c]
push 0
push ecx
call fcn.00458850
add esp, 8
lea edx, [ebp - 0x1a88]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, str.StormAxInstallInstallShell.dll
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a6c]
mov byte [ebp - 4], 0xb
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 8
call fcn.0045a790
mov ecx, dword [ebp - 0x1a6c]
push 0
push ecx
call fcn.00458850
lea edx, [ebp - 0x1a64]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, str.AddressBar.dll
call fcn.0045c1d0
add esp, 0x10
mov byte [ebp - 4], 0xc
call fcn.0045c2b0
mov bl, 8
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], bl
call fcn.0045a790
mov ecx, dword [ebp - 0x1a6c]
push 0
push ecx
call fcn.00458850
mov eax, dword [ebp - 0x1a94]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x1a5c], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x1a88]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a70], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1a64]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
push esi
mov byte [ebp - 4], bl
call fcn.00474810
lea edx, [ebp - 0x1a84]
push edx
lea eax, [ebp - 0x1a60]
push eax
mov ebx, 0x4fbaf4
call fcn.0045c1d0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1a60]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea ecx, [ebp - 0x1a84]
push ecx
lea edx, [ebp - 0x1a5c]
push edx
mov ebx, 0x4fbb0c
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x10
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea eax, [ebp - 0x1a84]
push eax
lea ecx, [ebp - 0x1a5c]
push ecx
mov ebx, 0x4fb870
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x11
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea edx, [ebp - 0x1a7c]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, 0x4fbaf4
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x12
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea ecx, [ebp - 0x1a7c]
push ecx
lea edx, [ebp - 0x1a5c]
push edx
mov ebx, 0x4fbb0c
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x13
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea eax, [ebp - 0x1a7c]
push eax
lea ecx, [ebp - 0x1a5c]
push ecx
mov ebx, 0x4fb870
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x14
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea edx, [ebp - 0x1a78]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, 0x4fbaf4
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x15
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea ecx, [ebp - 0x1a78]
push ecx
lea edx, [ebp - 0x1a5c]
push edx
mov ebx, 0x4fbb0c
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x16
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea eax, [ebp - 0x1a78]
push eax
lea ecx, [ebp - 0x1a5c]
push ecx
mov ebx, 0x4fb870
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x17
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea edx, [ebp - 0x1a74]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, 0x4fbb24
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x18
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov ecx, dword [ebp - 0x1a60]
push 0
push ecx
call fcn.0045bf10
lea edx, [ebp - 0x1a74]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, 0x4fb918
call fcn.0045c1d0
add esp, 0x10
mov byte [ebp - 4], 0x19
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov ecx, dword [ebp - 0x1a60]
push 0
push ecx
call fcn.0045bf10
lea edx, [ebp - 0x1a8c]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ebx, 0x4fbaf4
call fcn.0045c1d0
add esp, 0x10
mov byte [ebp - 4], 0x1a
call fcn.0045c2b0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1a5c]
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea ecx, [ebp - 0x1a8c]
push ecx
lea edx, [ebp - 0x1a5c]
push edx
mov ebx, 0x4fb870
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x1a60]
mov byte [ebp - 4], 0x1b
call fcn.0045c2b0
lea ecx, [ebp - 0x1a5c]
mov byte [ebp - 4], 0xf
call fcn.0045a790
mov eax, dword [ebp - 0x1a60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1a68], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0045bb10
add esp, 4
lea eax, [ebp - 0x1a80]
push eax
mov ecx, str.SoftwareBaofengStormPlayerUserConfigDirectShow
call fcn.0045ab70
mov eax, 4
lea ecx, [ebp - 0x1a98]
push ecx
mov ecx, dword [ebp - 0x1a80]
lea edx, [ebp - 0x1a90]
push edx
mov dword [ebp - 0x1a98], eax
mov dword [ebp - 0x1a9c], eax
lea eax, [ebp - 0x1a9c]
push eax
push str.BHDState
push ecx
push SysReAllocStringLen
xor bl, bl
mov dword [ebp - 0x1a90], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x470bd8
mov bl, 1
mov esi, dword [ebp - 0x1a80]
push esi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp eax, 5
jne 0x470c55
lea edx, [ebp - 0x1a5c]
push edx
lea eax, [ebp - 0xe48]
push eax
mov dword [ebp - 0x1a5c], 0x202
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push esi
push str.CURRENT_USER
push str._s_s
lea ecx, [ebp - 0x1a58]
push 0x800
push ecx
call fcn.004ce646
add esp, 0x14
push 0xf003f
lea edx, [ebp - 0xe48]
push edx
push 2
lea edi, [ebp - 0x1a58]
call fcn.0045c720
test eax, eax
je 0x470c55
push esi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test bl, bl
je 0x470c73
mov eax, dword [ebp - 0x1a90]
mov esi, dword [ebp - 0x1a80]
push eax
mov ebx, str.BHDState
call fcn.0045c450
add esp, 4
lea ecx, [ebp - 0x1a80]
call fcn.0045a790
lea ecx, [ebp - 0x1a60]
call fcn.0045a790
lea ecx, [ebp - 0x1a6c]
call fcn.0045a790
lea ecx, [ebp - 0x1a8c]
call fcn.0045a790
lea ecx, [ebp - 0x1a74]
call fcn.0045a790
lea ecx, [ebp - 0x1a78]
call fcn.0045a790
lea ecx, [ebp - 0x1a7c]
call fcn.0045a790
lea ecx, [ebp - 0x1a84]
call fcn.0045a790
lea ecx, [ebp - 0x1a94]
call fcn.0045a790
lea ecx, [ebp - 0x1a88]
call fcn.0045a790
lea ecx, [ebp - 0x1a64]
call fcn.0045a790
mov eax, 1
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