Function at 0x41d6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524192
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x58e5a4]
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 - 0x54], ecx
cmp dword [eax + 0x24], 0
je 0x41d75d
mov eax, dword [edi + 4]
cmp dword [eax], 0
je 0x41d75d
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 0x41d75a
ja 0x41d732
cmp eax, ecx
jbe 0x41d75a
mov ecx, dword [edi]
mov dword [ebp - 0x14], 1
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x41db7c
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 - 0x54]
mov al, byte [0x598289]
nop
test al, al
je 0x41d76e
xor al, al
jmp 0x41db5f
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.0041d0c0
test eax, eax
jne 0x41db4f
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 0x41db52
cmp dword [ebp - 0x2c], 4
jne 0x41db52
cmp dword [ebp - 0x28], 4
ja 0x41db52
lea eax, [ebp - 0x4c]
push eax
push str.Type
lea ecx, [ebp - 0x24]
call fcn.0041d1d0
test eax, eax
jne 0x41db4f
cmp dword [ebp - 0x4c], 2
ja 0x41db4f
cmp dword [ebp - 0x28], 4
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
setne byte [ebp - 0x4d]
movlpd qword [ebp - 0x18], xmm0
call fcn.0040d800
add esp, 4
mov esi, dword [ebp - 0x54]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
push esi
call fcn.004082b0
movzx eax, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0x18]
xor eax, 1
add eax, eax
or eax, 0x4000
mov dword [ecx + 0xd0], eax
call fcn.00436220
test al, al
je 0x41d86a
lea eax, [ebp - 0x30]
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 - 0x48]
push eax
call fcn.0042e130
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0
je 0x41da31
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5985c8]
cmp eax, dword [ecx + 8]
jg 0x41db81
push 4
push 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00412e20
push 0x562a1c
push eax
call fcn.0041dca0
add esp, 8
mov byte [ebp - 0x4d], al
lea ecx, [ebp - 0x9c]
call fcn.00409020
cmp byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x48]
je 0x41d900
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x6c]
push eax
call fcn.00412e20
push eax
lea ecx, [ebp - 0x48]
call fcn.0040bfb0
lea ecx, [ebp - 0x6c]
jmp 0x41dabb
push dword [0x5985dc]
cmp dword [0x5985e0], 8
lea eax, [ebp - 0xb4]
push 0
mov esi, 0x5985cc
cmovae esi, dword [0x5985cc]
push eax
call fcn.00412e20
cmp dword [eax + 0x14], 8
jb 0x41d92f
mov eax, dword [eax]
push esi
push eax
call fcn.004fb9d0
add esp, 8
lea ecx, [ebp - 0xb4]
mov esi, eax
call fcn.00409020
test esi, esi
jne 0x41d9c6
mov eax, dword [0x5985dc]
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
dec eax
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00412e20
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00410340
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41d978
mov eax, dword [eax]
push ecx
push eax
push 0
mov ecx, esi
call fcn.0040e470
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x48]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x6c]
push eax
movq qword [ebp - 0x5c], xmm0
call fcn.0040bfb0
lea ecx, [ebp - 0x6c]
call fcn.00409020
lea ecx, [ebp - 0x84]
jmp 0x41dab7
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 9
cmovae eax, dword [ebp - 0x48]
push 0x562a28
push eax
call fcn.004fef1b
add esp, 0xc
test eax, eax
jne 0x41dac0
push 0x560f9c
call fcn.00410340
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00410940
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041ad50
add esp, 0x18
lea ecx, [ebp - 0x48]
push eax
call fcn.0040bfb0
lea ecx, [ebp - 0x84]
call fcn.00409020
lea ecx, [ebp - 0x6c]
jmp 0x41dab7
push esi
lea ecx, [ebp - 0x9c]
call fcn.004082e0
mov esi, eax
push str.Drivers_
mov byte [ebp - 4], 7
call fcn.004103b0
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00410940
add esp, 0xc
push esi
push eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x30]
call fcn.0041de10
push str..sys
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0040d9b0
add esp, 0xc
lea ecx, [ebp - 0x48]
push eax
call fcn.0040bfb0
lea ecx, [ebp - 0x84]
call fcn.00409020
lea ecx, [ebp - 0x6c]
call fcn.00409020
lea ecx, [ebp - 0xb4]
call fcn.00409020
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00409020
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 0x60]
call fcn.0040bf80
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 0x48]
call fcn.0040bfb0
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x54]
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.004082b0
sub esp, 8
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.0040bf10
mov dl, byte [ebp - 0x4d]
xor ecx, ecx
call fcn.0042e240
mov ecx, dword [ebp - 0x54]
lea edx, [esi + 0x18]
add esp, 8
call fcn.004377a0
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bbe0
lea ecx, [ebp - 0x48]
call fcn.00409020
call fcn.00436220
test al, al
je 0x41db47
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea ecx, [ebp - 0x18]
call fcn.0040bee0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x41db5d
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.004d2a60
mov esp, ebp
pop ebp
ret 8
call fcn.004b8ee1
push 0x5985c8
call fcn.004d2972
add esp, 4
cmp dword [0x5985c8], 0xffffffff
jne 0x41d8aa
push str.SystemRoot_
mov ecx, 0x5985cc
mov byte [ebp - 4], 4
call fcn.004082e0
push 0x53e5a0
call fcn.004d282a
push 0x5985c8
mov byte [ebp - 4], 3
call fcn.004d2928
add esp, 8
jmp 0x41d8aa