Function at 0x100030e0
Capabilities:
Get disk information
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
push edi
xor edi, edi
push 0x104
mov eax, 4
push edi
push str.ADMINISTRATOR_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.10024ff0
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, edi
je 0x100032d7
push ebx
call fcn.100250f0
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x10003285
push 0x104
lea eax, [ebp - 0x124]
push eax
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push edi
push edi
push edi
push edi
lea edx, [ebp - 4]
push edx
push edi
push edi
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x10003179
mov dword [ebp - 4], 0xff00ff
lea ecx, [ebp - 0x14]
push ecx
push 0x101
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100031bf
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.InstallDate
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100031c9
xor dword [ebp - 4], eax
cmp dword [0x1004e614], edi
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
je 0x100031de
mov esi, 0x10045728
jmp 0x100031e3
push esi
call edi
mov esi, eax
mov ecx, dword [ebp - 4]
push ecx
push ebx
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push esi
push str._s__s__08X
push 0x104
push str.ADMINISTRATOR_JOHNDEACFC57A3_BF4BCE24
call ebx
mov eax, str.ADMINISTRATOR_JOHNDEACFC57A3_BF4BCE24
add esp, 0x18
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003210
sub eax, edx
je 0x1000327d
jmp 0x10003220
mov edi, str._41_44_4D_49_4E_49_53_54
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10003226
mov dx, word [0x1004573c]
mov eax, str._41_44_4D_49_4E_49_53_54
mov word [edi], dx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003240
movsx ecx, byte [esi + str.ADMINISTRATOR_JOHNDEACFC57A3_BF4BCE24]
push ecx
sub eax, edx
push str._02X
lea edx, [eax + str._41_44_4D_49_4E_49_53_54]
push 4
push edx
call ebx
mov eax, str.ADMINISTRATOR_JOHNDEACFC57A3_BF4BCE24
add esp, 0x10
inc esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003270
sub eax, edx
cmp esi, eax
jb 0x10003220
mov esi, dword [ebp - 0xc]
mov edi, 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapValidate]
push eax
call ebx
test eax, eax
je 0x100032ac
mov eax, dword [ebp - 0xc]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
test eax, eax
je 0x100032ce
push eax
push 0
call esi
push eax
call ebx
test eax, eax
je 0x100032ce
mov ecx, dword [ebp - 8]
push ecx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret