Function at 0x5bd340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x540
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5bf220
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
lea ecx, [esi - 1]
mov dword fs:[0], eax
cmp ecx, 0x11
jae 0x5bd388
mov eax, 0x1ffbf
bt eax, ecx
jb 0x5bd46b
lea edi, [ebp - 0x13c]
mov dword [ebp - 0x38], edx
push 0x104
push 0
push edi
call fcn.0061e8c0
add esp, 0xc
lea ebx, [ebp - 0x54c]
push 0x208
push 0
push ebx
call fcn.0061e8c0
add esp, 0xc
push 0x104
push ebx
push esi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0x104
push edi
push esi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
test eax, eax
jle 0x5bd467
mov eax, 0x6f462074
mov ecx, 0x74616d72
mov edx, 0x78655420
mov ebx, 0x68636952
movzx esi, byte [ebp - 0x12c]
xor eax, dword [ebp - 0x134]
xor ecx, dword [ebp - 0x130]
xor edx, dword [ebp - 0x138]
xor ebx, dword [ebp - 0x13c]
or esi, eax
or edx, ecx
or esi, ebx
or esi, edx
je 0x5bd480
mov eax, 0x4c455341
movzx ecx, byte [ebp - 0x138]
mov bl, 1
xor eax, dword [ebp - 0x13c]
or ecx, eax
je 0x5bd4d7
push 0xc
push str.HTML_Format
push edi
call fcn.005d5792
add esp, 0xc
test eax, eax
je 0x5bd4d7
mov eax, 0x45464450
mov ecx, 0x746964
xor eax, dword [ebp - 0x13c]
xor ecx, dword [ebp - 0x138]
or ecx, eax
sete bl
jmp 0x5bd4d7
xor ebx, ebx
jmp 0x5bd4d7
mov edx, dword [ebp - 0x18]
mov eax, 0x130c3
shr eax, cl
and al, 1
mov dword fs:[0], edx
jmp 0x5bd4e2
mov ecx, dword [0x6d301c]
mov edx, dword fs:[0x2c]
mov eax, dword [0x6d3d3c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5bd4ed
cmp byte [0x6cef19], 0
mov bl, 1
je 0x5bd4d7
cmp byte [ebp - 0x38], 0
jne 0x5bd4d7
cmp byte [0x6d3d38], 0
je 0x5bd4d7
mov dword [ebp - 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
push str.ADMDialogWindow
push eax
call dword [sym.imp.USER32.dll_GetPropA]
cmp eax, esi
setne bl
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x540
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x6d3d3c
call fcn.005d3d07
add esp, 4
cmp dword [0x6d3d3c], 0xffffffff
jne 0x5bd49d
mov dword [ebp - 0x24], 0
lea esi, [ebp - 0x344]
push 0x208
push 0
push esi
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x10], 0
push str.SoftwareAdobeAcrobat_ReaderDCFeatureState
push 0x104
push esi
call fcn.005cfe48
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x344]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dx, 1
test eax, eax
mov cx, 1
jne 0x5bd5be
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push eax
push ecx
push edx
push 0
push 0x69b330
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x30]
xor ecx, 4
or eax, ecx
setne byte [ebp - 0x1d]
or eax, dword [ebp - 0x2c]
setne byte [ebp - 0x25]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x1d]
mov ah, byte [ebp - 0x25]
xor edx, edx
xor ecx, ecx
mov dl, al
mov cl, ah
test dx, dx
je 0x5bd66c
mov dword [ebp - 0x24], 0
push 0x208
push 0
lea esi, [ebp - 0x344]
push esi
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 4
push str.SoftwareAdobeAdobe_AcrobatDCFeatureState
push 0x104
push esi
call fcn.005cfe48
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x344]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov cx, 1
test eax, eax
jne 0x5bd66c
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push eax
push ecx
push edx
push 0
push 0x69b330
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x30]
or eax, dword [ebp - 0x2c]
xor ecx, 4
or eax, ecx
setne byte [ebp - 0x1d]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x1d]
xor ecx, ecx
mov cl, al
mov byte [0x6d3d38], cl
push 0x6d3d3c
call fcn.005d3d59
add esp, 4
jmp 0x5bd49d