Function at 0x4028b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43614e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb48
push edi
mov byte [ebp - 0xb38], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xb37]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xa34], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xa33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x91c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x91b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x410], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x818], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x817]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x928], 0
cmp dword [0x4966a8], 0
je 0x402976
push str.pe_systemMountedDevices
lea eax, [ebp - 0xb38]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x40298a
push str.SYSTEMMountedDevices
lea ecx, [ebp - 0xb38]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x418], 0x20019
call fcn.004013e3
test eax, eax
je 0x4029ac
mov edx, dword [ebp - 0x418]
or dh, 1
mov dword [ebp - 0x418], edx
lea eax, [ebp - 0x92c]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0
lea edx, [ebp - 0xb38]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x930], eax
cmp dword [ebp - 0x930], 0
jne 0x402c85
push 0x4966ec
lea ecx, [ebp - 0xb3c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb48]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418bd0
mov ecx, dword [eax]
mov dword [ebp - 0xb40], ecx
jmp 0x402a1c
lea ecx, [ebp - 0xb40]
call fcn.00406410
lea edx, [ebp - 0xb4c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040fd40
push eax
lea ecx, [ebp - 0xb40]
call fcn.00418c40
and eax, 0xff
test eax, eax
je 0x402c54
lea ecx, [ebp - 0xb40]
call fcn.00418bb0
add eax, 4
push eax
lea ecx, [ebp - 0xb3c]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0xb3c]
push eax
push str.__Volume_s
lea ecx, [ebp - 0xa34]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x414], 0x400
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0xa34]
push edx
mov eax, dword [ebp - 0x92c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x930], eax
cmp dword [ebp - 0x930], 0
jne 0x402bff
mov dword [ebp - 0x928], 0
mov ecx, 1
test ecx, ecx
je 0x402bff
mov dword [ebp - 0x924], 0x104
mov dword [ebp - 0x920], 0x400
lea edx, [ebp - 0x920]
push edx
lea eax, [ebp - 0x818]
push eax
push 0
push 0
lea ecx, [ebp - 0x924]
push ecx
lea edx, [ebp - 0x91c]
push edx
mov eax, dword [ebp - 0x928]
mov dword [ebp - 0xb54], eax
mov ecx, dword [ebp - 0xb54]
push ecx
mov edx, dword [ebp - 0x92c]
push edx
mov eax, dword [ebp - 0x928]
add eax, 1
mov dword [ebp - 0x928], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x930], eax
cmp dword [ebp - 0x930], 0
je 0x402b4d
jmp 0x402bff
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [ebp - 0x920]
jne 0x402bfa
mov edx, dword [ebp - 0x414]
push edx
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.004016c2
add esp, 0xc
test eax, eax
je 0x402bfa
mov edx, dword [ebp - 0x924]
push edx
lea eax, [ebp - 0x91c]
push eax
lea ecx, [ebp - 0xa34]
push ecx
call fcn.004016c2
add esp, 0xc
test eax, eax
jne 0x402bfa
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xb44]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
push str.DosDevices
lea ecx, [ebp - 0xb44]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x402beb
mov eax, dword [ebp - 0x924]
mov cl, byte [ebp + eax - 0x91e]
push ecx
lea ecx, [ebp - 0xb40]
call fcn.00418bb0
mov ecx, eax
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb44]
call sub.MFC42.DLL_CString::CString
jmp 0x402ac9
push str._Volume
lea ecx, [ebp - 0xb40]
call fcn.00418bb0
mov ecx, eax
add ecx, 4
call sub.MFC42.DLL_CString::operator_2
lea edx, [ebp - 0xb3c]
push edx
lea ecx, [ebp - 0xb40]
call fcn.00418bb0
mov ecx, eax
add ecx, 4
call fcn.004354d4
push 0x48076c
lea ecx, [ebp - 0xb40]
call fcn.00418bb0
mov ecx, eax
add ecx, 4
call fcn.0043549e
jmp 0x402a11
mov eax, dword [ebp - 0x92c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xb50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb3c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0xb50]
jmp 0x402c87
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret