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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push edi
xor edi, edi
push 0x104
mov eax, 4
push edi
push str.SYSTEM_JOHNDEACFC57A3_BF4BCE24
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_memset
add esp, 0xc
call fcn.10016640
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, edi
je 0x10001b07
push esi
call fcn.10016740
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x10001ab5
push 0x104
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 4]
push ecx
push edi
push edi
lea edx, [ebp - 0x124]
push edx
mov byte [ebp - 0x121], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x100019be
mov dword [ebp - 4], 0xff00ff
lea eax, [ebp - 0x14]
push eax
push 0x101
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001a04
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push str.InstallDate
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10001a0e
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
call esi
push eax
push ebx
call esi
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push str._s__s__08X
push 0x104
push str.SYSTEM_JOHNDEACFC57A3_BF4BCE24
call ebx
mov eax, str.SYSTEM_JOHNDEACFC57A3_BF4BCE24
add esp, 0x18
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001a44
sub eax, edx
je 0x10001aad
nop
mov edi, str._53_59_53_54_45_4D_21_4A_4F_48_4E_44_45_41_43_46_43_35_37_41_33_21_42_46_34_42_43_45_32_34
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001a56
mov cx, word [0x1001b504]
mov eax, str._53_59_53_54_45_4D_21_4A_4F_48_4E_44_45_41_43_46_43_35_37_41_33_21_42_46_34_42_43_45_32_34
mov word [edi], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001a70
sub eax, edx
movsx edx, byte [esi + str.SYSTEM_JOHNDEACFC57A3_BF4BCE24]
push edx
push str._02X
lea eax, [eax + str._53_59_53_54_45_4D_21_4A_4F_48_4E_44_45_41_43_46_43_35_37_41_33_21_42_46_34_42_43_45_32_34]
push 4
push eax
call ebx
mov eax, str.SYSTEM_JOHNDEACFC57A3_BF4BCE24
add esp, 0x10
inc esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001aa0
sub eax, edx
cmp esi, eax
jb 0x10001a50
mov ebx, dword [ebp - 0xc]
mov edi, 1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapValidate]
push eax
call ebx
test eax, eax
je 0x10001adc
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10001afe
push eax
push 0
call esi
push eax
call ebx
test eax, eax
je 0x10001afe
mov edx, dword [ebp - 8]
push edx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret