Function at 0x41e37c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x254
lea ebp, [esp - 4]
mov eax, dword [0x4d9114]
xor eax, ebp
mov dword [ebp + 0x254], eax
push 0x74
mov eax, 0x4b186b
call fcn.0048bc6e
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 0x41e3e2
mov dword [ebp - 0x18], eax
jmp 0x41e3e5
mov eax, dword [ebp - 0x18]
cmp eax, 1
jne 0x41e3ed
mov dword [ebp - 0x18], eax
mov ebx, 0x4c2ce4
cmp dword [edi + 0x18], 8
jb 0x41e3fd
mov edx, dword [edi + 4]
jmp 0x41e400
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 0x41e63e
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x40]
lea esi, [ebp - 0x48]
call fcn.00420708
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 0x41e5f9
lea eax, [ebp - 0x3c]
push eax
call fcn.0041d653
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.0042075b
push eax
lea ecx, [ebp - 0x38]
call fcn.00405c8e
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040f07d
cmp dword [edi + 0x18], 8
jb 0x41e4c5
mov edi, dword [edi + 4]
jmp 0x41e4c8
add edi, 4
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.0040f07d
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040f07d
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040f07d
push str.InprocServer32
lea ecx, [ebp - 0x64]
call fcn.004040b1
mov byte [ebp - 4], 3
push dword [ebp - 0x2c]
lea eax, [ebp + 0x54]
push eax
lea esi, [ebp - 0x80]
call fcn.0041fb30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp + 0x38]
push ecx
mov edi, eax
call fcn.0041dbf2
pop ecx
pop ecx
mov byte [ebp - 4], 6
xor edi, edi
push edi
push 1
mov ecx, esi
call fcn.0040515f
mov byte [ebp - 4], 7
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.0040515f
cmp dword [ebp + 0x4c], edi
je 0x41e593
push dword [ebp - 0x44]
lea esi, [ebp]
call fcn.004040d3
mov byte [ebp - 4], 8
push ebx
mov eax, esi
push eax
call fcn.0041fb54
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x38]
call fcn.0041fd47
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x28]
mov ecx, esi
call fcn.0041d707
pop ecx
pop ecx
test al, al
jne 0x41e58a
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp + 0x38]
call fcn.0041d707
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp]
jmp 0x41e5d0
push dword [ebp - 0x1c]
lea esi, [ebp + 0x1c]
call fcn.004040d3
mov byte [ebp - 4], 9
push ebx
mov eax, esi
push eax
call fcn.0041fb54
lea eax, [ebp + 0x54]
push eax
mov eax, esi
push eax
call fcn.0041fb54
push dword [ebp - 0x44]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0041df02
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, esi
push edi
push 1
call fcn.0040515f
mov byte [ebp - 4], 2
push edi
push 1
lea ecx, [ebp + 0x38]
call fcn.0040515f
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
call fcn.0040838a
mov edi, dword [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 4], esi
jmp 0x41e612
cmp dword [ebp - 0x20], esi
je 0x41e44f
cmp dword [ebp - 0x20], 0x103
jne 0x41e628
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 0x41e3f2
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.004876e8
add ebp, 0x258
leave
ret