Function at 0x40c2c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462628
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x4785d0]
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 edi, ecx
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
push ecx
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 4], 0
call fcn.004033f0
lea ecx, [ebp - 0x1b8]
call fcn.00407260
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x194]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x188], eax
mov eax, dword [0x47f620]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x16c], 0
mov byte [ebp - 0x173], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x178], 0
lea eax, [edi + 0x18c]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x40c3f6
mov eax, dword [eax]
push ecx
push 0x21
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00405cd0
cmp dword [ebp - 0x168], 0
je 0x40c44c
mov byte [ebp - 0x138], 1
push dword [ebp - 0x138]
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x138]
mov byte [ebp - 0x158], 0
push 0
push dword [ebp - 0x158]
lea ecx, [ebp - 0x1b8]
push ecx
lea ecx, [ebp - 0x138]
call fcn.0040cd30
add esp, 0x18
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0
call fcn.00405c60
cmp dword [ebp - 0x124], 0x34
jae 0x40c742
lea eax, [edi + 0x1a4]
push eax
lea edx, [edi + 0x10c]
lea ecx, [ebp - 0x1e8]
call fcn.00408f20
add esp, 4
push 0x46cb9c
mov edx, eax
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 2
call fcn.004089f0
add esp, 4
push str.BEC0B5A9_4CE8_4873_90E5_345E66A944DB
mov edx, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 3
call fcn.004089f0
add esp, 4
cmp dword [ebp - 0x1bc], 0x10
jb 0x40c4cc
push dword [ebp - 0x1d0]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x1bc], 0xf
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d4], 0x10
jb 0x40c4fe
push dword [ebp - 0x1e8]
call fcn.0041a4c1
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x140], 0x10
lea ecx, [ebp - 0x11c]
push ecx
push 1
lea eax, [ebp - 0x154]
cmovae eax, dword [ebp - 0x154]
push 0
push eax
push SysStringLen
mov dword [ebp - 0x11c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c6ff
push 0x103
push eax
mov byte [ebp - 0x118], al
lea eax, [ebp - 0x117]
push eax
call fcn.00420820
xor ecx, ecx
add esp, 0xc
cmp byte [str.HelperID], cl
mov eax, 8
cmove eax, ecx
push eax
push str.HelperID
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x158], 0x104
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x1bc], 0xf
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x1d0], 0
call fcn.00407c90
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 8
call fcn.00401f70
cmp dword [eax + 0x14], 0x10
jb 0x40c5c7
mov eax, dword [eax]
lea ecx, [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x138]
push ecx
push 0
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
cmp dword [ebp - 0x1d4], 0x10
jb 0x40c607
push dword [ebp - 0x1e8]
call fcn.0041a4c1
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1bc], 0x10
mov dword [ebp - 0x1d4], 0xf
mov dword [ebp - 0x1d8], 0
mov byte [ebp - 0x1e8], 0
jb 0x40c63d
push dword [ebp - 0x1d0]
call fcn.0041a4c1
add esp, 4
test bl, bl
je 0x40c6ff
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00405140
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 9
call fcn.00401f70
mov esi, eax
lea eax, [ebp - 0x134]
cmp eax, esi
je 0x40c6b6
cmp dword [ebp - 0x120], 0x10
jb 0x40c68f
push dword [ebp - 0x134]
call fcn.0041a4c1
add esp, 4
push esi
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
call fcn.00406f50
cmp dword [ebp - 0x1d4], 0x10
jb 0x40c6cd
push dword [ebp - 0x1e8]
call fcn.0041a4c1
add esp, 4
cmp dword [ebp - 0x1bc], 0x10
mov dword [ebp - 0x1d4], 0xf
mov dword [ebp - 0x1d8], 0
mov byte [ebp - 0x1e8], 0
jb 0x40c6ff
push dword [ebp - 0x1d0]
call fcn.0041a4c1
add esp, 4
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x40c710
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x140], 0x10
mov dword [ebp - 0x11c], 0
jb 0x40c735
push dword [ebp - 0x154]
call fcn.0041a4c1
add esp, 4
cmp dword [ebp - 0x124], 0x34
jae 0x40c742
xor bl, bl
jmp 0x40c7b2
push 0x15
push 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [edi + 0x38]
call fcn.00407060
push 0xf
push 0x15
lea eax, [ebp - 0x134]
push eax
lea ecx, [edi + 0x50]
call fcn.00407060
push 0x10
push 0x24
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
call fcn.00407060
cmp dword [ebp - 0x140], 0x10
jb 0x40c7b0
push dword [ebp - 0x154]
call fcn.0041a4c1
add esp, 4
mov bl, 1
cmp dword [ebp - 0x120], 0x10
jb 0x40c7c9
push dword [ebp - 0x134]
call fcn.0041a4c1
add esp, 4
mov al, bl
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.00419056
mov esp, ebp
pop ebp
ret