Function at 0x4903f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d9a2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
xor ebp, ebp
push edi
xor ebx, ebx
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x240], ebx
call fcn.0048e9b0
push eax
mov ecx, str.svrid_reg_path
call fcn.0048e620
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x20219
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x490462
mov edx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x18], edx
mov ebp, edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x490482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x490498
cmp ebp, ebx
je 0x490491
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x490635
push 0x206
lea ecx, [esp + 0x2a]
push ebx
push ecx
mov word [esp + 0x30], bx
call fcn.004a4620
lea edx, [esp + 0x20]
add esp, 0xc
push edx
mov dword [esp + 0x14], 0x104
call fcn.0048e9b0
push eax
mov ecx, str.svrid_reg_key
call fcn.0048e620
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
lea esi, [esp + 0x2c]
call fcn.0040fe90
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x490504
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jne 0x490539
lea eax, [esp + 0x24]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x490510
sub eax, edx
sar eax, 1
cmp eax, 0x20
jne 0x490539
mov esi, dword [esp + 0x244]
lea edi, [esi + 0xc]
lea edx, [esp + 0x24]
call fcn.004035b0
jmp 0x490540
mov esi, dword [esp + 0x244]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push str.time
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], edi
call ebp
cmp eax, ebx
jne 0x49057e
cmp dword [esp + 0x10], edi
jne 0x49057e
mov ecx, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], ebx
push 0x208
lea edx, [esp + 0x28]
push ebx
push edx
call fcn.004a4620
add esp, 0xc
push str.desc
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
lea esi, [esp + 0x2c]
mov dword [esp + 0x18], 0x104
call fcn.0040fe90
test eax, eax
jne 0x4905e4
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4905c0
sub eax, edx
sar eax, 1
je 0x4905e4
mov edi, dword [esp + 0x244]
add edi, 0x10
lea edx, [esp + 0x24]
call fcn.004035b0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push str.user_type
mov edi, 4
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edi
call ebp
cmp eax, ebx
jne 0x490625
cmp dword [esp + 0x10], edi
jne 0x490625
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x244]
mov dword [edx + 8], ecx
cmp esi, ebx
je 0x490630
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x230
ret 4