Function at 0x10014cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db58d
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x10121b54]
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
call fcn.1000a020
mov ecx, eax
test ecx, ecx
je 0x10014f5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov eax, 0x100ec16c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
test eax, 0xffff0000
jne 0x10014d5f
movzx eax, ax
push eax
call fcn.1000a430
jmp 0x10014d6b
push 1
push 0x100ec16c
call fcn.1000ab90
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x244], 1
call fcn.100b28f0
add esp, 0xc
mov dword [ebp - 0x240], 0x104
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x244]
push eax
push 0x100ec170
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or ebx, 0xffffffff
test eax, eax
jne 0x10014f05
lea eax, [ebp - 0x230]
push eax
call fcn.10015010
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x10014dec
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x23c]
call fcn.10007e60
mov byte [ebp - 4], 3
call fcn.1000a020
mov ecx, eax
test ecx, ecx
je 0x10014f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x10014e3b
movzx eax, ax
lea ecx, [ebp - 0x234]
push eax
call fcn.1000a430
jmp 0x10014e66
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014e44
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.1000ab90
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10089f80
add esp, 0xc
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 6
call fcn.100140b0
mov edx, dword [ebp - 0x248]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014eb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014ed9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014efa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.10008ee0
mov esi, dword [ebp - 0x238]
push esi
call fcn.100b9d70
mov edi, eax
add esp, 4
cmp edi, 1
jg 0x10014f20
cmp edi, 0xffffffff
jge 0x10014f22
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10014f3e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.10097f4e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009e10
push 0x80004005
call fcn.10009e10
int3