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

Disassembly:
mov eax, dword [0x7add98]
sub esp, 0x84c
push ebx
push ebp
push esi
push edi
push eax
call fcn.0068b7b0
add esp, 4
test eax, eax
je 0x69bd8a
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push 0x7adf2c
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x69bd92
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x84c
ret
mov dword [esp + 0x10], 0
mov dl, byte [esp + 0x860]
mov esi, dword [esp + 0x868]
movsx ebp, dl
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x5c]
mov byte [esi + 0x10], dl
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.user32.dll_wsprintfA]
push ebp
lea edx, [esp + 0x20]
mov ebx, 3
push 0x7adf18
push edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0
mov byte [esi + 0x11], 0
call edi
add esp, 0xc
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x1c]
push 0x800
push eax
push ecx
call dword [sym.imp.kernel32.dll_QueryDosDeviceA]
lea edx, [esp + 0x5c]
lea eax, [esi + 0x30]
push edx
push 0x7adedc
push eax
call edi
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x69bf9e
push ebp
lea ecx, [esp + 0x20]
push 0x7adf1c
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push 0
mov ebp, 0x800
push edx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x69be90
mov ecx, dword [esp + 0x14]
test ecx, ecx
jbe 0x69be6d
mov bl, byte [esp + eax + 0x5c]
mov edx, eax
shr edx, 1
add eax, 2
cmp eax, ecx
mov byte [esp + edx + 0x1c], bl
jb 0x69be5a
mov cl, byte [esp + 0x20]
lea eax, [esi + 0x40]
cmp cl, 0x23
je 0x69be8b
lea edx, [esp + 0x20]
sub edx, eax
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
cmp cl, 0x23
jne 0x69be7f
mov byte [eax], 0
jmp 0x69bea0
lea ecx, [esi + 0x40]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x864]
lea edx, [esp + 0x5c]
push ebp
push edx
push eax
mov dword [esp + 0x20], ebp
call fcn.0069c000
add esp, 0xc
test eax, eax
jge 0x69bed9
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 0xfffffff4
pop ebx
add esp, 0x84c
ret
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x69bf2a
lea edx, [esp + 0xa8]
lea eax, [esi + 0x50]
push edx
push 0x7aded4
push eax
mov dword [esp + 0x74], 0x4c
call edi
mov ecx, dword [esp + 0x74]
lea eax, [esi + 0x60]
lea edx, [esp + ecx + 0x70]
push edx
push 0x7adecc
push eax
call edi
mov ecx, dword [esp + 0x80]
lea eax, [esi + 0x74]
lea edx, [esp + ecx + 0x8c]
push edx
push 0x7adec4
push eax
jmp 0x69bf63
lea ecx, [esp + eax + 0x5c]
lea edx, [esi + 0x50]
push ecx
push 0x7aded4
push edx
call edi
mov eax, dword [esp + 0x78]
lea edx, [esi + 0x60]
lea ecx, [esp + eax + 0x68]
push ecx
push 0x7adecc
push edx
call edi
mov eax, dword [esp + 0x88]
lea edx, [esi + 0x74]
lea ecx, [esp + eax + 0x74]
push ecx
push 0x7adec4
push edx
call edi
add esp, 0x24
mov byte [esi + 0x58], 0
mov byte [esi + 0x70], 0
mov byte [esi + 0x78], 0
lea eax, [esi + 0x6f]
cmp byte [eax], 0
jne 0x69bf82
mov byte [eax], 0x20
dec eax
jmp 0x69bf77
lea eax, [esi + 0x57]
cmp byte [eax], 0
jne 0x69bf90
mov byte [eax], 0x20
dec eax
jmp 0x69bf85
lea eax, [esi + 0x77]
cmp byte [eax], 0
jne 0x69bfcd
mov byte [eax], 0x20
dec eax
jmp 0x69bf93
lea ecx, [esi + 0x40]
xor eax, eax
xor edx, edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x50]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], edx
lea edx, [esi + 0x60]
lea eax, [esi + 0x74]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [eax], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x864]
push edx
mov dword [esi + 4], ecx
mov dword [esi], 0
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84c
ret