Function at 0x10024ee1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov dword [ebp - 0x24], 0x57a7c203
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0xe26b5cfd
mov dword [ebp - 0xf8], 0x99fa
mov dword [ebp - 0x44], 0
jmp 0x10024f19
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10024f2f
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x100], 0x7862fd41
jmp 0x10024f12
mov dword [ebp - 0x24], 1
jmp 0x10024f3f
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10025230
mov dword [ebp - 0xc4], 0x17b4d2c2
mov dword [ebp - 0x48], 0
jmp 0x10024f63
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10024f79
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x11c], 0xa756
jmp 0x10024f5c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x17c], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x11c]
mov dword [ebp - 0x188], eax
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x11c]
cmp dword [ebp + eax - 0x11c], ecx
jne 0x10024fba
mov dword [ebp - 0x80], 1
jmp 0x10024fbe
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
add eax, 0xfffb
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x100]
jl 0x10024fe1
mov dword [ebp - 0x120], 1
jmp 0x10024fe8
and dword [ebp - 0x120], 0
mov dword [ebp - 0x28], 0xfffffffc
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x100]
cmp dword [ebp - 0x28], eax
jl 0x1002500d
mov dword [ebp - 0xf0], 1
jmp 0x10025014
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x11c]
cmp dword [ebp - 0xf0], eax
jg 0x10025032
mov dword [ebp - 0x68], 1
jmp 0x10025036
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x20], eax
jg 0x10025050
mov dword [ebp - 0x7c], 1
jmp 0x10025054
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x7c], eax
jne 0x10025068
mov dword [ebp - 0x70], 1
jmp 0x1002506c
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x3ff14eb4
jle 0x1002507e
mov dword [ebp - 0x74], 1
jmp 0x10025082
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 8
je 0x10025091
mov dword [ebp - 0x78], 1
jmp 0x10025095
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x11c]
sub eax, dword [ebp - 0x78]
add eax, 9
push 4
pop ecx
imul ecx, ecx, 3
cmp eax, dword [ebp + ecx - 0x11c]
jg 0x100250c5
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x11c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x11c]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x100]
je 0x1002514f
mov dword [ebp - 0x20], 1
jmp 0x100250f1
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10025125
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x100], 0
jne 0x10025110
mov dword [ebp - 0xbc], 1
jmp 0x10025117
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
jmp 0x100250ea
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1002514a
push 0x748
push 0x85
push 0
push 0xfdf
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x1002522b
mov dword [ebp - 0x38], 0
jmp 0x1002515f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10025175
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x140], 0x5d0
jmp 0x10025158
mov dword [ebp - 0x28], 0
jmp 0x10025185
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x1002522b
mov dword [ebp - 0x54], 0xffffffff
cmp dword [ebp - 0x54], 0
je 0x100251b1
mov eax, 0xd441
test eax, eax
je 0x100251b1
mov dword [ebp - 0x84], 1
jmp 0x100251b8
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x84]
jle 0x100251cc
mov dword [ebp - 0x4c], 1
jmp 0x100251d0
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0x140], ecx
mov eax, dword [ebp - 0x4c]
inc eax
cmp dword [ebp - 0x20], eax
jge 0x100251f5
mov dword [ebp - 0xdc], 1
jmp 0x100251fc
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xdc], eax
jg 0x10025213
mov dword [ebp - 0x8c], 1
jmp 0x1002521a
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc4], eax
jmp 0x1002517e
jmp 0x10024f38
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100259ae
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x30], 0xfffffffb
mov dword [ebp - 4], 0
jmp 0x1002525a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1002526d
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc], 0
jmp 0x10025253
mov dword [ebp - 4], 0
jmp 0x1002527d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x10025290
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x2c], 0xa6d0811
jmp 0x10025276
mov dword [ebp - 4], 0
jmp 0x100252a0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x100252b6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x10c], 1
jmp 0x10025299
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xebf8
jge 0x100252eb
mov dword [ebp - 0x94], 1
jmp 0x100252f2
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 2
jl 0x10025307
mov dword [ebp - 0xec], 1
jmp 0x1002530e
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0xc422
je 0x10025326
mov dword [ebp - 0x9c], 1
jmp 0x1002532d
and dword [ebp - 0x9c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x9c], eax
jle 0x1002534b
mov dword [ebp - 0x148], 1
jmp 0x10025352
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x198], eax
xor eax, eax
cmp eax, 0x1a6b719d
je 0x10025370
mov dword [ebp - 0xcc], 1
jmp 0x10025377
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0
jg 0x10025389
mov dword [ebp - 0x50], 1
jmp 0x1002538d
and dword [ebp - 0x50], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0x2c], ecx
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xc]
add ecx, dword [ebp - 0x50]
sub ecx, dword [ebp + eax - 0xc]
cmp ecx, dword [ebp - 0x14]
jle 0x100253c2
mov dword [ebp - 0xa4], 1
jmp 0x100253c9
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xe2db58e4
ja 0x100256bd
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x58], 0xc964b5ad
mov dword [ebp - 0x40], 0
jmp 0x100253fe
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10025414
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1bc], 0xfffffffc
jmp 0x100253f7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1b0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x10c]
cmp eax, 0xd6b22149
jb 0x1002544c
mov dword [ebp - 0xe4], 1
jmp 0x10025453
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xe4], eax
jg 0x1002546a
mov dword [ebp - 0xac], 1
jmp 0x10025471
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xac]
jne 0x10025488
mov dword [ebp - 0xd4], 1
jmp 0x1002548f
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xd4]
add eax, 7
mov dword [ebp - 0x3c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 8]
cmp dword [ebp + eax - 0xc], ecx
jge 0x100254ba
mov dword [ebp - 0xb4], 1
jmp 0x100254c1
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0xb4], eax
jg 0x100254df
mov dword [ebp - 0xf4], 1
jmp 0x100254e6
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0xc844fc3
jle 0x100254fb
mov dword [ebp - 0x6c], 1
jmp 0x100254ff
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x6c], eax
jle 0x10025517
mov dword [ebp - 0x5c], 1
jmp 0x1002551b
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
add eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 8]
je 0x10025539
mov dword [ebp - 0x88], 1
jmp 0x10025540
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 0x23fe2983
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x3c]
jl 0x1002556d
mov dword [ebp - 0x90], 1
jmp 0x10025574
and dword [ebp - 0x90], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
add eax, dword [ebp - 0x90]
je 0x1002558c
cmp dword [ebp - 8], 0
mov eax, 0x32651ef2
cmp eax, 0xfffffff9
jge 0x100255a2
mov dword [ebp - 0x98], 1
jmp 0x100255a9
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, 0xc575e2b
cmp eax, dword [ebp - 0x3c]
jne 0x100255c5
mov dword [ebp - 0xa0], 1
jmp 0x100255cc
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x58], eax
jl 0x100255f0
mov dword [ebp - 0x12c], 1
jmp 0x100255f7
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x1a4], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x174], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x1ac], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x16c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 8], 0
jne 0x10025664
cmp dword [ebp - 0x58], 0
jne 0x10025664
and dword [ebp - 0xa8], 0
jmp 0x1002566e
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0x594a39b7
je 0x10025686
mov dword [ebp - 0xb0], 1
jmp 0x1002568d
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 7
ja 0x100256a2
mov dword [ebp - 0xb8], 1
jmp 0x100256a9
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0x1bc], ecx
jmp 0x100256e2
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x100256e2
push 0
push 0
push 0
push 0
push 0
push 0
push 0x100a
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x14], 0
jmp 0x100256f2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x1002578c
mov dword [ebp - 0x138], 0xb78960bd
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
je 0x10025715
jmp 0x1002578c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
je 0x10025737
mov eax, 0x7809
test eax, eax
je 0x10025737
mov dword [ebp - 0xc0], 1
jmp 0x1002573e
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xc0], eax
je 0x10025755
mov dword [ebp - 0xc8], 1
jmp 0x1002575c
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xffc8ecea
jne 0x10025774
mov dword [ebp - 0xd0], 1
jmp 0x1002577b
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x138], eax
jmp 0x100256eb
mov dword [ebp - 0x184], 0xa684
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100257ac
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x100257d6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0xd8], 3
mov dword [ebp - 0x60], 0xfffffffb
mov dword [ebp - 0x10], 0
jmp 0x10025808
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002581e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x158], 6
jmp 0x10025801
mov dword [ebp - 0x10], 0
jmp 0x1002582e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10025844
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1cc], 0xa6aed1d2
jmp 0x10025827
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x158]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x194], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x158], 0
je 0x1002589a
mov eax, 0xfad5
test eax, eax
je 0x1002589a
mov dword [ebp - 0x128], 1
jmp 0x100258a1
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x60], eax
je 0x100258ca
mov dword [ebp - 0xe0], 1
jmp 0x100258d1
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x158]
cmp eax, dword [ebp - 0xe0]
jg 0x100258f2
mov dword [ebp - 0x14c], 1
jmp 0x100258f9
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x180], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1cc]
cmp dword [ebp - 0x134], eax
jl 0x10025923
mov dword [ebp - 0xe8], 1
jmp 0x1002592a
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
ja 0x1002596c
mov dword [ebp - 0x168], 0xfffffff6
mov dword [ebp - 0x164], 0xfffffff6
mov dword [ebp - 0x160], 0xfffffff6
mov dword [ebp - 0x15c], 0xfffffff6
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x168]
mov dword [ebp - 0x60], eax
jmp 0x1002597e
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x1002597e
call dword [sym.imp.KERNEL32.dll_GetACP]
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10025992
push 0
call dword [sym.imp.USER32.dll_DestroyIcon]
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x100259ac
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x10025a0c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], eax
mov eax, 0x63e31551
test eax, eax
je 0x100259fd
mov eax, dword [ebp - 0x124]
mov dword [eax], 7
push 7
pop eax
test eax, eax
je 0x100259fd
mov dword [ebp - 0x64], 1
jmp 0x10025a01
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret