Function at 0x4393f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561985
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push esi
push edi
sub esp, 0x18
mov ebx, ecx
mov ecx, esp
push 0x13
push str.SoftwarePCAppStore
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x18]
call fcn.00437680
add esp, 0x18
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439466
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00424490
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4394a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push 8
push str.AppParam
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x1c]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4394f0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.00424490
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439527
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp - 0x18]
call fcn.00437900
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x18]
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x439574
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x4395e9
sub esp, 0x18
mov dword [ebp - 0x20], 0x200
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp - 0x10]
call fcn.00437900
add esp, 0x18
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x450]
push ecx
push edi
push edi
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x10]
mov edi, eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4395ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x439653
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 7
push str.default
mov ecx, ebx
call fcn.00424700
xor bl, bl
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x439625
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43961b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4396ab
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x439698
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43968e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4396ab
jmp 0x43968e
lea ecx, [ebp - 0x450]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439660
sub ecx, edx
lea eax, [ebp - 0x450]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00424700
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x4395eb
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005370ef
int3