Function at 0x100345f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065f79
mov eax, dword fs:[0]
push eax
mov eax, 0x4048
call fcn.10024470
mov eax, dword [0x10083180]
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 edi, ecx
mov dword [ebp - 0x4054], edi
cmp dword [edi + 0x10], 0
jne 0x10034637
xor eax, eax
jmp 0x10034b05
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x10034630
xorps xmm0, xmm0
mov dword [ebp - 0x4040], 0
movq qword [ebp - 0x4048], xmm0
mov dword [ebp - 0x4048], 0
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x4040], 0
push 0x20219
push eax
push 0x80000002
lea ecx, [ebp - 0x4048]
mov dword [ebp - 4], 0
call fcn.100217b0
mov ebx, dword [ebp - 0x4048]
test eax, eax
je 0x100346a1
xor esi, esi
jmp 0x10034af8
push 0x2000
xor esi, esi
lea eax, [ebp - 0x4010]
push esi
push eax
call fcn.1003cef0
add esp, 0xc
mov dword [ebp - 0x4018], 0x1000
lea eax, [ebp - 0x4020]
push esi
push esi
push eax
push esi
lea eax, [ebp - 0x4018]
push eax
lea eax, [ebp - 0x4010]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10034af3
nop word [eax + eax]
push 0x2000
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x4018], 0x1000
push 0
inc esi
push eax
mov dword [ebp - 0x4050], esi
call fcn.1003cef0
add esp, 0xc
mov dword [ebp - 0x4024], 0x2000
lea eax, [ebp - 0x4024]
push eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x401c]
push eax
push 0
lea eax, [ebp - 0x4010]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10034ac8
mov eax, dword [ebp - 0x401c]
cmp eax, 1
je 0x10034762
cmp eax, 2
jne 0x10034ac8
mov eax, dword [ebp - 0x4024]
test eax, eax
je 0x10034786
test al, 1
jne 0x10034ac8
shr eax, 1
cmp word [ebp + eax*2 - 0x2012], 0
je 0x1003478f
jmp 0x10034ac8
xor eax, eax
mov word [ebp - 0x2010], ax
mov dword [ebp - 0x4024], 0
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x10034b21
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x402c], eax
push str.FAC987B9_7260_42D0_B5D0_7885432FBF96
lea ecx, [ebp - 0x402c]
mov byte [ebp - 4], 1
call fcn.10003340
test al, al
jne 0x100347e0
push 0x24
push str.FAC987B9_7260_42D0_B5D0_7885432FBF96
lea ecx, [ebp - 0x402c]
call fcn.10004030
mov byte [ebp - 4], 2
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x10034b21
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4028], eax
lea eax, [ebp - 0x4010]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4028]
call fcn.10003340
test al, al
jne 0x10034846
lea ecx, [ebp - 0x4010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034824
sub ecx, edx
lea eax, [ebp - 0x4010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4028]
call fcn.10004030
lea eax, [ebp - 0x402c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4028]
push eax
lea eax, [ebp - 0x4024]
push eax
call fcn.1001d6e0
add esp, 0xc
mov edx, dword [ebp - 0x4028]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034889
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x402c]
or eax, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100348ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x4014], 0
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x10034b21
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4034], eax
push str.FAC987B9_7260_42D0_B5D0_7885432FBF96
lea ecx, [ebp - 0x4034]
mov byte [ebp - 4], 8
call fcn.10003340
test al, al
jne 0x100348fc
push 0x24
push str.FAC987B9_7260_42D0_B5D0_7885432FBF96
lea ecx, [ebp - 0x4034]
call fcn.10004030
mov byte [ebp - 4], 9
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x10034b21
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4030], eax
lea eax, [ebp - 0x2010]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x4030]
call fcn.10003340
test al, al
jne 0x10034962
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034940
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4030]
call fcn.10004030
lea eax, [ebp - 0x4034]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x4030]
push eax
lea eax, [ebp - 0x4014]
push eax
call fcn.1001d6e0
add esp, 0xc
mov edx, dword [ebp - 0x4030]
or eax, 0xffffffff
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100349a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4034]
or eax, 0xffffffff
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100349c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4024]
cmp dword [eax - 0xc], 0
je 0x10034a84
mov eax, dword [ebp - 0x4014]
cmp dword [eax - 0xc], 0
je 0x10034a84
lea eax, [ebp - 0x4024]
mov dword [ebp - 0x4038], 0
push eax
lea eax, [ebp - 0x4038]
add edi, 4
push eax
mov ecx, edi
call fcn.10004520
mov esi, dword [ebp - 0x4038]
cmp esi, dword [edi]
je 0x10034a29
lea eax, [esi + 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x4024]
push eax
call fcn.10003080
test al, al
je 0x10034a69
lea eax, [ebp - 0x4024]
mov ecx, edi
mov dword [ebp - 0x4038], eax
lea eax, [ebp - 0x4039]
push eax
lea eax, [ebp - 0x4038]
push eax
push 0x1006e718
call fcn.10002710
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x404c]
push eax
call fcn.10002920
mov esi, dword [ebp - 0x404c]
lea eax, [ebp - 0x4014]
push eax
lea ecx, [esi + 0x14]
call fcn.10002f20
mov esi, dword [ebp - 0x4050]
mov edi, dword [ebp - 0x4054]
mov edx, dword [ebp - 0x4014]
or eax, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034aa6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4024]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034ac8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
lea eax, [ebp - 0x4020]
push eax
push 0
lea eax, [ebp - 0x4018]
push eax
lea eax, [ebp - 0x4010]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100346f0
mov esi, 1
test ebx, ebx
je 0x10034b03
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.100242ed
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003320
int3