Function at 0x40fcc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3622
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
cmp dword [eax + 0x24], 0
je 0x40fd4d
mov eax, dword [edi + 4]
cmp dword [eax], 0
je 0x40fd4d
mov esi, dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [esi]
mov ecx, dword [edi + 4]
sbb edx, dword [esi + 4]
mov ecx, dword [ecx]
test edx, edx
jb 0x40fd4a
ja 0x40fd22
cmp eax, ecx
jbe 0x40fd4a
mov ecx, dword [edi]
mov dword [ebp - 0x14], 1
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x410161
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
call dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x58]
mov al, byte [0x4ff5ad]
nop
test al, al
je 0x40fd5e
xor al, al
jmp 0x410144
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0xc]
push 1
push ecx
lea ecx, [ebp - 0x24]
push dword [eax]
call fcn.0040f7a0
test eax, eax
jne 0x410134
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push str.Start
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410137
cmp dword [ebp - 0x2c], 4
jne 0x410137
cmp dword [ebp - 0x28], 4
ja 0x410137
lea eax, [ebp - 0x50]
push eax
push str.Type
lea ecx, [ebp - 0x24]
call fcn.0040f890
test eax, eax
jne 0x410134
cmp dword [ebp - 0x50], 2
ja 0x410134
cmp dword [ebp - 0x28], 4
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
setne byte [ebp - 0x51]
movlpd qword [ebp - 0x34], xmm0
call fcn.00405980
add esp, 4
mov esi, dword [ebp - 0x58]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
mov ecx, eax
push esi
mov dword [ebp - 0x14], eax
call fcn.004026c0
movzx eax, byte [ebp - 0x51]
mov ecx, dword [ebp - 0x14]
xor eax, 1
add eax, eax
or eax, 0x4000
mov dword [ecx + 0xd0], eax
call fcn.00420e60
test al, al
je 0x40fe5f
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push str.ImagePath
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041bd90
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x3c], 0
je 0x410016
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ff8f0]
cmp eax, dword [ecx + 0xc]
jg 0x410166
push 4
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004089b0
push 0x4c7a68
push eax
call fcn.004101c0
add esp, 8
mov byte [ebp - 0x51], al
lea ecx, [ebp - 0x70]
call fcn.00402b30
cmp byte [ebp - 0x51], 0
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x4c]
je 0x40feef
push 0xffffffffffffffff
push 4
push eax
call fcn.004089b0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404ef0
lea ecx, [ebp - 0x70]
jmp 0x4100a0
push dword [0x4ff904]
cmp dword [0x4ff908], 8
mov esi, 0x4ff8f4
push 0
cmovae esi, dword [0x4ff8f4]
push eax
call fcn.004089b0
cmp dword [eax + 0x14], 8
jb 0x40ff18
mov eax, dword [eax]
push esi
push eax
call fcn.0048cccb
add esp, 8
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00402b30
test esi, esi
jne 0x40ffab
mov eax, dword [0x4ff904]
lea ecx, [ebp - 0x4c]
push 0xffffffffffffffff
dec eax
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004089b0
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00406e40
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40ff5e
mov eax, dword [eax]
push ecx
push eax
push ecx
mov ecx, esi
call fcn.00405c90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404ef0
lea ecx, [ebp - 0x70]
call fcn.00402b30
lea ecx, [ebp - 0x88]
jmp 0x41009c
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 9
cmovae eax, dword [ebp - 0x4c]
push 0x4c7a74
push eax
call fcn.0048ee1f
add esp, 0xc
test eax, eax
jne 0x4100a5
push 0x4c5fe4
call fcn.00406e40
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004072a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040edb0
add esp, 0x18
lea ecx, [ebp - 0x4c]
push eax
call fcn.00404ef0
lea ecx, [ebp - 0x88]
call fcn.00402b30
lea ecx, [ebp - 0x70]
jmp 0x41009c
push esi
lea ecx, [ebp - 0xb8]
call fcn.004026f0
mov esi, eax
push str.Drivers_
mov byte [ebp - 4], 7
call fcn.00406eb0
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004072a0
add esp, 0xc
push esi
push eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
call fcn.00410220
push str..sys
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00405a60
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.00404ef0
lea ecx, [ebp - 0x88]
call fcn.00402b30
lea ecx, [ebp - 0x70]
call fcn.00402b30
lea ecx, [ebp - 0xa0]
call fcn.00402b30
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.00402b30
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x60]
call fcn.00404ec0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x48]
call fcn.00404ef0
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x78], ecx
lea ecx, [esi + 0xb4]
mov dword [esi + 0x7c], eax
call fcn.004026c0
sub esp, 8
mov byte [ebp - 0x51], 0
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00404e90
mov dl, byte [ebp - 0x51]
xor ecx, ecx
call fcn.0041bea0
mov ecx, dword [ebp - 0x58]
lea edx, [esi + 0x18]
add esp, 8
call fcn.00422250
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x34]
push eax
call fcn.00404d60
lea ecx, [ebp - 0x4c]
call fcn.00402b30
call fcn.00420e60
test al, al
je 0x41012c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea ecx, [ebp - 0x34]
call fcn.00404e60
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x410142
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 8
call fcn.0047c562
push 0x4ff8f0
call fcn.0047df05
add esp, 4
cmp dword [0x4ff8f0], 0xffffffff
jne 0x40fe9f
push str.SystemRoot_
mov ecx, 0x4ff8f4
mov byte [ebp - 4], 4
call fcn.004026f0
push 0x4b25f0
call fcn.0047de74
push 0x4ff8f0
mov byte [ebp - 4], 3
call fcn.0047deb4
add esp, 8
jmp 0x40fe9f