Function at 0x41264e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x94
push 0xffffffffffffffff
push 0x491caa
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4bb0c4]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xa0]
xor ebx, ebx
mov eax, dword [ebp + 0xa8]
inc ebx
mov esi, dword [ebp + 0xa4]
mov edx, edi
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x14], ebx
jb 0x4126b3
mov edx, dword [edi]
lea ecx, [ebp + 0x78]
call fcn.00404d1d
cmp dword [ebp + 0x8c], 8
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
lea eax, [ebp + 0x78]
cmovae eax, dword [ebp + 0x78]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp + 0x78]
mov dword [ebp - 0x18], eax
call fcn.00402da2
cmp dword [ebp - 0x18], 0
je 0x4127bc
push esi
mov edx, str.Failure_opening_registry_key_
lea ecx, [ebp + 0x30]
call fcn.00402f8e
and dword [ebp - 4], 0
lea ecx, [ebp + 0x48]
mov edx, eax
mov dword [esp], str._at_
call fcn.00403020
pop ecx
push edi
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00402cbf
xor ecx, ecx
mov byte [ebp - 0x14], cl
push dword [ebp - 0x14]
mov dword [ebp + 0x88], ecx
mov dword [ebp + 0x8c], ecx
lea ecx, [ebp + 0x78]
push eax
call fcn.00402f6b
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
lea edx, [ebp + 0x78]
push 0x4ae78c
call fcn.00403020
pop ecx
mov byte [ebp - 4], 3
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040d682
lea ecx, [ebp + 0x78]
call fcn.00402dd0
lea ecx, [ebp + 0x48]
call fcn.00402dd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.00402dd0
mov edx, dword [ebp - 0x18]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
call fcn.0040353f
mov dword [ebp - 4], 4
call fcn.0040d33a
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0040d682
xor al, al
jmp 0x41299d
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x4127c6
mov edx, dword [esi]
lea ecx, [ebp + 0x78]
call fcn.00404d1d
cmp dword [ebp + 0x8c], 8
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x10]
lea eax, [ebp + 0x78]
cmovae eax, dword [ebp + 0x78]
push 0
push 0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 0x78]
mov ebx, eax
call fcn.00402da2
test ebx, ebx
je 0x4128ca
push esi
mov edx, str.Failed_to_read_the_registry_key_
lea ecx, [ebp + 0x48]
call fcn.00402f8e
mov dword [ebp - 4], 5
lea ecx, [ebp + 0x30]
mov edx, eax
mov dword [esp], str._at_
call fcn.00403020
pop ecx
push edi
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00402cbf
xor ecx, ecx
mov byte [ebp - 0x10], cl
push dword [ebp - 0x10]
mov dword [ebp + 0x88], ecx
mov dword [ebp + 0x8c], ecx
lea ecx, [ebp + 0x78]
push eax
call fcn.00402f6b
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x10], esp
lea edx, [ebp + 0x78]
push 0x4ae78c
call fcn.00403020
pop ecx
mov byte [ebp - 4], 8
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040d682
lea ecx, [ebp + 0x78]
call fcn.00402dd0
lea ecx, [ebp + 0x30]
call fcn.00402dd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.00402dd0
sub esp, 0x18
mov edx, ebx
mov ecx, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.0040353f
mov dword [ebp - 4], 9
call fcn.0040d33a
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0040d682
mov byte [ebp - 0x14], 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
test ebx, ebx
je 0x41299a
push esi
mov edx, str.Failed_to_close_the_registry_key_
lea ecx, [ebp]
call fcn.00402f8e
mov dword [ebp - 4], 0xa
lea ecx, [ebp + 0x18]
mov edx, eax
mov dword [esp], str._at_
call fcn.00403020
pop ecx
push edi
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00402cbf
xor ecx, ecx
mov byte [ebp - 0x10], cl
push dword [ebp - 0x10]
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x74], ecx
lea ecx, [ebp + 0x60]
push eax
call fcn.00402f6b
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x10], esp
lea edx, [ebp + 0x60]
push 0x4ae78c
call fcn.00403020
pop ecx
mov byte [ebp - 4], 0xd
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040d682
lea ecx, [ebp + 0x60]
call fcn.00402dd0
lea ecx, [ebp + 0x18]
call fcn.00402dd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00402dd0
sub esp, 0x18
mov edx, ebx
mov ecx, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.0040353f
mov dword [ebp - 4], 0xe
call fcn.0040d33a
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0040d682
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.00453227
add ebp, 0x94
leave
ret 0x10