Function at 0x40cea0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x34], 0x125d8
mov dword [ebp - 0x14], 0x2bee
mov dword [ebp - 0x50], 0x1330
mov dword [ebp - 0x1c], 0xcee3
mov dword [ebp - 0x2c], 0x43d9
mov dword [ebp - 8], 0x14c76
mov dword [ebp - 0x64], 0xe03b
mov dword [ebp - 0x40], 0xd562
mov dword [ebp - 0x4c], 0x10f7f
mov dword [ebp - 0x30], 0x6b91
mov dword [ebp - 0x10], 0x174ee
mov dword [ebp - 0x60], 0xd6ac
mov dword [ebp - 0x48], 0x15f48
mov dword [ebp - 0x3c], 0x10eec
mov dword [ebp - 0x68], 0x15f20
mov dword [ebp - 0x6c], 0xbf6
mov dword [ebp - 4], 0x15424
mov dword [ebp - 0x70], 0xda59
mov dword [ebp - 0x74], 0x6020
mov dword [ebp - 0x38], 0x380e
mov dword [ebp - 0x20], 0x100c5
mov dword [ebp - 0x44], 0xe19a
mov dword [ebp - 0x5c], 0xdf93
mov dword [ebp - 0x78], 0x14311
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x40cf69
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x38]
sub edx, 0x380d
cmp dword [ebp - 0xc], edx
jge 0x40cfb6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x10]
and eax, edx
je 0x40cfb4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x20]
xor edx, dword [ebp - 4]
je 0x40cfb4
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x40cf60
mov ecx, dword [ebp - 0x40]
xor ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x1c]
jge 0x40cfca
mov dword [ebp - 0x18], 1
jmp 0x40cfd1
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x20]
sub edx, dword [ebp + 0x14]
and edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x48]
and edx, dword [ebp - 0x10]
je 0x40d030
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x34]
jne 0x40d030
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp + 0xc]
jne 0x40d030
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x1c]
jne 0x40d030
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp - 0x2c]
jne 0x40d030
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x30]
jne 0x40d030
push 0x542e
push 0x492f
push 0x41c3
push 0x69ab
call dword [sym.imp.KERNEL32.dll_ClearCommError]
add esp, 0x10
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + 8]
jge 0x40d041
mov dword [ebp - 0x24], 1
jmp 0x40d048
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x20]
add eax, 1
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x58]
jge 0x40d06e
mov dword [ebp - 0x28], 1
jmp 0x40d075
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x24]
and edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x2c]
je 0x40d0dd
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp - 0x30]
jne 0x40d0dd
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x5c]
jne 0x40d0dd
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp + 0xc]
jne 0x40d0dd
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0xc]
jne 0x40d0dd
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
jne 0x40d0dd
push 0x12b4d
push 0x1397b
push 0xa2c3
push 0x12eb3
push 0x17e8f
push 0x5144
push 0x16252
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0x1c
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov esp, ebp
pop ebp
ret