Function at 0x462eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4842d8
mov eax, dword fs:[0]
push eax
sub esp, 0xd44
mov eax, dword [0x4b700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd3c]
call fcn.00402820
mov byte [ebp - 4], 3
lea edx, [ebp - 0xd3c]
lea ecx, [ebp + 8]
call fcn.00462620
mov dword [ebp - 0xd38], eax
lea ecx, [ebp - 0xd38]
push ecx
push 0x20019
push 0
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x463070
mov dword [ebp - 0xd44], 0xbb8
mov edx, str.DWORD
lea ecx, [ebp + 0xc]
call fcn.0045c510
lea ecx, [ebp - 0xd34]
test al, al
je 0x462fe6
mov dword [ebp - 0xd4c], 4
push dword [ebp - 0xd3c]
call fcn.0045d1b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4c]
push ecx
lea ecx, [ebp - 0xd40]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0xd38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [ebp - 0xd48], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd30]
mov eax, dword [ebp - 0xd34]
cmp eax, ecx
je 0x462fb6
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [ebp - 0xd40]
push 0x487808
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x5dc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
add esp, 0x18
jmp 0x46303b
push dword [ebp - 0xd3c]
call fcn.0045d1b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd44]
push ecx
lea ecx, [ebp - 0xc30]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0xd38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [ebp - 0xd48], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd30]
mov eax, dword [ebp - 0xd34]
cmp eax, ecx
je 0x46303b
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test edi, edi
jne 0x463076
lea edx, [ebp - 0xc30]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x463050
sub edx, esi
sar edx, 1
push edx
lea eax, [ebp - 0xc30]
push eax
mov ecx, ebx
call fcn.004030c0
jmp 0x463076
mov edi, dword [ebp - 0xd48]
push dword [ebp - 0xd38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xd3c]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4630aa
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4630cc
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4630f2
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, edi
jmp 0x46318c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046dda6
mov esp, ebp
pop ebp
ret