Function at 0x41eef1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x64
lea ebp, [esp - 4]
mov eax, dword [0x4dc104]
xor eax, ebp
mov dword [ebp + 0x64], eax
push 0xe0
mov eax, 0x4b4ba0
call fcn.0048ccab
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 4], eax
xor ebx, ebx
lea eax, [ebp + 0x3c]
mov esi, ecx
mov dword [ebp + 0x44], ebx
push eax
mov dword [ebp + 8], esi
mov byte [ebp + 0x43], bl
mov dword [ebp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x41ef4e
mov dword [ebp + 0x3c], eax
jmp 0x41ef51
mov eax, dword [ebp + 0x3c]
cmp eax, 1
jne 0x41ef59
mov dword [ebp + 0x3c], eax
cmp dword [esi + 0x18], 8
jb 0x41ef64
mov edx, dword [esi + 4]
jmp 0x41ef67
lea edx, [esi + 4]
dec eax
neg eax
lea ecx, [ebp + 0x20]
push ecx
sbb eax, eax
mov ecx, 0x100
and eax, ecx
add eax, ecx
or eax, 0x20019
push eax
push ebx
push edx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f33a
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp]
push dword [ebp + 0x20]
call fcn.0042169a
mov dword [ebp - 4], ebx
mov esi, 0x3fff
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov dword [ebp + 0x30], esi
neg ecx
or ecx, eax
push ecx
call fcn.004881be
pop ecx
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x24], ebx
lea eax, [ebp + 0x38]
push eax
push ebx
lea eax, [ebp + 0x34]
push eax
push ebx
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
mov esi, 0x3fff
push dword [ebp + 0x24]
mov dword [ebp + 0x30], esi
push dword [ebp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp + 0x24]
cmp eax, ebx
jne 0x41f30d
cmp dword [ebp + 0x34], 1
je 0x41f00d
cmp dword [ebp + 0x34], 7
jne 0x41efd1
mov eax, dword [ebp + 0x38]
shr eax, 1
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
mov dword [ebp + 0x30], esi
neg ecx
or ecx, eax
push ecx
call fcn.004881be
pop ecx
lea ecx, [ebp + 0x38]
push ecx
push eax
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x34]
push eax
push ebx
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
mov eax, dword [ebp + 0x24]
dec eax
push eax
push dword [ebp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x41f30d
cmp dword [ebp + 0x34], 1
je 0x41f065
cmp dword [ebp + 0x34], 7
jne 0x41efd1
lea eax, [ebp + 0x10]
push eax
call fcn.0041e642
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x3c]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
call fcn.004216ed
push eax
lea ecx, [ebp + 0x14]
call fcn.0040656e
mov edi, 0x4c5c2c
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.0040fe10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x41f0b3
add eax, 4
mov eax, dword [eax]
jmp 0x41f0b6
add eax, 4
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.0040fe10
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x18]
cmp word [eax], bx
jne 0x41f0d2
push str.2BAE191B_03CE_4148_8BBA_28AE87939E58
jmp 0x41f0d3
push eax
call fcn.0040656e
push dword [ebp + 4]
lea esi, [ebp + 0x48]
call fcn.004040f1
mov byte [ebp - 4], 2
push edi
mov eax, esi
push eax
call fcn.00420b43
mov eax, dword [ebp + 0x38]
shr eax, 1
push eax
push dword [ebp + 0x1c]
lea esi, [ebp - 0x60]
call fcn.00420b1f
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push ebx
lea esi, [ebp + 0x48]
call fcn.00420d36
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00405617
push str.InprocServer32
lea ecx, [ebp - 0x44]
call fcn.004040cf
mov byte [ebp - 4], 4
push dword [ebp + 0x30]
or dword [ebp + 0x44], 1
push dword [ebp + 0x2c]
lea esi, [ebp - 0xb4]
call fcn.00420b1f
mov dword [ebp - 4], 5
or dword [ebp + 0x44], 2
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
mov edi, eax
call fcn.0041ebe1
mov dword [ebp - 4], 6
or dword [ebp + 0x44], 4
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x28]
mov ecx, eax
call fcn.0041e6f6
add esp, 0x10
test al, al
jne 0x41f203
push str.InprocServer32
lea ecx, [ebp - 0x28]
call fcn.004040cf
mov dword [ebp - 4], 7
mov eax, dword [ebp + 0x38]
push 8
pop edi
or dword [ebp + 0x44], edi
shr eax, 1
push eax
push dword [ebp + 0x1c]
lea esi, [ebp - 0xd0]
call fcn.00420b1f
mov dword [ebp - 4], edi
or dword [ebp + 0x44], 0x10
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x98]
push ecx
mov edi, eax
call fcn.0041ebe1
mov dword [ebp - 4], 9
or dword [ebp + 0x44], 0x20
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x28]
mov ecx, eax
call fcn.0041e6f6
add esp, 0x10
test al, al
jne 0x41f203
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x28]
lea ecx, [ebp + 0x48]
call fcn.0041e6f6
pop ecx
pop ecx
mov byte [ebp + 0x42], 1
test al, al
je 0x41f206
mov byte [ebp + 0x42], bl
mov dword [ebp - 4], 8
xor edi, edi
inc edi
test byte [ebp + 0x44], 0x20
je 0x41f227
and dword [ebp + 0x44], 0xffffffdf
push ebx
push edi
lea ecx, [ebp - 0x98]
call fcn.00405617
mov dword [ebp - 4], 7
test byte [ebp + 0x44], 0x10
je 0x41f245
and dword [ebp + 0x44], 0xffffffef
push ebx
push edi
lea ecx, [ebp - 0xd0]
call fcn.00405617
mov dword [ebp - 4], 6
test byte [ebp + 0x44], 8
je 0x41f260
and dword [ebp + 0x44], 0xfffffff7
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00405617
mov dword [ebp - 4], 5
test byte [ebp + 0x44], 4
je 0x41f27b
and dword [ebp + 0x44], 0xfffffffb
push ebx
push edi
lea ecx, [ebp - 0x7c]
call fcn.00405617
mov dword [ebp - 4], 4
test byte [ebp + 0x44], 2
je 0x41f299
and dword [ebp + 0x44], 0xfffffffd
push ebx
push edi
lea ecx, [ebp - 0xb4]
call fcn.00405617
mov dword [ebp - 4], 2
test byte [ebp + 0x44], 1
je 0x41f2b4
and dword [ebp + 0x44], 0xfffffffe
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.00405617
cmp byte [ebp + 0x42], bl
je 0x41f2ee
mov eax, dword [ebp + 0x38]
shr eax, 1
push eax
push dword [ebp + 0x1c]
lea esi, [ebp - 0xec]
call fcn.00420b1f
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x28]
mov ecx, eax
call fcn.0041e6f6
pop ecx
pop ecx
mov byte [ebp - 4], 2
push ebx
push edi
mov ecx, esi
call fcn.00405617
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.00405617
mov byte [ebp - 4], bl
lea eax, [ebp + 0x10]
push eax
call fcn.00408e83
jmp 0x41efd1
cmp eax, 0x103
jne 0x41f318
mov byte [ebp + 0x43], 1
push dword [ebp + 0x2c]
call fcn.00489276
pop ecx
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x3c]
mov ecx, eax
dec eax
mov dword [ebp + 0x3c], eax
test ecx, ecx
jne 0x41ef59
mov al, byte [ebp + 0x43]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.00488689
add ebp, 0x68
leave
ret