Function at 0x10001438
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
jmp 0x10018150
sub esp, 0x670
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
lea eax, [esp + 0x28]
push eax
push 8
xor esi, esi
push esi
push str.Config_ManagerEnum
push 0x80000006
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x20], 1
mov dword [esp + 0x268], esi
mov dword [esp + 0x478], esi
call ebx
test eax, eax
je 0x1001819d
push 1
call fcn.1002f623
push ebp
push edi
jmp 0x100181a3
xor esi, esi
mov eax, dword [0x1006ff08]
lea edx, [esp + 0x48]
push edx
push esi
mov ecx, eax
push esi
inc eax
push esi
mov dword [0x1006ff08], eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x58c]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
je 0x100181eb
cmp eax, 0xea
je 0x100181eb
cmp eax, 0x103
jne 0x10018523
mov dword [esp + 0x14], esi
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + str.Config_ManagerEnum]
mov byte [esp + eax + 0x50], cl
inc eax
test cl, cl
jne 0x100181f0
lea edi, [esp + 0x50]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10018204
mov cx, word [0x100440cc]
lea eax, [esp + 0x578]
mov word [edi], cx
mov esi, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018220
lea edi, [esp + 0x50]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10018230
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x105
rep movsb byte es:[edi], byte [esi]
call fcn.1002e7b2
add esp, 4
lea edx, [esp + 0x28]
push edx
push 1
mov ebp, eax
push 0
lea eax, [esp + 0x5c]
push eax
push 0x80000006
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
jne 0x10018292
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x38]
push str.HardWareKey
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SCSI
push ebp
call fcn.1002c940
add esp, 8
test eax, eax
je 0x100184e0
mov ax, word [0x10045aec]
mov edx, dword [str.Enum_]
mov word [esp + 0x54], ax
mov eax, ebp
mov dword [esp + 0x50], edx
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100182d0
lea edi, [esp + 0x50]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100182e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push 1
push 0
lea edx, [esp + 0x5c]
push edx
push 0x80000002
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
jne 0x10018334
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push ebp
lea ecx, [esp + 0x4c]
push ecx
push 0
push str.class
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
push str.CDROM
push ebp
call fcn.1002c940
add esp, 8
test eax, eax
je 0x100184e0
lea ecx, [esp + 0x20]
push ecx
push 1
push 0
lea edx, [esp + 0x5c]
push edx
mov edi, 0x104
push 0x80000002
mov dword [esp + 0x270], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], edi
call ebx
test eax, eax
jne 0x100183b0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x369]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
push 0x10045ad4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x20]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
push 1
push 0
lea eax, [esp + 0x5c]
push eax
push 0x80000002
mov dword [esp + 0x24], edi
call ebx
test eax, eax
jne 0x100183f8
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x264]
push edx
lea eax, [esp + 0x44]
push eax
push 0
push str.DeviceDesc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x18]
push edx
call esi
lea eax, [esp + 0x1c]
push eax
push 1
push 0
lea ecx, [esp + 0x5c]
push ecx
push 0x80000002
mov dword [esp + 0x24], edi
call ebx
test eax, eax
jne 0x10018440
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x474]
push eax
lea ecx, [esp + 0x40]
push ecx
push 0
push str.CurrentDriveLetterAssignment
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x1c]
push eax
call esi
push 0x80000002
lea ecx, [esp + 0x54]
push str.DMACurrentlyUsed
push ecx
call fcn.10001122
push 0x80000002
lea edx, [esp + 0x60]
push str.IDEMaster
push edx
mov byte [esp + 0x482], al
call fcn.10001122
mov byte [esp + 0x483], al
mov eax, dword [esp + 0x274]
add esp, 0x18
test eax, eax
je 0x100184e0
push 0x80000002
lea eax, [esp + 0x54]
push str.SCSITargetId
push eax
call fcn.10001122
push 0x80000002
lea ecx, [esp + 0x60]
push str.SCSILUN
push ecx
mov bl, al
call fcn.10001122
mov cl, byte [0x10071e13]
sub bl, 0x30
add esp, 0x18
sub al, 0x30
cmp bl, cl
jne 0x100184da
cmp al, byte [0x10071e21]
jne 0x100184da
mov dword [esp + 0x46c], 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
call fcn.1002f01e
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 1
je 0x100181a1
push 0x80000006
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x684]
mov ecx, 0xc7
lea esi, [esp + 0x25c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x670
ret
push 1
call fcn.1002f623
int3