Function at 0x4010a0
Capabilities:
Delete file
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
push edi
push 0
push 0
mov edi, dword [esp + 0x240]
push 0
push 0
push 0
lea eax, [esp + 0x38]
push 0
lea ecx, [esp + 0x40]
push eax
push ecx
push 0
push 0
push 0
push edi
call dword [0x42553c]
mov edx, dword [esp + 0x24]
push edx
call fcn.00402150
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x20], esi
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x4013bc
mov ebx, dword [0x425540]
mov ebp, dword [0x425544]
jmp 0x401110
mov edi, dword [esp + 0x238]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
push ecx
push esi
push edx
push edi
mov dword [esp + 0x34], eax
call dword [0x425548]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push esi
push edi
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push str.Driver
push ecx
mov dword [esp + 0x2c], 0x104
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [0x42554c]
mov edi, str.SystemCurrentControlSetServicesClass_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x130]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x20019
lea ecx, [esp + 0x34]
push 0
push ecx
push 0x80000002
call ebx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push edx
lea eax, [esp + 0x134]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.InfPath
push edx
call ebp
mov edi, dword [esp + 0x23c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d0cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x130]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40132f
mov edi, dword [esp + 0x240]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d0cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x130]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push str.DevLoader
push ecx
mov dword [esp + 0x2c], 0x104
call ebp
mov edx, dword [esp + 0x10]
push 0x420dd0
push edx
call dword [0x425550]
mov eax, dword [esp + 0x10]
mov esi, dword [0x42554c]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
push 2
push 0
push str.SystemCurrentControlSetcontrolInstalledFiles
push 0x80000002
call ebx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x130]
push edx
push eax
call dword [0x425538]
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x401109
test esi, esi
je 0x4013c9
push esi
call fcn.004020e0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x224
ret