Function at 0x41e4e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44bb64]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push edi
push ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41e52a
xor al, al
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004234ee
mov esp, ebp
pop ebp
ret
push ebx
push ebx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xc]
push ebx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41e514
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
cmp eax, ecx
ja 0x41e571
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e580
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e596
sub eax, edi
sar eax, 1
lea eax, [eax + edx + 0xa]
call fcn.00425f00
mov ebx, esp
mov edx, ebx
mov dword [ebp - 0x38], ebx
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41e5c0
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41e5d2
mov edx, dword [0x440c4c]
mov eax, dword [ebp + 0x10]
mov dword [edi], edx
mov edx, eax
jmp 0x41e5f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e5f0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x41e600
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x14]
push edi
mov esi, 0x441914
call fcn.0041e0f0
push edi
mov esi, ebx
call fcn.0041e0f0
push edi
mov esi, 0x44190c
call fcn.0041e0f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea eax, [eax + eax + 0xa]
call fcn.00425f00
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 0xa]
mov esi, esp
call fcn.00425f00
cmp dword [ebp - 0x18], 0
mov ebx, esp
mov byte [ebp - 5], 1
mov dword [ebp - 0x24], 0
jbe 0x41e6cc
cmp byte [ebp - 5], 0
je 0x41e6cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
inc eax
lea edx, [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x24]
push ebx
mov dword [ebp - 0x20], eax
inc ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x20]
push ecx
push esi
push edx
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41e6c0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.0041e160
add esp, 0xc
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x18]
jb 0x41e66d
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jbe 0x41e717
cmp byte [ebp - 5], 0
je 0x41e717
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push esi
push ebx
inc eax
push edx
mov dword [ebp - 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41e711
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
push edi
push esi
push eax
push ecx
call fcn.0041e4e0
add esp, 0x10
mov byte [ebp - 5], al
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x41e6d3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 5]
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004234ee
mov esp, ebp
pop ebp
ret