Function at 0x41a568
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x41a5bd
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
push 0x7408
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x50]
push 0x1bc8
push dword [ebp - 0xa4]
call fcn.0041a97d
add esp, 0x18
jmp 0x41a979
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x41a94c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x41a66c
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x41a667
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1d82
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x41a94a
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
neg eax
jne 0x41a6b8
mov dword [ebp - 0x40], 1
jmp 0x41a6bc
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jl 0x41a6cf
mov dword [ebp - 0x20], 1
jmp 0x41a6d3
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jg 0x41a6e6
mov dword [ebp - 0x18], 1
jmp 0x41a6ea
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jge 0x41a705
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41a705
mov dword [ebp - 0x28], 1
jmp 0x41a709
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jle 0x41a71c
mov dword [ebp - 0x14], 1
jmp 0x41a720
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
jne 0x41a740
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x41a740
and dword [ebp - 0x38], 0
jmp 0x41a747
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
cmp eax, dword [ebp - 0x38]
je 0x41a75f
mov dword [ebp - 0x30], 1
jmp 0x41a763
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x6baf
jge 0x41a77b
mov eax, 0x9d66de6b
test eax, eax
jne 0x41a77b
and dword [ebp - 0x1c], 0
jmp 0x41a782
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x8886
jg 0x41a794
mov dword [ebp - 0x24], 1
jmp 0x41a798
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xb56cef3c
jae 0x41a7aa
mov dword [ebp - 0x2c], 1
jmp 0x41a7ae
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jne 0x41a7c1
mov dword [ebp - 0x34], 1
jmp 0x41a7c5
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xffffffff
jge 0x41a7d4
mov dword [ebp - 0x3c], 1
jmp 0x41a7d8
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x3e3f
jl 0x41a7f3
mov eax, 0xffff
test eax, eax
je 0x41a7f3
mov dword [ebp - 0x44], 1
jmp 0x41a7f7
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jge 0x41a8ee
mov dword [ebp - 0x74], 0x494fb389
push 4
lea ecx, [ebp - 0xbc]
call fcn.004312ee
mov dword [ebp - 0x8c], 0xce5f1497
mov dword [ebp - 0xc], 0
jmp 0x41a838
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x41a851
push dword [ebp - 0xc]
lea ecx, [ebp - 0xbc]
call fcn.004313dc
or dword [eax], 0xffffffff
jmp 0x41a831
mov eax, dword [ebp - 4]
mov dword [eax], 0x11
jmp 0x41a867
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x24
jl 0x41a8e1
mov dword [ebp - 0x84], 6
push dword [ebp - 0x10]
push 0x7635
push 0x6eae
push 0x4edb
push dword [ebp - 4]
push 0x479b
push 0
push 0
push 0x3fd2
lea eax, [ebp - 0x74]
push eax
push 0x2473
push dword [ebp - 0x7c]
call fcn.0042c0cd
add esp, 0x30
push dword [ebp - 0x10]
lea eax, [ebp - 0x84]
push eax
push 0x792
push 0x634b
lea eax, [ebp - 0x8c]
push eax
push 1
push 0
push 0x7cbe
call fcn.0041549f
add esp, 0x20
jmp 0x41a85c
lea ecx, [ebp - 0xbc]
call fcn.004313c0
jmp 0x41a94a
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x41a902
push 0
call fcn.00414c04
pop ecx
mov byte [ebp - 5], 0
push 0x1b2c
push 0x7a47
push 0xecd
push 0x7828
push 0xaca
push 0x31f4
push 0x457b
push 0x6cba
lea eax, [ebp - 5]
push eax
push 1
push 0x28d5
push 1
push 0
push 0x6cd5
call fcn.0040d0ab
add esp, 0x38
jmp 0x41a979
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
push 0
push dword [ebp - 0x9c]
push 0
push 0xfb0
push 0x5a70
push 0x541f
call fcn.0040b659
add esp, 0x18
mov esp, ebp
pop ebp
ret