Function at 0x410990
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47695b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x49a1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x298], 0x20019
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4109e7
mov ecx, dword [ebp - 0x298]
or ecx, 0x100
mov dword [ebp - 0x298], ecx
jmp 0x4109f9
mov edx, dword [ebp - 0x298]
or edx, 0x200
mov dword [ebp - 0x298], edx
lea eax, [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x298]
push ecx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040feb0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410c7a
mov dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2ac], eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x2ac]
push edx
mov eax, dword [ebp - 0x29c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
cmp dword [ebp - 0x2b0], 0
jne 0x410c6d
lea edx, [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x298]
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410c5a
mov byte [ebp - 0x291], 1
mov ecx, dword [ebp - 0x2a4]
add ecx, 0x20
call fcn.0040f730
movzx eax, al
test eax, eax
je 0x410c40
lea ecx, [ebp - 0x218]
push ecx
push 0x47b894
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.004103e0
add esp, 0xc
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2b8]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.004103a0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00407110
cmp dword [ebp + 8], 0x80000002
jne 0x410b71
lea ecx, [ebp - 0x230]
push ecx
push 0x47b898
lea edx, [ebp - 0x260]
push edx
call fcn.00410470
add esp, 0xc
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x230]
call fcn.00410850
lea ecx, [ebp - 0x260]
call fcn.00407110
jmp 0x410c01
cmp dword [ebp + 8], 0x80000001
jne 0x410bba
lea ecx, [ebp - 0x230]
push ecx
push str.HKEY_CURRENT_USER_
lea edx, [ebp - 0x278]
push edx
call fcn.00410470
add esp, 0xc
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x230]
call fcn.00410850
lea ecx, [ebp - 0x278]
call fcn.00407110
jmp 0x410c01
cmp dword [ebp + 8], 0x80000000
jne 0x410c01
lea ecx, [ebp - 0x230]
push ecx
push str.HKEY_CLASSES_ROOT_
lea edx, [ebp - 0x290]
push edx
call fcn.00410470
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x230]
call fcn.00410850
lea ecx, [ebp - 0x290]
call fcn.00407110
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2a4]
add ecx, 0x20
call fcn.00410920
mov byte [ebp - 0x291], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00407110
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [ebp - 0x291]
test eax, eax
jne 0x410c5a
jmp 0x410c6d
mov cx, word [0x47b910]
mov word [ebp - 0x218], cx
jmp 0x410a2e
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b53
mov esp, ebp
pop ebp
ret 0xc