Function at 0x10054ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1248
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x40], cx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
call fcn.1000f660
mov dword [ebp - 4], 0
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.1000f660
mov byte [ebp - 4], 1
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.1000f660
mov byte [ebp - 4], 2
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.10055be0
add esp, 4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0x20019
push eax
push esi
lea ecx, [ebp - 0x80]
call fcn.10036580
mov esi, dword [ebp - 0x80]
test eax, eax
jne 0x10054cd9
lea eax, [ebp - 0x58]
push eax
call fcn.10055be0
lea eax, [ebp - 0x70]
push eax
call fcn.10055be0
add esp, 8
test al, al
je 0x10054d95
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x10054c2d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x18], ecx
mov word [eax + ecx*2], dx
jmp 0x10054c3a
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001a2e0
mov eax, dword [ebp - 0x18]
inc eax
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 8
jb 0x10054c54
mov ebx, dword [ebx]
lea ecx, [ebp - 0x74]
push ecx
push eax
push ebx
lea ecx, [ebp - 0x80]
call fcn.10055a80
test eax, eax
je 0x10054cb0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x10054c71
mov edi, dword [edi]
push eax
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.10014a10
test eax, eax
sete bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
jb 0x10054c9a
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x10054cdb
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
jb 0x10054cc5
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
xor bl, bl
mov byte [ebp - 4], 2
test esi, esi
je 0x10054cf1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5c], 8
jb 0x10054d0d
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x44], 8
jb 0x10054d35
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x10054d61
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x14], 8
jb 0x10054d9d
mov ebx, dword [ebx]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push ebx
push esi
mov dword [ebp - 0x74], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10054cd9
cmp dword [ebp - 0x88], 4
jne 0x10054cd9
cmp dword [edi + 0x14], 8
jb 0x10054ddd
mov edi, dword [edi]
push edi
call fcn.1007f3d0
add esp, 4
cmp dword [ebp - 0x84], eax
sete bl
jmp 0x10054cdb