Function at 0x49afd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e930
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5c7cec]
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
push 7
xor eax, eax
mov dword [ebp - 0x58], 0
push str.irandom
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.00408740
push 0x2c
xor eax, eax
mov dword [ebp - 4], 0
push str.SOFTWAREAdobeAcrobat_ReaderDCWebResource
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00408740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
push ecx
xor esi, esi
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0x20019
cmovae eax, dword [ebp - 0x38]
mov bl, 1
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49b0cd
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push ecx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x18], 4
cmovae eax, dword [ebp - 0x68]
push esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49b0c4
cmp dword [ebp - 0x14], 4
jne 0x49b0c4
cmp dword [ebp - 0x18], 4
jne 0x49b0c4
mov esi, dword [ebp - 0x1c]
xor bl, bl
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x49b10b
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49b101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b306
push edx
push ecx
call fcn.004097e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 4], 3
cmp edx, 8
jb 0x49b160
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49b156
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b30b
push edx
push ecx
call fcn.004097e6
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x49b2e8
push 0x1a
xor eax, eax
mov dword [ebp - 0x70], 0
push str.iPassThroughShowPercentage
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.00408740
push 0x2a
xor eax, eax
mov dword [ebp - 4], 4
push str.SoftwareAdobeAcrobat_ReaderDCAVGeneral
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00408740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
push ecx
xor edi, edi
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0x20019
cmovae eax, dword [ebp - 0x50]
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49b23f
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x18], 4
cmovae eax, dword [ebp - 0x80]
push edi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49b236
cmp dword [ebp - 0x1c], 4
jne 0x49b236
cmp dword [ebp - 0x18], 4
jne 0x49b236
mov edi, dword [ebp - 0x14]
mov bl, 1
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x49b27d
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49b273
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b310
push edx
push ecx
call fcn.004097e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 4], 7
cmp edx, 8
jb 0x49b2ce
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49b2c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b315
push edx
push ecx
call fcn.004097e6
add esp, 8
test bl, bl
mov eax, 5
cmovne eax, edi
cmp esi, 0xffffffff
jle 0x49b2e8
imul eax, eax, 0x64
cmp esi, eax
jg 0x49b2e8
mov al, 1
jmp 0x49b2ea
xor al, al
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.0040154f
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
call fcn.0052cae1
call fcn.0052cae1
call fcn.0052cae1
int3