Function at 0x4b48d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54aa91
mov eax, dword fs:[0]
push eax
mov eax, 0x220c
call fcn.0050c350
mov eax, dword [0x5ac020]
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 edi, ecx
mov dword [ebp - 0x2204], edi
xor ebx, ebx
lea esi, [edi + 0x40]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x21fc], ebx
mov dword [ebp - 0x2200], ebx
jb 0x4b4925
mov eax, dword [esi]
jmp 0x4b4927
mov eax, esi
lea ecx, [ebp - 0x21fc]
push ecx
push 0
lea ecx, [ebp - 0x2200]
push ecx
push 0
push eax
push dword [edi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b4bf0
cmp dword [ebp - 0x2200], 3
jne 0x4b4bf0
mov eax, dword [ebp - 0x21fc]
test al, 0x1f
jne 0x4b4bf0
test eax, eax
je 0x4b4c0e
push 0x3d0
push str.ProgramVerify.cpp
push 1
push eax
call fcn.00500b6a
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b4bf0
cmp dword [esi + 0x14], 8
mov eax, dword [ebp - 0x21fc]
mov dword [ebp - 0x2210], eax
jb 0x4b49a1
mov esi, dword [esi]
lea eax, [ebp - 0x2210]
push eax
push edi
lea eax, [ebp - 0x2200]
push eax
push 0
push esi
mov esi, dword [ebp - 0x2204]
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b4bc3
cmp dword [ebp - 0x2200], 3
jne 0x4b4bc3
mov eax, dword [ebp - 0x2210]
cmp eax, dword [ebp - 0x21fc]
jne 0x4b4bc3
lea ecx, [ebp - 0x90]
call fcn.0045c390
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21f8]
call fcn.004c5380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
push 0x2717
push dword [0x5bdd08]
call fcn.0045c5c0
mov ecx, eax
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
xor eax, eax
mov dword [ebp - 0x2208], ecx
mov dword [ebp - 0x220c], eax
mov byte [ebp - 4], 2
cmp dword [0x5bda54], eax
je 0x4b4b2f
test ecx, ecx
je 0x4b4b2f
lea ecx, [ebp - 0x21f8]
call fcn.004c5830
push 2
call fcn.004c35d0
test eax, eax
je 0x4b4b2d
push 0x583d50
call fcn.0052b620
add esp, 4
mov dword [ebp - 0x2218], eax
cmp eax, 0xffffffff
je 0x4b4b2d
push 0x40
call fcn.004ffbb1
mov esi, eax
add esp, 4
test esi, esi
je 0x4b4b27
push esi
push 0x20
push dword [ebp - 0x2208]
push 2
call fcn.004c3be0
lea eax, [ebp - 0x21f0]
push eax
push 0x20
push dword [ebp - 0x2208]
push 2
call fcn.004c3850
lea eax, [ebp - 0x21d8]
push eax
push 0
push 0x20
lea eax, [esi + 0x20]
push eax
push esi
push dword [ebp - 0x2218]
call fcn.0052b8f0
add esp, 0x18
test eax, eax
jne 0x4b4af8
mov dword [ebp - 0x21e0], 3
mov dword [ebp - 0x220c], 1
push 0x20
push esi
call fcn.0051b090
push 0x20
push esi
call fcn.0051b090
push 0x20
push esi
call fcn.0051b090
push esi
call fcn.0051d3d0
mov esi, dword [ebp - 0x2204]
add esp, 0x1c
mov eax, dword [ebp - 0x220c]
jmp 0x4b4b2f
mov esi, dword [ebp - 0x2204]
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
test eax, eax
je 0x4b4ba2
push 0
push 0
push edi
push dword [ebp - 0x21fc]
lea ecx, [ebp - 0x21f8]
push edi
call fcn.004c59d0
test eax, eax
je 0x4b4ba2
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4b4b79
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
and eax, 0xffffffe0
push eax
push dword [esi + 4]
call fcn.0051b090
add esp, 8
mov eax, dword [ebp - 0x21fc]
lea ecx, [esi + 4]
shr eax, 5
push eax
call fcn.004b52c0
push dword [ebp - 0x21fc]
push edi
push dword [esi + 4]
call fcn.00502510
add esp, 0xc
mov ebx, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21f8]
call fcn.004c5440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0045c480
push dword [ebp - 0x21fc]
push edi
call fcn.0051b090
push dword [ebp - 0x21fc]
push edi
call fcn.0051b090
push dword [ebp - 0x21fc]
push edi
call fcn.0051b090
push edi
call fcn.0051d3d0
add esp, 0x1c
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.004ffcef
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4b4c4f
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
and eax, 0xffffffe0
push eax
push dword [edi + 4]
call fcn.0051b090
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
and eax, 0xffffffe0
push eax
push dword [edi + 4]
call fcn.0051b090
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
and eax, 0xffffffe0
push eax
push dword [edi + 4]
call fcn.0051b090
add esp, 0x18
push 0
lea ecx, [edi + 4]
call fcn.004b52c0
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
mov eax, 1
jmp 0x4b4bf2