Function at 0x404e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp + 8]
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServicesExt2Fsd]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x128], eax
mov ax, word [0x41b110]
mov edi, dword [ebp + 0x14]
mov word [ebp - 0xe0], ax
lea eax, [ebp - 0x118]
push eax
movups xmmword [ebp - 0x108], xmm0
push 0xf003f
movups xmm0, xmmword [0x41b0f8]
push 0
lea eax, [ebp - 0x108]
movups xmmword [ebp - 0xf8], xmm0
push eax
movq xmm0, qword [0x41b108]
push 0x80000002
mov dword [ebp - 0x110], 0
movq qword [ebp - 0xe8], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404eeb
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416a63
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0x41b114
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x404f32
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x110]
mov dword [ecx], eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x41b14c]
movups xmm0, xmmword [0x41b11c]
mov dword [ebp - 0xd8], eax
mov al, byte [0x41b150]
mov byte [ebp - 0xd4], al
lea eax, [ebp - 0x118]
push eax
movups xmmword [ebp - 0x108], xmm0
push 0xf003f
movups xmm0, xmmword [0x41b12c]
push 0
lea eax, [ebp - 0x108]
movups xmmword [ebp - 0xf8], xmm0
push eax
movups xmm0, xmmword [0x41b13c]
push 0x80000002
movups xmmword [ebp - 0xe8], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404fb5
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416a63
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.WritingSupport
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x404ff8
cmp dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x120]
sete al
mov dword [ecx], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Ext3ForceWriting
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x40503b
cmp dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x124]
setne al
mov dword [ecx], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.AutoMount
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x40507e
cmp dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x128]
setne al
mov dword [ecx], eax
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4050b0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x20
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.CodePage
push dword [ebp - 0x118]
call esi
test ebx, ebx
je 0x4050dc
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x20
push eax
push ebx
lea eax, [ebp - 0x114]
push eax
push 0
push str.HidingPrefix
push dword [ebp - 0x118]
call esi
test edi, edi
je 0x405108
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x20
push eax
push edi
lea eax, [ebp - 0x114]
push eax
push 0
push str.HidingSuffix
push dword [ebp - 0x118]
call esi
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00416a63
mov esp, ebp
pop ebp
ret