Function at 0x1002c420
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10098288
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6d4]
mov ebp, dword [esp + 0x6b4]
mov dword [esp + 0x14], ecx
mov ecx, 7
lea esi, [esp + 0x6b8]
lea edi, [esp + 0x34]
mov ebx, edx
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [esp + 0x690], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [esp + 0x30]
push edx
neg eax
push 4
sbb eax, eax
push edi
and eax, 0xffffffe0
push str.ResetErrorCountersOnSuccess
add eax, 0x1f
push ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], 1
call esi
push 0x1fe
lea ecx, [esp + 0x48a]
xor eax, eax
push edi
push ecx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 4
mov word [esp + 0x490], ax
call fcn.10079c60
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.MasterIdDataCheckSum
push ebx
call edi
test eax, eax
jne 0x1002c521
push str.MasterIdDataCheckSum
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.SlaveIdDataChecksum
push ebx
call edi
test eax, eax
jne 0x1002c54d
push str.SlaveIdDataChecksum
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.UserMasterDeviceTimingModeAllowed
push ebx
call esi
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.UserSlaveDeviceTimingModeAllowed
push ebx
call esi
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.MasterDeviceTimingModeAllowed
push ebx
call esi
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.SlaveDeviceTimingModeAllowed
push ebx
call esi
test eax, eax
jne 0x1002c6fe
push 0x228
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10079c60
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
mov dword [esp + 0x60], 0x22c
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsW]
test eax, eax
je 0x1002c6f1
or dword [esp + 0x58], 0x40
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsW]
test eax, eax
je 0x1002c6e4
mov edx, dword [esp + 0x48]
push 0
push 1
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode_Ex]
test eax, eax
jne 0x1002c6d7
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x28e]
push ecx
mov word [esp + 0x290], ax
call fcn.10079c60
mov eax, dword [esp + 0x6a8]
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0x6b0], ebp
jae 0x1002c651
lea eax, [esp + 0x69c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x288]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push eax
push ebx
call edi
test eax, eax
jne 0x1002c709
mov ecx, dword [esp + 0x284]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1002c6cd
call fcn.1002c120
cmp eax, 1
jne 0x1002c6cd
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], 7
mov eax, dword [esp + 0x69c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0x10010
cmp dword [esp + 0x6b0], ebp
jae 0x1002c6bc
lea eax, [esp + 0x69c]
push 4
lea ecx, [esp + 0x34]
push ecx
push 4
push 0
push eax
push ebx
call esi
jmp 0x1002c709
mov dword [esp + 0x24], 1
jmp 0x1002c709
mov edx, dword [esp + 0x14]
mov dword [edx + 0x1c], 6
jmp 0x1002c709
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], 5
jmp 0x1002c709
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x1c], 4
jmp 0x1002c709
mov edx, dword [esp + 0x14]
mov dword [edx + 0x1c], 3
mov edi, dword [esp + 0x14]
add edi, 0x24
lea ebx, [esp + 0x28]
call fcn.10066440
mov dword [esp + 0x690], 0xffffffff
cmp dword [esp + 0x6b0], 8
jb 0x1002c73e
mov eax, dword [esp + 0x69c]
push eax
call fcn.100755e2
add esp, 4
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x6b0], 7
mov dword [esp + 0x6ac], 0
mov word [esp + 0x69c], cx
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.100755ed
add esp, 0x680
ret 0x40