Function at 0x1001d340
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047a01
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1005c070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.10004c50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7d]
call fcn.100043d0
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0xcc]
call fcn.100024d0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0xbc]
call fcn.1001f3e0
mov byte [ebp - 4], 2
push fcn.10004b10
push 1
push 0x18
lea eax, [ebp - 0x44]
push eax
call fcn.10028b52
mov dword [ebp - 0x7c], 0
jmp 0x1001d3d4
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 2
jge 0x1001d460
mov edx, dword [ebp - 0x7c]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.1001bf80
add esp, 8
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.10021df0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1001f470
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.10004b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.10004b10
jmp 0x1001d3cb
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x88], ecx
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.1001f070
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.1001f010
jmp 0x1001d49d
lea ecx, [ebp - 0x84]
call fcn.1001ef70
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x84]
call fcn.100104d0
movzx edx, al
test edx, edx
je 0x1001d622
lea ecx, [ebp - 0x84]
call fcn.1001ef90
mov dword [ebp - 0xa0], eax
push str.SYSTEMCurrentControlSet_services_
lea ecx, [ebp - 0x28]
call fcn.10004c50
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004ae0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 4
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0xac]
push eax
push 0x10055f60
lea ecx, [ebp - 0x28]
call fcn.10004a50
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001d611
mov dword [ebp - 0x78], 4
push 4
lea ecx, [ebp - 0x78]
push ecx
push 4
push str.Start
lea ecx, [ebp - 0x28]
call fcn.10004a50
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x78], 1
push 4
lea edx, [ebp - 0x78]
push edx
push 4
push str.DeleteFlag
lea ecx, [ebp - 0x28]
call fcn.10004a50
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x78], 1
push 4
lea eax, [ebp - 0x78]
push eax
push 4
push str.NeedRestart
lea ecx, [ebp - 0x28]
call fcn.10004a50
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push 0x10007490
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x28]
push edx
call fcn.10004d10
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 6
push str.Set_Driver_Registry_:
mov ecx, 0x1005dfb8
call fcn.100074c0
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.10017bb0
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
call fcn.10003100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10004b10
jmp 0x1001d492
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1001f390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100288d1
mov esp, ebp
pop ebp
ret