Function at 0x4368c8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x45f1cc
call fcn.0045dac0
sub esp, 0x540
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
push eax
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
push 0x40ba14
mov dword [ebp - 0x38], ecx
push ebx
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x24], esi
je 0x436c6e
and byte [ebp - 0x13c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13b]
mov dword [ebp - 0x2c], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x104
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExA]
test eax, eax
jne 0x436c65
jmp 0x436943
xor esi, esi
and byte [ebp - 0x240], 0
push 0x40
pop edx
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x54c], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x54b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x344], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x343]
rep stosd dword es:[edi], eax
and byte [ebp - 0x448], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x447]
rep stosd dword es:[edi], eax
inc dword [ebp - 0x2c]
push 0x40ba14
stosw word es:[edi], ax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], 0x104
stosb byte es:[edi], al
call fcn.004144da
lea eax, [ebp - 0x19]
mov dword [ebp - 4], esi
push eax
push 1
pop esi
lea ecx, [ebp - 0x14]
push esi
mov byte [ebp - 0x19], 0x5c
call fcn.00414689
lea eax, [ebp - 0x13c]
test eax, eax
je 0x4369e3
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x13c]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00414689
lea eax, [ebp - 0x18]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x40b0ec
push dword [ebp - 0x14]
mov dword [ebp - 0x20], esi
mov esi, 0x103
push ebx
mov dword [ebp - 0x18], esi
call edi
lea eax, [ebp - 0x240]
push 0x40b9ec
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x436c3a
mov ecx, dword [ebp - 0x38]
push 3
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x436c3a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x54c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x40b0f4
push dword [ebp - 0x14]
push ebx
call edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x40b0dc
push dword [ebp - 0x14]
push ebx
call edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x40b0e4
push dword [ebp - 0x14]
push ebx
call edi
test eax, eax
jne 0x436ab6
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 3
jmp 0x436b08
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x40a9fc
push dword [ebp - 0x14]
push ebx
call edi
test eax, eax
jne 0x436ae0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 1
jmp 0x436b08
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x40b9dc
push dword [ebp - 0x14]
push ebx
call edi
test eax, eax
jne 0x436b08
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 2
lea edi, [ebp - 0x344]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x436c2c
push ecx
lea eax, [ebp - 0x344]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004144da
mov esi, dword [ebp - 0x38]
mov ecx, esi
call fcn.00436d55
mov edi, eax
test edi, edi
je 0x436c2c
push edi
mov ecx, esi
call fcn.00436196
push edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x28]
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea eax, [ebp - 0x448]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x34]
call fcn.0041463c
mov ecx, dword [esi + 8]
add esi, 4
test ecx, ecx
jne 0x436b81
xor eax, eax
jmp 0x436b89
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp - 0x10]
inc eax
push eax
call fcn.00435989
push ecx
lea eax, [ebp - 0x240]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004144da
mov ecx, dword [ebp - 0x10]
call fcn.00435951
mov ecx, dword [ebp - 0x10]
push 3
call fcn.00435929
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x54c]
push eax
call fcn.00435933
push ecx
lea eax, [ebp - 0x13c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004144da
mov ecx, dword [ebp - 0x10]
call fcn.00437d24
mov eax, dword [ebp - 0x10]
push 1
pop edi
mov dword [ebp - 0x34], edi
and dword [eax + 0x40], 0
lea eax, [ebp - 0x34]
push SysReAllocStringLen
push eax
lea eax, [ebp - 0x13c]
push eax
push 0x40ad48
call fcn.004248cf
add esp, 0x10
test eax, eax
je 0x436c1f
cmp dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x10]
jne 0x436c1b
mov dword [eax + 0x40], edi
jmp 0x436c1f
and dword [eax + 0x40], 0
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00437cd8
jmp 0x436c3a
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x436c3a
mov eax, dword [ecx]
push 1
call dword [eax + 0x4c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00411e66
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExA]
test eax, eax
je 0x436941
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret