Function at 0x474100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e285
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x51fa0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push 0x51fa28
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x474202
cmp byte [ebx + 0xc8], 0
jne 0x474172
push edi
push 0x51e5e4
push 0x51fa38
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.5.34.0227.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over1endrlsenvbitmovie
lea edi, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.00459850
mov edi, dword [ebp - 0x21c]
add esp, 8
add edi, 0xfffffff0
mov esi, esp
mov eax, edi
mov dword [ebp - 0x220], esp
mov dword [ebp - 0x224], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov esi, ebx
mov byte [ebp - 4], 0
call fcn.004749a0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4743f6
mov ecx, dword [edi]
push edi
jmp 0x4743ef
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
lea edi, [ebp - 0x224]
mov dword [ebp - 4], 3
call fcn.00474dd0
test eax, eax
je 0x4742dd
mov ecx, dword [ebp - 0x224]
push str.Guest
push ecx
call fcn.004e7923
add esp, 8
test eax, eax
jne 0x4742dd
cmp byte [ebx + 0xc8], al
jne 0x47426b
push eax
push 0x51e5e4
push str.S_MR_f
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
push ecx
push edx
push str.5.34.0227.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over7endrlsenv_sbit_smovie
lea edi, [ebp - 0x21c]
call fcn.00459850
mov edi, dword [ebp - 0x21c]
add esp, 0x10
add edi, 0xfffffff0
mov esi, esp
mov eax, edi
mov dword [ebp - 0x220], esp
mov dword [ebp - 0x228], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
jmp 0x4743a9
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
lea esp, [esp]
push str.Baofeng_StormPlayer_Mutex
push 0
push 0x1f0001
call esi
test eax, eax
jne 0x474317
push str.StormPlayer_Mutex_238724adhsDWEE987sdfdf
push eax
push 0x1f0001
call esi
test eax, eax
je 0x474413
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebx + 0xc8], 0
jne 0x47433c
push 0x35
push 0x51e5e4
push 0x51fc30
push 0
call edi
cmp eax, 4
je 0x4742f0
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
push ecx
push edx
push str.5.34.0227.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.00459850
mov edi, dword [ebp - 0x21c]
add esp, 0x10
add edi, 0xfffffff0
mov esi, esp
mov eax, edi
mov dword [ebp - 0x230], esp
mov dword [ebp - 0x228], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
mov esi, ebx
call fcn.004749a0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4743cd
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
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 0x4743f6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
push str.1ACCDC9C_A4E4_4B1B_9417_20ED4F5BF991
push 0
push 0x1f0001
call esi
test eax, eax
je 0x47442e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x474437
call fcn.0048c760
test eax, eax
je 0x474496
cmp byte [ebx + 0xc8], 0
jne 0x474455
push 0x35
push 0x51e5e4
push 0x51fd68
push 0
call edi
cmp eax, 4
je 0x474413
cmp dword [0x55ad88], 0
je 0x47492d
mov esi, dword [0x55ad8c]
mov eax, esi
call fcn.00495220
mov eax, dword [eax + 0x14c]
push 0
push 0x51fdc4
push 0x51fde4
mov ecx, esi
call fcn.0046afa0
cmp eax, 1
jne 0x47492d
call fcn.0048c460
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.004e9a40
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push str.DisplayName
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallStorm2
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0x102
mov dword [ebp - 0x220], 1
call esi
test eax, eax
jne 0x474662
lea eax, [ebp - 0x218]
push eax
push 0x51fe98
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4745c7
mov dword [ebx + 0x18], 1
cmp byte [ebx + 0xc8], al
jne 0x4745c7
push 4
push 0x51e5e4
push 0x51fea8
push eax
call edi
cmp eax, 7
jne 0x4745c7
lea esi, [ebp - 0x220]
call fcn.00459220
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
push ecx
push edx
push str.5.34.0227.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over3endrlsenv_sbit_smovie
mov edi, esi
call fcn.00459850
mov eax, dword [ebp - 0x220]
add esp, 0x10
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x21c], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
mov esi, ebx
call fcn.004749a0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.00459240
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
call fcn.00459240
jmp 0x4743f6
lea eax, [ebp - 0x218]
push eax
push 0x51ff84
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x474662
mov dword [ebx + 0x10], 1
cmp byte [ebx + 0xc8], al
jne 0x474662
push 4
push 0x51e5e4
push 0x51ff90
push eax
call edi
cmp eax, 7
jne 0x474662
lea esi, [ebp - 0x220]
call fcn.00459220
mov byte [ebp - 4], 0x10
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
push ecx
push edx
push str.5.34.0227.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over3endrlsenv_sbit_smovie
mov edi, esi
call fcn.00459850
mov eax, dword [ebp - 0x220]
add esp, 0x10
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x21c], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x10
jmp 0x47459a
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e9a40
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x220]
push eax
push str.DisplayVersion
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallStormPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0x102
mov dword [ebp - 0x220], 1
call esi
test eax, eax
jne 0x4748fa
push 0x51d754
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4748fa
lea edx, [ebp - 0x220]
push edx
mov ecx, str.5.34.0227.1111
mov dword [ebx + 0x14], 1
call fcn.00459600
lea eax, [ebp - 0x229]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x220]
push eax
push ecx
lea esi, [ebp - 0x258]
call fcn.00494c80
lea edx, [ebp - 0x229]
push edx
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x244]
mov byte [ebp - 4], 0x14
call fcn.00494c80
mov eax, esi
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x15
call fcn.00494d10
test eax, eax
jns 0x474850
cmp byte [ebx + 0xc8], 0
jne 0x4747f2
push 4
push 0x51e5e4
push str.S_MR
push 0
call edi
cmp eax, 7
jne 0x4748d2
lea esi, [ebp - 0x21c]
call fcn.00459220
mov byte [ebp - 4], 0x16
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
push ecx
push edx
push str.5.34.0227.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over3endrlsenv_sbit_smovie
mov edi, esi
call fcn.00459850
mov eax, dword [ebp - 0x21c]
add esp, 0x10
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x230], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x16
mov esi, ebx
call fcn.004749a0
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x15
call fcn.00459240
mov byte [ebp - 4], 0x14
mov eax, vtable.CVersion.0
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x258], eax
jmp 0x4745a1
lea esi, [ebp - 0x21c]
call fcn.00459220
mov byte [ebp - 4], 0x19
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
push eax
push ecx
push str.5.34.0227.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over3endrlsenv_sbit_smovie
mov edi, esi
call fcn.00459850
mov eax, dword [ebp - 0x21c]
add esp, 0x10
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x230], esp
mov dword [ebp - 0x228], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x19
jmp 0x4747be
cmp byte [ebx + 0xc8], 0
jne 0x4748d2
cmp dword [ebx + 0x10], 0
jne 0x4748d2
push 4
push 0x51e5e4
push 0x51ff90
push 0
call edi
cmp eax, 7
jne 0x4748d2
lea esi, [ebp - 0x21c]
call fcn.00459220
mov byte [ebp - 4], 0x1c
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
push edx
push eax
push str.5.34.0227.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type2uidver_sstartmi_over3endrlsenv_sbit_smovie
mov edi, esi
call fcn.00459850
mov eax, dword [ebp - 0x21c]
add esp, 0x10
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x230], esp
mov dword [ebp - 0x228], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1c
jmp 0x4747be
mov byte [ebp - 4], 0x14
mov eax, vtable.CVersion.0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 3
call fcn.00459240
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 0x474923
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4743f8
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
push ecx
push edx
push str.5.34.0227.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.00459850
mov edi, dword [ebp - 0x21c]
add esp, 0x10
add edi, 0xfffffff0
mov esi, esp
mov eax, edi
mov dword [ebp - 0x230], esp
mov dword [ebp - 0x228], esi
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
jmp 0x4743a9