Function at 0x41c7ab
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor ecx, ecx
push 0x800
push ecx
push 0x40ae24
mov dword [eax], ecx
mov dword [ebx], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x41c803
push 0x40ae48
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x40ae60
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [ebp - 8], eax
jmp 0x41c806
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x41c882
test eax, eax
je 0x41c882
lea eax, [ebp - 4]
mov dword [ebp - 0x18], 1
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 2
push eax
push edi
push 0x40ae80
mov ecx, esi
call dword [0x421350]
call esi
mov esi, eax
test esi, esi
js 0x41c97c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41c878
cmp dword [ecx + 4], 0
jne 0x41c861
and dword [ebx], 0
jmp 0x41c995
xor edi, edi
inc edi
cmp dword [ecx + 8], edi
jne 0x41c878
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov dword [ebx], edi
mov dword [edx], eax
jmp 0x41c995
mov esi, 0x8007000d
jmp 0x41c995
mov esi, 0x40ae90
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x41c940
push 0x40aee8
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x41c8b5
mov esi, 0x40af40
jmp 0x41c940
push 0x40af90
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x41c8ce
mov esi, 0x40afd8
jmp 0x41c940
mov esi, 0x40b018
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x41c940
mov esi, 0x40b040
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x41c940
mov esi, 0x40b078
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x41c940
mov esi, 0x40ae04
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x41c940
mov esi, 0x40b0b0
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x41c940
mov esi, 0x40b0e8
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x41c98d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
push dword [ebp + 8]
push 0
push 0x18
push esi
push 0x40b120
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov esi, eax
test esi, esi
jle 0x41c974
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41c97c
mov dword [ebx], 1
mov ecx, dword [ebp - 4]
cmp esi, 0x80070002
jne 0x41c995
xor esi, esi
and dword [ebx], esi
jmp 0x41c995
mov ecx, dword [ebp - 4]
mov esi, 0x80070057
test ecx, ecx
je 0x41c9b5
mov edi, dword [ebp - 8]
push ecx
mov ecx, edi
call dword [0x421350]
call edi
test eax, eax
jns 0x41c9b5
push eax
push ecx
mov ecx, dword [ebp + 4]
call fcn.0041d041
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41c9c3
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
test esi, esi
jns 0x41c9da
mov ecx, dword [ebp + 4]
mov edx, 0x1af
push esi
push 0x40b188
call fcn.0040e960
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4