Function at 0x53b710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5f60
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x62d12c]
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 eax, dword [ebp + 8]
mov ebx, 0x5307b0
mov dword [ebp - 0x418], ebx
mov ecx, 0x5307b0
test ecx, ecx
je 0x53b760
mov dword [ebp - 0x418], eax
mov ebx, eax
mov edi, 0x2000
mov dword [ebp - 0x420], edi
or eax, 0xffffffff
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
push edi
call fcn.00541cf1
add esp, 4
mov esi, eax
mov dword [ebp - 0x41c], eax
test esi, esi
jne 0x53b7c4
push ebx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b7ba
push 0x62b628
push 0x45e
push str.GetUpTimeSecs
push 0x5dc508
push esi
push esi
push esi
push 3
call ebx
add esp, 0x20
or eax, 0xffffffff
or edx, eax
jmp 0x53ba27
lea edx, [ebp - 0x420]
push edx
push esi
push 0
push 0
push 0x5dc504
push reloc.OLEAUT32.dll_SysReAllocStringLen
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call ebx
cmp eax, 0xea
jne 0x53b83c
lea esp, [esp]
add edi, 0x400
push esi
call fcn.0055a04a
xor esi, esi
push edi
call fcn.00541cf1
add esp, 8
test eax, eax
je 0x53b9cf
mov esi, eax
mov dword [ebp - 0x420], edi
lea ecx, [ebp - 0x420]
push ecx
push eax
push 0
push 0
push 0x5dc504
push reloc.OLEAUT32.dll_SysReAllocStringLen
call ebx
cmp eax, 0xea
je 0x53b7f0
mov dword [ebp - 0x41c], esi
test esi, esi
je 0x53b9cf
test eax, eax
jne 0x53b9cf
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
call fcn.0053adc0
add esp, 4
mov edx, eax
cmp edx, ebx
jne 0x53b8fb
mov edi, dword [ebp - 0x418]
push edi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b8dd
xor edx, edx
mov word [ebp - 0x414], dx
push 0x3fe
push ebx
lea eax, [ebp - 0x412]
push eax
call fcn.0055aed0
mov ecx, dword [esi + 0x14]
push ecx
mov edx, dword [esi + 0x18]
push edx
push str._ENV__Error_occurred_while_collecting_performance_data_from_the_registry_for_System_uptime__HeaderLength___d__TotalByteLength___d_
push 0x1ff
lea eax, [ebp - 0x414]
push eax
call fcn.005301b0
push edi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b8dd
push 0x62b628
push 0x487
push str.GetUpTimeSecs
lea ecx, [ebp - 0x414]
push ecx
push ebx
push ebx
push ebx
push 3
call edi
add esp, 0x20
push esi
call fcn.0055a04a
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
or edx, eax
jmp 0x53ba27
push edx
call fcn.0053ae30
add esp, 4
mov edi, dword [edx + 4]
add edi, edx
mov dword [ebp - 0x42c], ebx
test edi, edi
je 0x53b96e
test eax, eax
je 0x53b96e
cmp ebx, dword [edx + 0x20]
jae 0x53b96e
cmp dword [eax + 4], 0x2a2
jne 0x53b97a
mov eax, dword [eax + 0x24]
add eax, edi
je 0x53b96e
mov ecx, dword [eax]
mov dword [ebp - 0x434], ecx
mov edi, dword [eax + 4]
mov ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
cmp eax, edi
jl 0x53b96e
jg 0x53b951
cmp ecx, dword [ebp - 0x434]
jb 0x53b96e
sub ecx, dword [ebp - 0x434]
sbb eax, edi
push edx
push ebx
push eax
push ecx
call fcn.00566880
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x53ba03
push eax
call fcn.0053ae50
add esp, 4
inc ebx
jmp 0x53b909
mov edi, dword [ebp - 0x418]
push edi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53ba03
push 0x62b628
push 0x4b8
push str.GetUpTimeSecs
push 0x5dc508
push 0
push 0
push 0
push 3
call edi
add esp, 0x20
test esi, esi
je 0x53ba10
push esi
call fcn.0055a04a
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x428]
mov edx, dword [ebp - 0x424]
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.00558b78
mov esp, ebp
pop ebp
ret