Function at 0x422b50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48e2f0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x20]
push eax
call fcn.00423300
mov dword [esp + 0x1c], ebp
push 0x400
lea ecx, [esp + 0x20]
push ecx
call fcn.00423290
mov byte [esp + 0x17], 0
lea edx, [esp + 0x2c]
push edx
push 0x20019
push ebp
push str.DirectTime
push SysReAllocStringLen
mov dword [esp + 0x40], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x422c56
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
push edi
lea edx, [esp + 0x30]
push edx
push ebp
push ebp
push ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebp
jne 0x422c14
cmp dword [esp + 0x28], 3
je 0x422ca2
cmp ebx, ebp
je 0x422c1f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044cd27
push edi
call fcn.0044cd27
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x422c8f
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044cd27
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0044cd27
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422c9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x42305c
cmp dword [esp + 0x40], ebp
je 0x42300c
mov esi, dword [edi + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push esi
lea edx, [edi + 0xc]
push edx
push eax
mov dword [esp + 0x40], ecx
call fcn.004778b0
add esp, 0xc
cmp esi, ebp
jle 0x42300c
mov ecx, dword [esp + 0x1c]
mov byte [esi + ecx], 0
lea ecx, [esp + 0x28]
call fcn.0040b340
lea ecx, [esp + 0x3c]
call fcn.0040b340
lea ecx, [esp + 0x38]
call fcn.0040b340
lea ecx, [esp + 0x30]
call fcn.0040b340
lea esi, [esp + 0x48]
call fcn.00422150
mov bl, 8
mov byte [esp + 0xb0], bl
mov ebp, dword [esp + 0xb8]
push ecx
mov dword [esp + 0x1c], esp
add ebp, 0xfffffff0
mov esi, esp
push ebp
mov edi, 2
call fcn.0040ae10
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x1c]
call fcn.004221d0
add esp, 4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 9
call fcn.0040b2c0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422d77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov dword [esp + 0x1c], esp
mov esi, esp
push ebp
mov edi, 3
call fcn.0040ae10
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x1c]
call fcn.004221d0
add esp, 4
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 0xa
call fcn.0040b2c0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov dword [esp + 0x1c], esp
mov esi, esp
push ebp
xor edi, edi
call fcn.0040ae10
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x1c]
call fcn.004221d0
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], 0xb
call fcn.0040b2c0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov dword [esp + 0x1c], esp
mov esi, esp
push ebp
mov edi, 1
call fcn.0040ae10
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x1c]
call fcn.004221d0
add esp, 4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 0xc
call fcn.0040b2c0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040aea0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00415180
add esp, 8
test al, al
je 0x422ec8
push 0
call fcn.004705e8
mov esi, dword [esp + 0x38]
add esi, 0x1e13380
jmp 0x422f2e
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00415180
add esp, 8
test al, al
jne 0x422f3d
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00415180
add esp, 8
test al, al
je 0x422f07
push 0
call fcn.004705e8
mov esi, dword [esp + 0x38]
add esi, 0x93a80
jmp 0x422f2e
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00415180
add esp, 8
test al, al
je 0x422f42
push 0
call fcn.004705e8
mov esi, dword [esp + 0x38]
add esi, 0x28de80
xor ecx, ecx
add esp, 4
cmp edx, ecx
jg 0x422f42
jl 0x422f3d
cmp eax, esi
jae 0x422f42
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422f62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422f8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422fb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422fda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423002
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
cmp ebx, ebp
je 0x423017
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044cd27
push edi
call fcn.0044cd27
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423058
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0046da06
add esp, 0xa0
ret