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

Disassembly:
push 0x50c
push 0x736d1ba0
call fcn.736d1361
mov eax, dword [0x7370f39c]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x508], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x500], eax
xor ebx, ebx
mov dword [ebp - 0x50c], ebx
and byte [0x7370f3a1], 0x7f
lea eax, [ebp - 0x510]
push eax
push 0x736d1a34
mov esi, 0x80000002
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x736d1af0
mov dword [ebp - 0x518], 4
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x4fc]
push eax
push ebx
push 0x736d1b80
push dword [ebp - 0x510]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x736e54d6
push dword [ebp - 0x510]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x736de194
test dword [ebp + 0x10], 0xfffffff8
jne 0x736de194
and dword [ebp + 0x10], 0xfffffffd
mov edi, 0x100
push edi
lea eax, [ebp - 0x220]
push eax
push 0x67
push dword [0x7370f584]
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 4], ebx
push ebx
push dword [ebp - 0x500]
push 0x736d1a2c
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [ebp - 0x508]
mov dword [ebp - 0x51c], eax
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x736d1b6d
test byte [ebp + 0x10], 4
jne 0x736e54f8
call fcn.736d1bb1
test eax, eax
jne 0x736de16c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
call fcn.736d1331
call fcn.736d139c
ret 0xc
push 0x6a
pop ecx
xor eax, eax
lea edi, [ebp - 0x4e8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x4e8], 0x1a8
mov dword [ebp - 0x4f8], ebx
push ebx
lea eax, [ebp - 0x4e8]
push eax
push ebx
jmp 0x736de19e
mov eax, 0x80070057
jmp 0x736d1b6f
push ebx
call fcn.736d1c4f
add esp, 0x10
test eax, eax
je 0x736d1b6d
test byte [ebp - 0x444], 8
jne 0x736de23f
mov esi, 0x736de50c
lea edi, [ebp - 0x330]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x4f8]
add dword [ebp - 0x330], eax
test byte [ebp - 0x444], 1
je 0x736de258
test byte [ebp + 0x10], 1
je 0x736e56de
xor eax, eax
inc eax
cmp eax, ebx
je 0x736de228
lea eax, [ebp - 0x4e4]
push eax
call fcn.736de521
pop ecx
push eax
push dword [ebp - 0x500]
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x330]
push eax
call dword [ebp - 0x508]
cmp eax, ebx
je 0x736d1b6d
push 0x6a
pop ecx
xor eax, eax
lea edi, [ebp - 0x4e8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x4e8], 0x1a8
inc dword [ebp - 0x4f8]
push ebx
lea eax, [ebp - 0x4e8]
push eax
push dword [ebp - 0x4f8]
jmp 0x736de19e
mov eax, dword [ebp + 0x10]
and eax, 2
jmp 0x736de1ed
cmp dword [ebp - 0x514], ebx
je 0x736d1ae4
mov dword [ebp - 0x50c], 1
or byte [0x7370f3a1], 0x80
jmp 0x736d1ae4
lea eax, [ebp - 0x4f0]
push eax
push 0x736eb81c
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x736d1b60
mov dword [ebp - 0x504], ebx
push edi
lea eax, [ebp - 0x320]
push eax
push ebx
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x736e56ab
lea ebx, [ebp - 0x340]
lea eax, [ebp - 0x320]
call fcn.736fc501
test eax, eax
je 0x736e5681
lea eax, [ebp - 0x4f4]
push eax
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x736e5681
mov dword [ebp - 0x4ec], 0xff
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x4fc]
push eax
xor ebx, ebx
push ebx
push 0x736e5714
push dword [ebp - 0x4f4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x736e5675
cmp dword [ebp - 0x4fc], 1
jne 0x736e5675
mov eax, dword [ebp - 0x4ec]
mov byte [ebp + eax - 0x220], bl
mov dword [ebp - 0x4ec], 0x103
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x4fc]
push eax
push ebx
push 0x736eb810
push dword [ebp - 0x4f4]
call esi
test eax, eax
jne 0x736e5675
mov eax, dword [ebp - 0x4ec]
mov byte [ebp + eax - 0x120], bl
lea eax, [ebp - 0x340]
push eax
call fcn.73705116
pop ecx
test eax, eax
je 0x736e5628
lea eax, [ebp - 0x120]
push eax
call fcn.736d8cce
pop ecx
mov esi, eax
jmp 0x736e562a
xor esi, esi
cmp dword [ebp - 0x4fc], 1
jne 0x736e566a
cmp esi, ebx
je 0x736e5675
mov eax, dword [ebp - 0x4ec]
mov byte [ebp + eax - 0x120], bl
push ebx
push dword [ebp - 0x500]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x340]
push eax
call dword [ebp - 0x508]
cmp eax, ebx
je 0x736e56bc
cmp esi, ebx
je 0x736e5675
push esi
call fcn.736dc25c
pop ecx
push dword [ebp - 0x4f4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x504]
push edi
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x504]
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x736e5536
xor ebx, ebx
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x736d1b60
push esi
call fcn.736dc25c
pop ecx
push dword [ebp - 0x4f4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x4f0]
call esi
jmp 0x736d1b6d
cmp dword [ebp - 0x50c], ebx
je 0x736e56f3
test byte [ebp - 0x444], 4
je 0x736de1ea
xor eax, eax
jmp 0x736de1ed