Function at 0x4518a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ddbe3
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], edx
mov dword [ebp - 0x43c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x450], esi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00668940
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0x400
add esp, 0xc
movlpd qword [ebp - 0x458], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp dword [ebp + 0x28], 0
lea edx, [ebp - 0x42c]
mov eax, 0x200
mov byte [ebp - 4], 1
mov ecx, 0x100
cmove ecx, eax
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
push edx
cmovae eax, dword [ebp + 0xc]
or ecx, 0x20019
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451c3c
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x458]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x451c1d
nop word [eax + eax]
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
mov byte [eax], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.00430430
mov edx, dword [ebp - 0x414]
mov eax, edx
mov ecx, dword [ebp - 0x418]
sub eax, ecx
push 1
push 0x769a64
cmp eax, 1
jb 0x451a31
cmp edx, 0x10
lea esi, [ebp - 0x428]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x428]
add esi, ecx
mov dword [ebp - 0x418], eax
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x451a4b
mov byte [ebp - 0x444], 0
lea ecx, [ebp - 0x428]
push dword [ebp - 0x444]
push 1
call fcn.00431100
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x451a54
mov edx, dword [ebp - 0x414]
sub esi, ecx
mov ecx, dword [ebp - 0x418]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x451aa3
lea eax, [esi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x418], eax
lea edi, [ebp - 0x428]
cmovae edi, dword [ebp - 0x428]
lea eax, [ebp - 0x410]
add edi, ecx
push eax
push edi
call fcn.006683c0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x451ac3
lea eax, [ebp - 0x410]
mov byte [ebp - 0x448], 0
push eax
push dword [ebp - 0x448]
lea ecx, [ebp - 0x428]
push esi
call fcn.00431100
sub esp, 0x18
lea eax, [ebp - 0x428]
mov esi, esp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x414], 0x10
mov edi, dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
mov dword [ebp - 0x44c], eax
cmp edi, 0x10
jae 0x451b0a
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 0xf
jmp 0x451b87
mov eax, edi
mov ecx, SysReAllocString
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x434], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x451b56
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0062a275
add esp, 4
test eax, eax
je 0x451cdc
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x451b69
test ecx, ecx
je 0x451b67
push ecx
call fcn.0062a275
add esp, 4
mov ecx, eax
jmp 0x451b69
xor ecx, ecx
lea eax, [edi + 1]
mov dword [esi], ecx
push eax
push dword [ebp - 0x44c]
push ecx
call fcn.00667e40
mov eax, dword [ebp - 0x434]
add esp, 0xc
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edi
mov esi, dword [ebp - 0x450]
push esi
push dword [ebp - 0x438]
call dword [ebp - 0x43c]
test eax, eax
je 0x451c30
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x451bd6
push dword [ebp + 0x28]
lea eax, [ebp - 0x428]
push edi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0042fd80
mov edx, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x43c]
push esi
call fcn.004518a0
add esp, 0x24
mov esi, dword [ebp - 0x440]
lea eax, [ebp - 0x458]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0x400
push eax
lea eax, [ebp - 0x410]
inc esi
push eax
push esi
push dword [ebp - 0x42c]
mov dword [ebp - 0x440], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4519b0
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x451c3e
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x451c74
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451c6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451cdc
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp edx, 0x10
jb 0x451cbf
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451cb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451ce1
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
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.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
int3