Function at 0x300abd73
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
call fcn.30005534
test al, al
je 0x300abdaf
mov esi, 0x80070057
jmp 0x300ac1f6
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x300abdb8
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x300abdc1
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x300abdca
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x300abdd3
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x300abddc
mov dword [eax], ebx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x300abde5
mov dword [eax], ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.300abccf
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 0x20], ebx
jne 0x300abe2e
push dword [ebp + 8]
mov esi, 0x300ac304
push 0x179
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x8004301b
movsd dword es:[edi], dword [esi]
call fcn.3009db1c
mov esi, eax
add esp, 0x20
cmp esi, ebx
jl 0x300ac1f6
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.300abc3f
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jle 0x300abe66
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jle 0x300abe95
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
call fcn.300058b3
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x300abebe
mov esi, 0x8007000e
jmp 0x300ac1f6
cmp dword [ebp + 0xc], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
je 0x300abf61
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x300ac240
push dword [ebp - 0x10]
call edi
cmp eax, ebx
jle 0x300abef5
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 8], 1
je 0x300abf0f
mov esi, 0x80041a40
jmp 0x300ac1f6
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.30011d17
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
push dword [ebp - 0x14]
call fcn.30005534
test al, al
jne 0x300abf05
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.300ad0df
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 0x24], ebx
je 0x300abf05
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.30011dbe
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp + 0x10], ebx
je 0x300abfde
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0xc]
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push 0x300ac268
push dword [ebp - 0x10]
call edi
cmp eax, ebx
jle 0x300abf9f
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 8], 1
jne 0x300abf05
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.30011d17
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
call fcn.30011dbe
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
push ebx
push ebx
push ebx
push ebx
push 0x300ac27c
push dword [ebp - 0x10]
call edi
cmp eax, 2
je 0x300ac141
cmp dword [ebp + 0x14], ebx
je 0x300ac072
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0xc]
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push 0x300ac27c
push dword [ebp - 0x10]
call edi
cmp eax, ebx
jle 0x300ac033
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 8], 1
jne 0x300abf05
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.30011d17
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.30011dbe
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp + 0x18], ebx
je 0x300ac141
push dword [ebp + 8]
mov dword [ebp + 0x10], 1
call fcn.300ac314
test eax, eax
je 0x300ac0c9
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], ebx
call fcn.300acba8
mov esi, eax
cmp esi, ebx
jl 0x300ac0bb
push ebx
push dword [ebp + 0x18]
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.300ac41c
mov esi, eax
cmp esi, ebx
jl 0x300ac0bb
mov dword [ebp + 0x10], ebx
lea eax, [ebp + 0xc]
push eax
call fcn.30011e23
cmp dword [ebp + 0x10], ebx
je 0x300ac141
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0xc]
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push 0x300ac294
push dword [ebp - 0x10]
call edi
cmp eax, ebx
jle 0x300ac102
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 8], 1
jne 0x300abf05
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.30011d17
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
push dword [ebp + 0x18]
lea ecx, [ebp - 0x14]
call fcn.30011dbe
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp + 0x1c], ebx
je 0x300ac192
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x300ac2b4
push dword [ebp - 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 4
call edi
cmp eax, ebx
jle 0x300ac175
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 8], 4
jne 0x300abf05
mov ecx, dword [ebp + 0x1c]
xor eax, eax
cmp dword [ebp + 8], ebx
setne al
mov dword [ecx], eax
cmp dword [ebp + 0x20], ebx
je 0x300ac1f6
push ebx
push ebx
push ebx
push ebx
push 0x300ac2dc
push dword [ebp - 0x10]
call edi
cmp eax, 2
je 0x300ac1f6
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x300ac2dc
push dword [ebp - 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 4
call edi
cmp eax, ebx
jle 0x300ac1d9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x300ac1f6
cmp dword [ebp - 8], 4
jne 0x300abf05
mov ecx, dword [ebp + 0x20]
xor eax, eax
cmp dword [ebp + 8], ebx
setne al
mov dword [ecx], eax
call fcn.300058b3
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x10], ebx
je 0x300ac212
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1c]
push eax
call fcn.300abc94
cmp esi, 0x80070002
jne 0x300ac228
mov esi, 0x80041a40
lea eax, [ebp - 0x14]
push eax
call fcn.30011e23
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x1c