Function at 0x10027471
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062461
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10027635
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10027617
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
push 0x14
push 0
push 0xa351
push 0xbfb5
call fcn.10010610
pop ecx
pop ecx
call eax
push eax
push 0xa351
push 0xb89c
call fcn.10010610
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
lea eax, [ebp - 0x20]
push eax
push 0x6fbc
push 1
push 0x416
push 0x1f80
push 0x6284
push 0x6464
push 0x6578
push 0x149f
push 1
push 1
lea eax, [ebp - 0x18]
push eax
push 0x889
call fcn.10026fa5
add esp, 0x34
push 0x1871
lea eax, [ebp - 0x18]
push eax
push 0
push 0x2cd
call fcn.1003033f
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
and dword [eax + 8], 0
push 1
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.100273de
add esp, 0xc
push 4
push 0x1000
mov eax, dword [ebp - 0x34]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x20]
push dword [eax]
push 0xa351
push 0xb183
call fcn.10010610
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0x34]
push dword [eax + 0x54]
mov eax, dword [ebp - 0x20]
push dword [eax]
push 0xa351
push 0xb183
call fcn.10010610
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
push dword [eax]
call fcn.100106cc
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax + 0x34], ecx
jmp 0x10027630
push 0
push 0
push 0
push 0
push 0
push 0
push 0x30f
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100277c9
mov dword [ebp - 0x14], 0
push 2
lea ecx, [ebp - 0x74]
call fcn.10010bbe
and dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
jmp 0x1002765a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x10027673
push dword [ebp - 0x24]
lea ecx, [ebp - 0x74]
call fcn.10010c5c
mov dword [eax], 0x4a6f4440
jmp 0x10027653
mov dword [ebp - 0x14], 0xfffffff6
jmp 0x10027683
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffe
jge 0x10027741
push 2
lea ecx, [ebp - 0x68]
call fcn.10010bbe
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x28], 0
jmp 0x100276b2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x100276cb
push dword [ebp - 0x28]
lea ecx, [ebp - 0x68]
call fcn.10010c5c
mov dword [eax], 0x1ad386cc
jmp 0x100276ab
mov dword [ebp - 0x1c], 0
jmp 0x100276db
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1002771c
mov dword [ebp - 0x2c], 0x54165132
mov dword [ebp - 0x2c], 1
jmp 0x100276f8
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002771a
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.10010c5c
cmp dword [eax], 0
je 0x10027710
jmp 0x1002771a
cmp dword [ebp - 0x14], 0
je 0x10027718
jmp 0x100276f1
jmp 0x100276f1
jmp 0x100276d4
cmp dword [ebp - 0x14], 0
je 0x10027730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.10010c40
jmp 0x10027741
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.10010c40
jmp 0x1002767c
mov dword [ebp - 0x14], 0xf
jmp 0x10027751
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jge 0x100277af
mov dword [ebp - 0x30], 0
jmp 0x10027767
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002777a
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x5c], 0
jmp 0x10027760
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10027797
push 0x13a4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x5c]
push 1
lea ecx, [ebp - 0x74]
call fcn.10010c5c
mov dword [eax], esi
jmp 0x1002774a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10010c40
push 0
push 0x4245
call fcn.1002d7e0
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret