Function at 0x436ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589172
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x5fae30]
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 ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0x5afeff
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x470], ebx
call fcn.00402a36
mov dword [ebp - 0x434], 0xf
mov dword [ebp - 0x438], ebx
mov byte [ebp - 0x448], bl
push 9
push str.Software_
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], ebx
call fcn.00402a36
push 7
push 0x5b1c8c
lea ecx, [ebp - 0x448]
call fcn.00403dd2
cmp dword [ebp - 0x434], 0x10
mov eax, dword [ebp - 0x448]
jae 0x436f72
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x468]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x436fdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x464]
push edx
call fcn.004080a8
add esp, 8
mov edi, eax
push 0x1e
push str.Failed_to_open_key_with_error
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
call fcn.00402a36
mov byte [ebp - 4], 2
jmp 0x4370e0
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x46c], 0x3ff
jb 0x436ff4
mov edi, dword [edi]
lea ecx, [ebp - 0x46c]
push ecx
mov ecx, dword [ebp - 0x468]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x478]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x470], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x468]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x470], ebx
jne 0x43709e
cmp dword [ebp - 0x46c], ebx
jbe 0x43706c
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x437050
mov ecx, dword [ebp - 0x474]
sub eax, edx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00402a36
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x5aff9a
mov ecx, esi
mov byte [esi], bl
call fcn.00402a36
cmp dword [ebp - 0x434], 0x10
jb 0x437167
mov ecx, dword [ebp - 0x448]
push ecx
jmp 0x43715f
lea edx, [ebp - 0x464]
push edi
push edx
call fcn.004080a8
add esp, 8
mov edi, eax
push 0x26
push str.Failed_to_open_query_value_with_error
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
call fcn.00402a36
mov byte [ebp - 4], 4
push edi
lea eax, [ebp - 0x42c]
push eax
push esi
call fcn.00407cd9
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0x418], edi
jb 0x43710d
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.0053ed60
add esp, 4
mov byte [ebp - 0x42c], bl
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], 0xf
cmp dword [ebp - 0x450], edi
jb 0x43713a
mov edx, dword [ebp - 0x464]
push edx
call fcn.0053ed60
add esp, 4
mov byte [ebp - 0x464], bl
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], 0xf
cmp dword [ebp - 0x434], edi
jb 0x437167
mov eax, dword [ebp - 0x448]
push eax
call fcn.0053ed60
add esp, 4
mov eax, esi
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.0053fd20
mov esp, ebp
pop ebp
ret 0xc