Function at 0x415ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b0b7
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x544070]
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 esi, ecx
mov dword [ebp - 0xa0], esi
push 0
push 0
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, dword [ebp - 0x94]
inc dword [ebp - 0x90]
inc ecx
mov dword [ebp - 0x94], ecx
test eax, eax
jne 0x416017
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.0041a960
mov byte [ebp - 4], 1
lea eax, [ebp - 0x89]
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 0x89], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
call fcn.00418400
xor ebx, ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa4], ebx
jbe 0x415fe3
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x14], 8
push ecx
push dword [ebp - 0xb0]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0x90]
push ecx
push 0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x98]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x415fd6
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
cmp word [edx], ax
je 0x415e25
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415e16
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x40]
call fcn.00403c50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
push dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x74], 7
push eax
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x78], 0
call fcn.00403b30
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x415e79
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403050
mov edi, dword [ebp - 0x9c]
lea ecx, [ebp - 0x70]
mov esi, dword [ebp - 0xb4]
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x5c], 7
call fcn.00403b30
mov byte [ebp - 4], 6
push edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], edi
call fcn.0045c5d9
push edi
push dword [ebp - 0xb0]
mov edx, edi
mov dword [ebp - 0x54], eax
mov ecx, eax
call fcn.0041aa00
add esp, 0xc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403b30
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
call fcn.0045c5d9
mov edx, dword [ebp - 0x50]
mov ecx, eax
push edx
push dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
call fcn.0041aa00
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x416054
mov eax, dword [ecx]
lea edx, [ebp - 0x4c]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x415f63
push eax
call fcn.0045c060
add esp, 4
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x415f78
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00403050
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x415f88
push eax
call fcn.0045c060
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x415f9d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403050
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x415fd0
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00403050
mov esi, dword [ebp - 0xa0]
inc ebx
cmp ebx, dword [ebp - 0xa4]
jb 0x415da0
lea ecx, [ebp - 0xb0]
call fcn.00418390
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x416003
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x416036
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.0045bdad
mov esp, ebp
pop ebp
ret 0x28
call fcn.0044617c
int3