Function at 0x69b250
Capabilities:
Get disk information
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x3428
call fcn.006d70a0
lea eax, [esp + 4]
push ebx
push eax
xor ebx, ebx
push 0xf003f
push ebx
push 0x7adea4
push 0x80000002
mov dword [esp + 0x20], 4
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x69b28f
or eax, 0xffffffff
pop ebx
add esp, 0x3428
ret
push ebp
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov ebp, dword [sym.imp.user32.dll_wsprintfA]
mov esi, ebx
shl esi, 8
push 0x7ade98
lea edi, [esp + esi + 0x23c]
push edi
call ebp
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, ecx
inc ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea ecx, [esp + esi + 0x252]
push edx
mov edx, dword [esp + 0x28]
push ecx
push eax
push edx
mov dword [esp + 0x30], 0xf6
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
test eax, eax
jne 0x69b3d8
lea eax, [esp + 0x24]
push eax
push 0xf003f
push 0
push edi
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x69b3c4
push edi
call fcn.0069b710
mov dword [esp + 0x2c], eax
add eax, esi
lea ecx, [esp + 0x13c]
push edi
mov byte [esp + eax + 0x240], 0x5c
push ecx
mov byte [esp + eax + 0x245], 0
call ebp
add esp, 0xc
xor ebp, ebp
cmp ebx, 0x32
jge 0x69b3c4
mov edi, esi
lea edx, [esp + 0x138]
lea esi, [esp + edi + 0x238]
push edx
push esi
call dword [sym.imp.user32.dll_wsprintfA]
push esi
call fcn.0069b710
add esp, 0xc
lea edx, [esp + 0x30]
mov ecx, 0x100
mov ebx, ebp
push edx
sub ecx, eax
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
push esi
mov dword [esp + 0x28], ecx
inc ebp
call fcn.0069b710
mov edx, dword [esp + 0x3c]
add eax, edi
add esp, 4
lea ecx, [esp + eax + 0x24c]
push ecx
push ebx
push edx
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
test eax, eax
jne 0x69b3c0
mov edx, dword [esp + 0x1c]
add edi, 0x100
inc edx
cmp edi, 0x3200
mov dword [esp + 0x1c], edx
jl 0x69b349
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp ebx, 0x32
jl 0x69b29a
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ebp, dword [esp + 0x343c]
mov dword [esp + 0x20], 0
test ebx, ebx
jle 0x69b6f1
test ebx, ebx
jle 0x69b6f1
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea edx, [esp + 0x238]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x69b6bb
mov ecx, 0x40
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
mov ebx, 0x100
push 0x7ade88
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebx
call esi
lea eax, [esp + 0x38]
push 8
lea ecx, [ebp + 0x50]
push eax
push ecx
call fcn.0069b730
add esp, 0xc
test eax, eax
je 0x69b49b
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x69b6c0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0
push 0x7ade7c
push eax
mov dword [esp + 0x28], ebx
call esi
lea ecx, [esp + 0x38]
push 0x10
lea edx, [ebp + 0x60]
push ecx
push edx
call fcn.0069b730
add esp, 0xc
test eax, eax
je 0x69b4f0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x69b6c0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push 0x7ade6c
push ecx
mov dword [esp + 0x28], ebx
call esi
lea edx, [esp + 0x38]
push 4
lea eax, [ebp + 0x74]
push edx
push eax
call fcn.0069b730
add esp, 0xc
test eax, eax
je 0x69b545
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x69b6c0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0x7ade5c
push edx
mov dword [esp + 0x28], ebx
call esi
lea eax, [esp + 0x38]
push eax
call fcn.006d791f
xor ecx, ecx
add esp, 4
mov cl, byte [ebp + 1]
cmp ecx, eax
je 0x69b599
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x69b6c0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0
push 0x7ade54
push eax
mov dword [esp + 0x28], ebx
call esi
lea ecx, [esp + 0x38]
push ecx
call fcn.006d791f
mov edx, dword [ebp]
add esp, 4
and edx, 0xff
cmp edx, eax
je 0x69b5f1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x69b6c0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push 0x7ade34
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x69b678
movsx edx, byte [esp + 0x38]
push edx
lea eax, [esp + 0x13c]
push 0x7ade28
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x69b66b
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x38]
mov byte [eax + ebp + 0x10], dl
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x69b6c0
mov eax, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0x7ade1c
push ecx
mov byte [ebp + 0x10], 0x3f
mov dword [esp + 0x40], 0
call esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x69b6c0
mov ebx, 0x100
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add ecx, ebx
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
jne 0x69b417
mov eax, dword [esp + 0x20]
test eax, eax
je 0x69b6f1
cmp eax, 2
jl 0x69b6f5
mov cl, byte [eax + ebp + 0xf]
mov byte [eax + ebp + 0x10], cl
dec eax
jne 0x69b6e6
mov byte [ebp + 0x10], 0x3f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3428
ret