Function at 0x4391e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5371cd
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x594624]
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
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa5c], 0
push 0
push eax
call fcn.004daa30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.NetBridge.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.00471250
add esp, 4
test eax, eax
je 0x4395d6
lea eax, [ebp - 0x218]
push eax
call fcn.0042ab10
mov ecx, eax
call fcn.0042abb0
push dword [ebp - 0xa54]
lea ebx, [esi + 0x88]
call fcn.0042ab10
mov ecx, eax
call fcn.0042a900
push eax
mov ecx, ebx
call fcn.0040d570
push dword [ebp - 0xa54]
lea edi, [esi + 0x90]
call fcn.0042ab10
mov ecx, eax
call fcn.0042a900
push eax
mov ecx, edi
call fcn.0040d570
push 0
push 0
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallLdsLite
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042e910
mov ecx, dword [ebx]
add esp, 0x14
test ecx, ecx
je 0x4395d1
cmp dword [edi], 0
je 0x4395d1
test eax, eax
jne 0x4395d1
lea eax, [esi + 0x40]
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [ecx]
push esi
call dword [eax]
mov ecx, dword [ebx]
push str.http:__www.ludashi.com_appstore_uninst_promote.ini
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
call dword [eax]
push 0x200
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.004daa30
add esp, 0xc
call fcn.004536e0
push 0xff
lea edx, [ebp - 0x418]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
push 0x208
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.004daa30
add esp, 0xc
lea eax, [ebp - 0xa30]
push 0x104
push eax
call fcn.0049c8c0
push 0x208
lea eax, [ebp - 0x828]
push 0
push eax
call fcn.004daa30
add esp, 0xc
lea eax, [ebp - 0x828]
push 0x104
push eax
call fcn.00495270
lea ecx, [ebp - 0xa58]
call fcn.004165b0
push 0x208
lea eax, [ebp - 0x620]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004daa30
lea eax, [ebp - 0xa48]
mov dword [ebp - 0xa50], 1
push 1
push eax
mov dword [ebp - 0xa4c], 0x208
call fcn.0042de70
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x4393f3
mov eax, dword [eax]
lea ecx, [ebp - 0xa4c]
push ecx
lea ecx, [ebp - 0x620]
push ecx
lea ecx, [ebp - 0xa50]
push ecx
push 0x551194
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0xa34]
cmp edx, 8
jb 0x439459
mov ecx, dword [ebp - 0xa48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43944f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4395f2
push edx
push ecx
call fcn.004939be
add esp, 8
xor eax, eax
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
lea eax, [ebp - 0x620]
push eax
mov dword [ebp - 0xa34], 7
call fcn.00507fb7
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0xa30]
setg cl
push eax
lea eax, [ebp - 0x418]
push eax
push ecx
lea eax, [ebp - 0xa58]
push str._appmsfromuninstbuy_dpid_smid_smid2_s
push eax
call fcn.0041de00
mov eax, dword [edi]
add esp, 0x1c
mov dword [ebp - 0xa54], eax
mov edi, dword [ebp - 0xa58]
mov byte [ebp - 4], 1
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x4394d7
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4394ed
call fcn.00412c30
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4395f7
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0xa5c], 1
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0xa4c], esi
mov dword [ebp - 0xa50], eax
lea ebx, [eax + 0x2d]
test ebx, ebx
js 0x439601
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x43953c
push ebx
lea ecx, [ebp - 0xa4c]
call fcn.0040d020
mov esi, dword [ebp - 0xa4c]
test esi, esi
jne 0x439552
call fcn.004e62ce
mov dword [eax], 0x16
call fcn.004e61a8
jmp 0x439562
push 0x5a
push str.http:__www.ludashi.com_appstore_app_times.php
push esi
call fcn.004da4b0
add esp, 0xc
mov eax, dword [ebp - 0xa50]
push eax
push edi
push eax
lea eax, [esi + 0x5a]
push eax
call fcn.0040cbf0
add esp, 0x10
cmp ebx, dword [esi - 8]
jg 0x439601
mov ecx, dword [ebp - 0xa54]
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
push esi
mov eax, dword [ecx]
push 0
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4395b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea edx, [edi - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4395d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00493dce
mov esp, ebp
pop ebp
ret
call fcn.004e61b8
push 0x80004005
call fcn.0040b4c0
push 0x80070057
call fcn.0040b4c0
int3