Function at 0x41f36b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x254
lea ebp, [esp - 4]
mov eax, dword [0x4dc104]
xor eax, ebp
mov dword [ebp + 0x254], eax
push 0x74
mov eax, 0x4b50f7
call fcn.0048ccde
mov eax, dword [ebp + 0x260]
mov dword [ebp - 0x30], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0x264]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x268]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x11], 0
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x41f3d1
mov dword [ebp - 0x18], eax
jmp 0x41f3d4
mov eax, dword [ebp - 0x18]
cmp eax, 1
jne 0x41f3dc
mov dword [ebp - 0x18], eax
mov ebx, 0x4c5c2c
cmp dword [edi + 0x18], 8
jb 0x41f3ec
mov edx, dword [edi + 4]
jmp 0x41f3ef
lea edx, [edi + 4]
lea ecx, [ebp - 0x40]
push ecx
dec eax
neg eax
sbb eax, eax
mov ecx, 0x100
and eax, ecx
add eax, ecx
or eax, 0x20019
push eax
push 0
push edx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f62d
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x40]
lea esi, [ebp - 0x48]
call fcn.0042169a
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], 0xff
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0xff
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x24]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0x54]
push ecx
push eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x20], eax
cmp eax, esi
jne 0x41f5e8
lea eax, [ebp - 0x3c]
push eax
call fcn.0041e642
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
call fcn.004216ed
push eax
lea ecx, [ebp - 0x38]
call fcn.0040656e
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040fe10
cmp dword [edi + 0x18], 8
jb 0x41f4b4
mov edi, dword [edi + 4]
jmp 0x41f4b7
add edi, 4
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.0040fe10
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040fe10
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040fe10
push str.InprocServer32
lea ecx, [ebp - 0x64]
call fcn.004040cf
mov byte [ebp - 4], 3
push dword [ebp - 0x2c]
lea eax, [ebp + 0x54]
push eax
lea esi, [ebp - 0x80]
call fcn.00420b1f
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp + 0x38]
push ecx
mov edi, eax
call fcn.0041ebe1
pop ecx
pop ecx
mov byte [ebp - 4], 6
xor edi, edi
push edi
push 1
mov ecx, esi
call fcn.00405617
mov byte [ebp - 4], 7
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.00405617
cmp dword [ebp + 0x4c], edi
je 0x41f582
push dword [ebp - 0x44]
lea esi, [ebp]
call fcn.004040f1
mov byte [ebp - 4], 8
push ebx
mov eax, esi
push eax
call fcn.00420b43
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x38]
call fcn.00420d36
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x28]
mov ecx, esi
call fcn.0041e6f6
pop ecx
pop ecx
test al, al
jne 0x41f579
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp + 0x38]
call fcn.0041e6f6
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp]
jmp 0x41f5bf
push dword [ebp - 0x1c]
lea esi, [ebp + 0x1c]
call fcn.004040f1
mov byte [ebp - 4], 9
push ebx
mov eax, esi
push eax
call fcn.00420b43
lea eax, [ebp + 0x54]
push eax
mov eax, esi
push eax
call fcn.00420b43
push dword [ebp - 0x44]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0041eef1
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, esi
push edi
push 1
call fcn.00405617
mov byte [ebp - 4], 2
push edi
push 1
lea ecx, [ebp + 0x38]
call fcn.00405617
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
call fcn.00408e83
mov edi, dword [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 4], esi
jmp 0x41f601
cmp dword [ebp - 0x20], esi
je 0x41f43e
cmp dword [ebp - 0x20], 0x103
jne 0x41f617
mov byte [ebp - 0x11], 1
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x48]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov ecx, eax
dec eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x41f3e1
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x254]
xor ecx, ebp
call fcn.00488689
add ebp, 0x258
leave
ret