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

Disassembly:
sub esp, 0x76c
mov eax, dword [0x49a2e4]
mov edx, ecx
push ebx
push edi
mov dword [esp + 0x770], eax
mov eax, dword [esp + 0x778]
mov cl, byte [eax + 4]
mov byte [esp + 0xf], cl
xor eax, eax
lea edi, [edx + 0x18]
mov ecx, 0x41
rep stosd dword es:[edi], eax
lea edi, [edx + 0x11c]
mov ecx, 0x41
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov dword [esp + 0x20], edx
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
lea edx, [esp + 0x2c]
push edx
push 0xf003f
xor ebx, ebx
push ebx
push str.EnumSCSI
push reloc.lame_enc.DLL_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x425984
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x768]
call fcn.0043291f
add esp, 0x76c
ret 4
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x1c], ebx
push esi
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x37c]
push edx
push eax
push ecx
mov dword [esp + 0x58], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x425cb7
mov edx, dword [str.EnumSCSI_]
mov eax, dword [0x47e528]
mov cx, word [0x47e52c]
mov dword [esp + 0x5c], edx
mov dl, byte [0x47e52e]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x368]
mov word [esp + 0x64], cx
mov byte [esp + 0x66], dl
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4259f7
lea edi, [esp + 0x5c]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x425a05
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x2c]
push eax
and ecx, 3
push 0xf003f
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x68]
push ecx
push reloc.lame_enc.DLL_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425cbe
mov dword [esp + 0x24], ebx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x28]
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x480]
push ecx
push edx
push eax
mov dword [esp + 0x50], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x425ca7
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x5c]
mov byte [esp + eax + 0x570], cl
inc eax
cmp cl, bl
jne 0x425a80
lea edi, [esp + 0x570]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x425a98
mov cx, word [0x474568]
lea eax, [esp + 0x46c]
mov word [edi], cx
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425ab3
lea edi, [esp + 0x570]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x425ac4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x18]
push edx
push 0xf003f
mov ecx, eax
push ebx
lea eax, [esp + 0x57c]
push eax
and ecx, 3
push reloc.lame_enc.DLL_Ordinal_2
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425cae
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push str.CurrentDriveLetterAssignment
mov esi, 5
push ecx
mov dword [esp + 0x28], esi
call ebp
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.Manufacturer
mov edi, 0x104
push edx
mov dword [esp + 0x28], edi
call ebp
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x268]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.ProductId
push eax
mov dword [esp + 0x28], edi
call ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push str.SCSILUN
push ecx
mov dword [esp + 0x28], esi
call ebp
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.SCSITargetID
push edx
mov dword [esp + 0x28], esi
call ebp
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x164]
push ecx
movzx ecx, byte [esp + 0x54]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x60]
push eax
push ecx
push str.Dirve__c__Lun____s__TargetID____s__Manufacturer____s__ProductID____s_n
call fcn.00423b00
movzx edx, byte [esp + 0x64]
push edx
call fcn.00434f23
mov esi, eax
movsx eax, byte [esp + 0x33]
push eax
call fcn.00434f23
add esp, 0x20
cmp eax, esi
jne 0x425cae
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x160]
add edx, 0x18
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x425c10
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x264]
add edx, 0x11c
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x425c30
lea edx, [esp + 0x54]
push edx
call fcn.00433022
mov esi, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
lea eax, [esp + 0x48]
push eax
call fcn.00433022
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425c61
sub eax, edx
mov cl, byte [eax + esi + 0x17]
dec eax
cmp cl, 0x20
je 0x425c6a
mov byte [eax + esi + 0x19], bl
lea eax, [esi + 0x11c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425c81
sub eax, edx
mov cl, byte [eax + esi + 0x11b]
dec eax
cmp cl, 0x20
je 0x425c8a
mov ecx, esi
mov byte [eax + esi + 0x11d], bl
call fcn.00425810
jmp 0x425cc9
cmp eax, 0x103
je 0x425cbe
inc dword [esp + 0x24]
jmp 0x425a42
cmp eax, 0x103
je 0x425cc7
inc dword [esp + 0x20]
jmp 0x425990
xor eax, eax
mov ecx, dword [esp + 0x778]
pop esi
pop ebp
pop edi
pop ebx
call fcn.0043291f
add esp, 0x76c
ret 4