Function at 0x41df02
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x64
lea ebp, [esp - 4]
mov eax, dword [0x4d9114]
xor eax, ebp
mov dword [ebp + 0x64], eax
push 0xe0
mov eax, 0x4b1270
call fcn.0048bc3b
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 0x41df5f
mov dword [ebp + 0x3c], eax
jmp 0x41df62
mov eax, dword [ebp + 0x3c]
cmp eax, 1
jne 0x41df6a
mov dword [ebp + 0x3c], eax
cmp dword [esi + 0x18], 8
jb 0x41df75
mov edx, dword [esi + 4]
jmp 0x41df78
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 0x41e34b
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp]
push dword [ebp + 0x20]
call fcn.00420708
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.0048720d
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 0x41e31e
cmp dword [ebp + 0x34], 1
je 0x41e01e
cmp dword [ebp + 0x34], 7
jne 0x41dfe2
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.0048720d
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 0x41e31e
cmp dword [ebp + 0x34], 1
je 0x41e076
cmp dword [ebp + 0x34], 7
jne 0x41dfe2
lea eax, [ebp + 0x10]
push eax
call fcn.0041d653
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.0042075b
push eax
lea ecx, [ebp + 0x14]
call fcn.00405c8e
mov edi, 0x4c2ce4
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.0040f07d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x41e0c4
add eax, 4
mov eax, dword [eax]
jmp 0x41e0c7
add eax, 4
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.0040f07d
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x18]
cmp word [eax], bx
jne 0x41e0e3
push str.2BAE191B_03CE_4148_8BBA_28AE87939E58
jmp 0x41e0e4
push eax
call fcn.00405c8e
push dword [ebp + 4]
lea esi, [ebp + 0x48]
call fcn.004040d3
mov byte [ebp - 4], 2
push edi
mov eax, esi
push eax
call fcn.0041fb54
mov eax, dword [ebp + 0x38]
shr eax, 1
push eax
push dword [ebp + 0x1c]
lea esi, [ebp - 0x60]
call fcn.0041fb30
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push ebx
lea esi, [ebp + 0x48]
call fcn.0041fd47
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040515f
push str.InprocServer32
lea ecx, [ebp - 0x44]
call fcn.004040b1
mov byte [ebp - 4], 4
push dword [ebp + 0x30]
or dword [ebp + 0x44], 1
push dword [ebp + 0x2c]
lea esi, [ebp - 0xb4]
call fcn.0041fb30
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.0041dbf2
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.0041d707
add esp, 0x10
test al, al
jne 0x41e214
push str.InprocServer32
lea ecx, [ebp - 0x28]
call fcn.004040b1
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.0041fb30
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.0041dbf2
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.0041d707
add esp, 0x10
test al, al
jne 0x41e214
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x28]
lea ecx, [ebp + 0x48]
call fcn.0041d707
pop ecx
pop ecx
mov byte [ebp + 0x42], 1
test al, al
je 0x41e217
mov byte [ebp + 0x42], bl
mov dword [ebp - 4], 8
xor edi, edi
inc edi
test byte [ebp + 0x44], 0x20
je 0x41e238
and dword [ebp + 0x44], 0xffffffdf
push ebx
push edi
lea ecx, [ebp - 0x98]
call fcn.0040515f
mov dword [ebp - 4], 7
test byte [ebp + 0x44], 0x10
je 0x41e256
and dword [ebp + 0x44], 0xffffffef
push ebx
push edi
lea ecx, [ebp - 0xd0]
call fcn.0040515f
mov dword [ebp - 4], 6
test byte [ebp + 0x44], 8
je 0x41e271
and dword [ebp + 0x44], 0xfffffff7
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.0040515f
mov dword [ebp - 4], 5
test byte [ebp + 0x44], 4
je 0x41e28c
and dword [ebp + 0x44], 0xfffffffb
push ebx
push edi
lea ecx, [ebp - 0x7c]
call fcn.0040515f
mov dword [ebp - 4], 4
test byte [ebp + 0x44], 2
je 0x41e2aa
and dword [ebp + 0x44], 0xfffffffd
push ebx
push edi
lea ecx, [ebp - 0xb4]
call fcn.0040515f
mov dword [ebp - 4], 2
test byte [ebp + 0x44], 1
je 0x41e2c5
and dword [ebp + 0x44], 0xfffffffe
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.0040515f
cmp byte [ebp + 0x42], bl
je 0x41e2ff
mov eax, dword [ebp + 0x38]
shr eax, 1
push eax
push dword [ebp + 0x1c]
lea esi, [ebp - 0xec]
call fcn.0041fb30
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x28]
mov ecx, eax
call fcn.0041d707
pop ecx
pop ecx
mov byte [ebp - 4], 2
push ebx
push edi
mov ecx, esi
call fcn.0040515f
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040515f
mov byte [ebp - 4], bl
lea eax, [ebp + 0x10]
push eax
call fcn.0040838a
jmp 0x41dfe2
cmp eax, 0x103
jne 0x41e329
mov byte [ebp + 0x43], 1
push dword [ebp + 0x2c]
call fcn.00488413
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 0x41df6a
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.004876e8
add ebp, 0x68
leave
ret