Function at 0x53ec6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x541340
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.0053da14
xor ebx, ebx
test al, al
je 0x53ee9e
mov ecx, dword [ebp + 8]
call fcn.005405e8
lea esi, [ebp - 0x34]
lea ecx, [ebp - 0x30]
push esi
push ebx
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 0x30], eax
test eax, eax
mov ebx, edi
je 0x53ed93
mov dword [ebp - 0x28], esp
push eax
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x24], eax
lea edi, [eax + 8]
lea esi, [ebp - 0x94]
mov dword [ebp - 0x2c], ebx
mov ecx, ebx
push 1
push esi
call fcn.0053d95a
mov dword [ebp - 0x10], 3
mov ecx, esi
mov dword [ebp - 0x20], edi
push edi
call fcn.004415d4
lea ecx, [ebp - 0x74]
call fcn.0043fd32
lea ecx, [ebp - 0x54]
call fcn.0043fd32
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0xb4]
push str.Cant_read_value_of_key__s
call fcn.00401278
mov dword [ebp - 0x10], 5
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00445492
add esp, 0xc
lea ecx, [ebp - 0xc8]
push eax
call fcn.00447d20
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
lea esi, [ebp - 0xc8]
mov dword [ecx + 4], esi
call fcn.0049cae0
add esp, 0x14
mov esp, dword [ebp - 0x28]
mov ecx, esi
call fcn.00440f8a
lea ecx, [ebp - 0xb4]
call fcn.0043fda0
jmp 0x53ee81
cmp dword [ebp - 0x30], 3
jne 0x53eddf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x53eeb3
push eax
call fcn.00497f5e
mov edi, ebx
mov ebx, eax
mov ecx, dword [ebp + 8]
call fcn.005405e8
push esi
push ebx
mov ebx, edi
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 0x30], eax
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x34]
call fcn.00497f74
jmp 0x53eeba
mov dword [ebp - 0x2c], esp
push eax
sub esp, 0x40
mov esi, esp
lea ecx, [esi + 0x24]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
call fcn.00540800
mov dword [ebp - 0x28], esi
lea ecx, [esi + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], ecx
mov edx, ebx
push dword [ebp + 8]
call fcn.00540770
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.0043fd32
lea ecx, [ebp - 0x74]
call fcn.0043fd32
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x54]
push str.Registry_value___s__is_not_binary__but_of_type__s_
call fcn.00401278
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00445492
add esp, 0xc
lea ecx, [ebp - 0xb4]
push eax
call fcn.00447d20
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0xb4]
mov dword [eax], esi
call fcn.0044a26b
add esp, 0x44
mov esp, dword [ebp - 0x2c]
mov ecx, esi
call fcn.00440f8a
lea ecx, [ebp - 0x54]
call fcn.0043fda0
lea ecx, [ebp - 0x74]
call fcn.0043fda0
lea ecx, [ebp - 0x94]
call fcn.0043fda0
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
call fcn.004988c4
cmp dword [ebx + 0x30], 0
jne 0x53ecd8
mov bl, 1
jmp 0x53ee9e