Function at 0x483eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x56a8e0]
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 + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x46c], ecx
mov ecx, dword [eax]
or esi, 0xffffffff
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x47c], 0
test ecx, ecx
jns 0x483f21
mov edx, esi
sub edx, ecx
jmp 0x483f23
mov edx, ecx
push 0
push 0
push dword [ebp - 0x44c]
mov byte [ebp - 0x454], 0
push dword [ebp - 0x454]
add eax, 8
push eax
lea eax, [ebp - 0x46c]
push eax
push edx
push ecx
call fcn.00483790
mov ecx, dword [ebp - 0x458]
add esp, 0x20
mov ecx, dword [ecx]
test ecx, ecx
jns 0x483f61
mov eax, esi
sub eax, ecx
jmp 0x483f63
mov eax, ecx
mov dword [ebp - 0x30], eax
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x483f75
mov ebx, dword [ebx]
lea eax, [ebp - 0x454]
push eax
push 0xf003f
push 0
push ebx
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48402a
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x450], 0x400
mov dword [ebp - 0x458], 1
jb 0x483fb4
mov edi, dword [edi]
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x458]
push eax
push 0
push edi
push dword [ebp - 0x454]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48401e
mov eax, dword [ebp - 0x458]
dec eax
cmp eax, 0xa
ja case.0x483ff3.2
movzx eax, byte [eax + 0x4841dc]
jmp dword [eax*4 + 0x4841c8]
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406360
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00483490
lea ecx, [ebp - 0x48]
call fcn.0048cc70
push dword [ebp - 0x454]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x44c]
lea eax, [ebx + 8]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jns 0x484135
mov ecx, esi
sub ecx, eax
jmp 0x484137
push dword [ebp - 0x450]
lea ecx, [ebp - 0x478]
call fcn.00477ff0
push dword [ebp - 0x478]
mov eax, dword [ebp - 0x450]
lea ecx, [ebp - 0x448]
add eax, ecx
push eax
mov eax, ecx
push eax
lea eax, [ebp - 0x464]
push eax
mov byte [ebp - 4], 2
call fcn.004833c0
add esp, 0x10
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x30]
call fcn.00483580
lea ecx, [ebp - 0x478]
call fcn.00473570
jmp 0x48401e
push dword [ebp - 0x450]
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.00493540
add esp, 0xc
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x30]
call fcn.00483120
jmp 0x48401e
push dword [ebp - 0x450]
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00493540
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x30]
call fcn.004831f0
jmp 0x48401e
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x45c], str._windows::registry__not_implemented
call fcn.00493bbb
push 0x543898
lea eax, [ebp - 0x488]
push eax
call fcn.00493d65
mov ecx, eax
push 0
push 0
mov byte [ebp - 0x44c], 0
push dword [ebp - 0x44c]
lea edx, [ebp - 0x28]
push dword [ebp - 0x44c]
push edx
lea edx, [ebp - 0x45c]
push edx
push ecx
push eax
call fcn.00483a30
mov eax, dword [ebp - 0x30]
add esp, 0x20
test eax, eax
jns 0x484170
mov ecx, esi
sub ecx, eax
jmp 0x484172
mov ecx, eax
mov dword [ebx], ecx
test eax, eax
jns 0x48417c
sub esi, eax
jmp 0x48417e
mov esi, eax
push 0
push 0
mov byte [ebp - 0x44c], 0
push dword [ebp - 0x44c]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x45d]
push ecx
push esi
push eax
call fcn.00421840
add esp, 0x20
mov eax, ebx
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.00493d56
mov esp, ebp
pop ebp
ret