Function at 0x410550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4501fb
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x467074]
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, edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
xor eax, eax
mov byte [ebp - 0x41], 1
push eax
push 0x400
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0x800
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404850
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 4], 1
mov esi, dword [esi]
push dword [esi + 4]
call fcn.00411ed0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov dword [eax + 4], esi
mov eax, dword [ecx]
mov dword [eax], esi
mov eax, dword [ecx]
mov byte [ebp - 4], 0
mov dword [eax + 8], esi
mov eax, edi
mov dword [ecx + 4], 0
cmp dword [edi + 0x14], 8
jb 0x4105f6
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 0x10], 0
mov word [eax], cx
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x45ff94
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub eax, 0
je 0x4106c3
sub eax, 2
je 0x4107dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.RegQueryValueEx_failed_with__i
push eax
call fcn.0040e6a0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x410680
mov ecx, edi
call fcn.00401220
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4106ba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4106b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410831
push edx
push ecx
call fcn.0042b435
add esp, 8
mov byte [ebp - 0x41], 0
jmp 0x4107dd
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
push 0
shr eax, 1
push eax
call fcn.00401180
sub esp, 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x108]
push eax
call fcn.00411440
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xfc], 0
jne 0x4107d2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.00412470
mov esi, dword [ebp - 0x18]
add esp, 4
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
test esi, esi
je 0x410783
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
lea edi, [eax + esi*2]
lea esi, [ebp - 0x28]
cmovae esi, ecx
cmp esi, edi
je 0x410783
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.00434f74
add esp, 4
test eax, eax
jne 0x410769
add esi, 2
cmp esi, edi
jne 0x410750
jmp 0x41077d
push dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x58]
push eax
call fcn.004126a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4107bb
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4107b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410831
push edx
push ecx
call fcn.0042b435
add esp, 8
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xfc], 0
je 0x410700
lea ecx, [ebp - 0x108]
call fcn.00410840
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410813
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410836
push edx
push ecx
call fcn.0042b435
add esp, 8
mov al, byte [ebp - 0x41]
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.0042b3f4
mov esp, ebp
pop ebp
ret
call fcn.0043012a
call fcn.0043012a
int3