Function at 0x41e1f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8deb
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x555ab0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x868], ecx
xor ebx, ebx
mov dword [ebp - 4], 0
cmp byte [0x55e864], bl
mov eax, dword [0x5556d8]
sete bl
mov ecx, 0x5556d8
add ebx, 0x80000001
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x858], esi
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
mov byte [ebp - 4], 3
mov eax, dword [0x55e860]
imul eax, eax
and eax, 0x80000003
jns 0x41e288
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 2
jne 0x41e2ab
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x848], eax
mov eax, 0x530870
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x41e2ee
movzx edi, ax
mov ecx, edi
call fcn.00401970
test eax, eax
je 0x41e2fe
push edi
push eax
lea ecx, [ebp - 0x848]
call fcn.00402420
jmp 0x41e2fe
push 0x530870
lea ecx, [ebp - 0x848]
call fcn.004047f0
lea eax, [ebp - 0x848]
push eax
lea edx, [ebp - 0x858]
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 5
call fcn.004045e0
push 0x55ebb4
mov edx, eax
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 6
call fcn.004045e0
push 0x53086c
mov edx, eax
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], 7
call fcn.0041c9c0
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 8
call fcn.004045e0
add esp, 0x10
lea ecx, [ebp - 0x864]
push 1
push dword [eax]
push ebx
call fcn.0041d5a0
mov edx, dword [ebp - 0x870]
test eax, eax
setne bl
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41e395
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x86c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e3b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x84c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e3db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x850]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e3fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x848]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e421
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x41e432
mov eax, dword [ebp - 0x864]
xor bl, bl
jmp 0x41e63c
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x854], 0x400
call fcn.004b4d70
mov esi, dword [ebp - 0x864]
add esp, 0xc
xor ebx, ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc ebx
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], ebx
test eax, eax
je 0x41e49c
cmp eax, 0x103
jne 0x41e583
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x848], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x41e5d2
movzx edi, ax
mov ecx, edi
call fcn.00401970
test eax, eax
je 0x41e4e2
push edi
push eax
lea ecx, [ebp - 0x848]
call fcn.00402420
or edi, 0xffffffff
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x848]
cmp dword [eax - 0xc], 0
je 0x41e540
mov ecx, dword [0x55e860]
mov eax, ecx
imul eax, ecx
cdq
mov ebx, 0xf
idiv ebx
cmp edx, 3
jne 0x41e52b
xor edi, edi
test ecx, ecx
je 0x41e525
mov eax, ecx
and eax, 1
add edi, eax
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jne 0x41e513
mov dword [0x55e860], edi
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x848]
push eax
call fcn.0041eef0
or edi, 0xffffffff
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 0x854], 0x400
call fcn.004b4d70
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x848]
add edx, 0xfffffff0
add esp, 0xc
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e583
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [0x55e860]
lea ecx, [ebx + 1]
lea eax, [ebx + 2]
imul eax, ecx
imul eax, ebx
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 4
jne 0x41e607
xor ecx, ecx
mov eax, ebx
cdq
lea edi, [ecx + 1]
idiv edi
mov eax, ebx
sub eax, ecx
imul eax, edx
add eax, ebx
push eax
push 0x53088c
call fcn.004b0fdf
mov ecx, edi
add esp, 8
cmp ecx, 0xd
jge 0x41e607
mov ebx, dword [0x55e860]
jmp 0x41e5a4
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
jmp 0x41e5e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e5e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x848]
call fcn.004021b0
jmp 0x41e4e5
cmp dword [ebp - 0x850], 0
mov ebx, dword [ebp - 0x84c]
mov edi, 0xffffffff
je 0x41e462
mov eax, dword [ebp - 0x864]
test esi, esi
mov esi, dword [ebp - 0x858]
je 0x41e638
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov bl, 1
or edi, edi
test eax, eax
je 0x41e647
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e664
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41e685
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b00a0
mov esp, ebp
pop ebp
ret