Function at 0x1001e6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9b67
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10114894]
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
call fcn.100078b0
mov ecx, eax
test ecx, ecx
je 0x1001eabe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.__pid
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.10008820
test al, al
jne 0x1001e780
mov ecx, str.__pid
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e760
sub ecx, edx
sar ecx, 1
push ecx
push str.__pid
lea ecx, [ebp - 0x21c]
call fcn.100070c0
lea edi, [esi + 0x24]
mov dword [ebp - 4], 1
push edi
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.1001d080
mov edx, dword [ebp - 0x21c]
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e7c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x1001e8a9
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.1001d5b0
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.10006990
mov edx, dword [ebp - 0x21c]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e80d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x1001e85b
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.1001d2c0
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.10006990
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e856
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x24]
jmp 0x1001e862
mov dword [esi + 0xc], 1
cmp dword [eax - 0xc], 0
jne 0x1001e8a9
push 0xd0
lea ecx, [ebp - 0x224]
call fcn.10008a60
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.10006990
mov edx, dword [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001e8a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10066cd0
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0x100e5c10
push dword [0x1011300c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x1001ea99
lea ecx, [ebp - 0x218]
lea ebx, [esi + 0x14]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e920
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.100070c0
mov edi, dword [ebx]
xor esi, esi
movzx eax, word [edi]
test ax, ax
je 0x1001e9bb
mov ecx, eax
nop dword [eax]
push ecx
call fcn.10082da5
add esp, 4
test eax, eax
je 0x1001e968
test esi, esi
mov eax, edi
cmovne eax, esi
mov esi, eax
jmp 0x1001e96a
xor esi, esi
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x1001e950
test esi, esi
je 0x1001e9bb
mov edx, dword [ebx]
sub esi, edx
sar esi, 1
js 0x1001eac8
mov eax, dword [edx - 8]
mov edi, 1
mov ecx, edi
sub eax, esi
sub ecx, dword [edx - 4]
or ecx, eax
jge 0x1001e9a5
push esi
mov ecx, ebx
call fcn.10006d70
mov edx, dword [ebx]
cmp esi, dword [edx - 8]
jg 0x1001eac8
mov dword [edx - 0xc], esi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + esi*2], cx
jmp 0x1001e9c0
mov edi, 1
mov esi, dword [ebx]
movzx eax, word [esi]
push eax
call fcn.10082da5
add esp, 4
test eax, eax
je 0x1001e9e6
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.10082da5
add esp, 4
test eax, eax
jne 0x1001e9d2
mov ecx, dword [ebx]
cmp esi, ecx
je 0x1001eaa2
mov edx, dword [ecx - 0xc]
sub esi, ecx
sar esi, 1
test edx, edx
js 0x1001ead2
mov eax, dword [ecx - 8]
sub edi, dword [ecx - 4]
sub eax, edx
or edi, eax
jge 0x1001ea15
push edx
mov ecx, ebx
call fcn.10006d70
mov ecx, dword [ebx]
mov edi, dword [ecx - 0xc]
lea eax, [ecx + esi*2]
sub edi, esi
lea edx, [edi*2 + 2]
test edx, edx
je 0x1001ea76
test eax, eax
jne 0x1001ea43
call fcn.10081a09
mov dword [eax], 0x16
call fcn.100818e3
mov eax, 0x16
jmp 0x1001ea78
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
cmp eax, edx
jae 0x1001ea68
call fcn.10081a09
mov dword [eax], 0x22
call fcn.100818e3
mov eax, 0x22
jmp 0x1001ea78
push edx
lea eax, [ecx + esi*2]
push eax
push ecx
call fcn.10067940
add esp, 0xc
xor eax, eax
push eax
call fcn.10008300
add esp, 4
test edi, edi
js 0x1001eac8
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x1001eac8
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
jmp 0x1001eaa2
push edi
lea ecx, [esi + 0x14]
call fcn.10006990
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.1005e6b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005050
push 0x80070057
call fcn.10005050
push 0x80070057
call fcn.10005050
int3