Function at 0x100254c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f513
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], ecx
mov dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x448], 0x200
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov byte [ebp - 4], 1
mov eax, 0x1007ca44
test eax, eax
jne 0x10025543
mov dword [ebp - 0x430], 0
jmp 0x1002559d
mov dword [ebp - 0x418], 0x1007ca44
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x464], ecx
mov edx, dword [ebp - 0x418]
mov ax, word [edx]
mov word [ebp - 0x42a], ax
add dword [ebp - 0x418], 2
cmp word [ebp - 0x42a], 0
jne 0x1002555c
mov ecx, dword [ebp - 0x418]
sub ecx, dword [ebp - 0x464]
sar ecx, 1
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x430]
push eax
push 0x1007ca44
mov ecx, dword [ebp + 0x14]
call fcn.100071a0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x438]
mov eax, dword [edx]
or eax, 0x20019
push eax
mov ecx, dword [ebp - 0x440]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x428]
call fcn.10027150
test eax, eax
je 0x10025621
mov byte [ebp - 0x413], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.10027260
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
call fcn.10003fb0
mov al, byte [ebp - 0x413]
jmp 0x100257b9
mov ecx, dword [ebp - 0x448]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100256bd
mov dword [ebp - 0x458], 0
cmp dword [ebp - 0x428], 0
je 0x10025674
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov byte [ebp - 0x411], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.10027260
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
call fcn.10003fb0
mov al, byte [ebp - 0x411]
jmp 0x100257b9
lea ecx, [ebp - 0x410]
test ecx, ecx
jne 0x100256d3
mov dword [ebp - 0x434], 0
jmp 0x1002572f
lea edx, [ebp - 0x410]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
add eax, 2
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x41c]
mov dx, word [ecx]
mov word [ebp - 0x42c], dx
add dword [ebp - 0x41c], 2
cmp word [ebp - 0x42c], 0
jne 0x100256ee
mov eax, dword [ebp - 0x41c]
sub eax, dword [ebp - 0x43c]
sar eax, 1
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp - 0x434]
push edx
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.100071a0
mov dword [ebp - 0x44c], 0
cmp dword [ebp - 0x428], 0
je 0x10025775
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov byte [ebp - 0x412], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.10027260
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0x454], edx
mov ecx, dword [ebp - 0x454]
call fcn.10003fb0
mov al, byte [ebp - 0x412]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret 0x10