Function at 0x100258c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089e80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x100b52f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10025b9d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x14]
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
mov dword [ebp - 0x14], eax
call fcn.10009430
test al, al
jne 0x10025921
push 0x24
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
lea ecx, [ebp - 0x14]
call fcn.1000cfa0
mov dword [ebp - 4], 0
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10025ba7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x10]
push str.BuEtlJLQJfczif1h4HSkZEN3R1ezz7l
mov dword [ebp - 0x10], eax
call fcn.10009430
test al, al
jne 0x10025962
push 0x20
push str.BuEtlJLQJfczif1h4HSkZEN3R1ezz7l
lea ecx, [ebp - 0x10]
call fcn.1000cfa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100542b0
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x100259e7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push ecx
push 0x20019
push 0
push eax
push 0x80000002
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100259e7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push str.noadpop
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100259e7
mov edi, dword [ebp - 0x1c]
jmp 0x100259e9
xor edi, edi
mov edx, dword [ebp - 0x28]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025a06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025a20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025a41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x10025b8a
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10025bb1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x10]
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
mov dword [ebp - 0x10], eax
call fcn.10009430
test al, al
jne 0x10025a83
push 0x24
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
lea ecx, [ebp - 0x10]
call fcn.1000cfa0
mov dword [ebp - 4], 2
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10025bbb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x14]
push str.BuEtlJLQJfczif1h4HSkZEN3R1ezz7l
mov dword [ebp - 0x14], eax
call fcn.10009430
test al, al
jne 0x10025ac4
push 0x20
push str.BuEtlJLQJfczif1h4HSkZEN3R1ezz7l
lea ecx, [ebp - 0x14]
call fcn.1000cfa0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100542b0
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x10025b3e
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 0
push ecx
push 0x20019
push 0
push eax
push 0x80000002
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10025b3e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push str.advtool_PopWndTracker
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025b58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025b72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10025b8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002fe0
push 0x80004005
call fcn.10002fe0
push 0x80004005
call fcn.10002fe0
push 0x80004005
call fcn.10002fe0
int3