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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5332ae
mov eax, dword fs:[0]
push eax
mov eax, 0x845c
call fcn.00461750
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x28]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x844c], esi
cmp dword [ebp + 0x20], 8
lea edx, [ebp - 0x8434]
push edx
push 0x20019
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418849
push edi
push dword [edi + 4]
push dword [edi]
call fcn.00419320
mov eax, dword [edi]
mov dword [edi + 4], eax
push esi
push dword [esi + 4]
push dword [esi]
call fcn.00419320
mov eax, dword [esi]
push 0x208
mov dword [esi + 4], eax
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.004edf00
add esp, 0x24
mov dword [ebp - 0x8444], 0x104
lea eax, [ebp - 0x8468]
mov dword [ebp - 0x8438], 0
mov dword [ebp - 0x843c], 0x3fff
push eax
lea eax, [ebp - 0x8450]
push eax
lea eax, [ebp - 0x8454]
push eax
lea eax, [ebp - 0x8458]
push eax
lea eax, [ebp - 0x8440]
push eax
lea eax, [ebp - 0x845c]
push eax
lea eax, [ebp - 0x8460]
push eax
lea eax, [ebp - 0x8438]
push eax
push 0
lea eax, [ebp - 0x8444]
push eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x8434]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x8438]
test eax, eax
je 0x4186c9
xor esi, esi
test eax, eax
je 0x4186c9
lea eax, [ebp - 0x8468]
mov dword [ebp - 0x8448], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x8448]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x8434]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4186bc
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x8420], eax
mov dword [ebp - 0x841c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x8430], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418610
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8430]
call fcn.00416d80
mov eax, dword [edi + 4]
mov byte [ebp - 4], 1
cmp eax, dword [edi + 8]
je 0x418669
movups xmm0, xmmword [ebp - 0x8430]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8420]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x8430], ax
jmp 0x41867e
lea ecx, [ebp - 0x8430]
push ecx
push eax
mov ecx, edi
call fcn.004194f0
mov edx, dword [ebp - 0x841c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4186bc
mov ecx, dword [ebp - 0x8430]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4186b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41886e
push edx
push ecx
call fcn.00461701
add esp, 8
inc esi
cmp esi, dword [ebp - 0x8438]
jb 0x4185b0
mov eax, dword [ebp - 0x8440]
test eax, eax
je 0x418803
xor esi, esi
test eax, eax
je 0x418803
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x843c], 0x3fff
push eax
push eax
push eax
push eax
mov word [ebp - 0x8418], ax
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x8418]
push eax
push esi
push dword [ebp - 0x8434]
call edi
test eax, eax
jne 0x4187f6
mov dword [ebp - 0x8420], eax
mov word [ebp - 0x8430], ax
lea eax, [ebp - 0x8418]
mov dword [ebp - 0x841c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418746
sub eax, edx
lea ecx, [ebp - 0x8430]
sar eax, 1
push eax
lea eax, [ebp - 0x8418]
push eax
call fcn.00416d80
mov ecx, dword [ebp - 0x844c]
mov byte [ebp - 4], 2
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x4187a5
movups xmm0, xmmword [ebp - 0x8430]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8420]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x8430], ax
jmp 0x4187b8
lea edx, [ebp - 0x8430]
push edx
push eax
call fcn.004194f0
mov edx, dword [ebp - 0x841c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4187f6
mov ecx, dword [ebp - 0x8430]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4187ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41886e
push edx
push ecx
call fcn.00461701
add esp, 8
inc esi
cmp esi, dword [ebp - 0x8440]
jb 0x4186f0
push dword [ebp - 0x8434]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x418845
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41883b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41886e
push edx
push ecx
call fcn.00461701
add esp, 8
mov al, 1
jmp 0x418853
lea ecx, [ebp + 0xc]
call fcn.00419810
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.004f6f4a
int3