Function at 0x40a5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x5a40e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
call fcn.0040add0
mov edi, eax
test edi, edi
jne 0x40a876
mov eax, dword [0x555210]
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
mov ax, word [0x555214]
mov word [ebp - 0x20], ax
mov al, byte [0x555216]
mov byte [ebp - 0x1e], al
mov eax, dword [0x555218]
mov dword [ebp - 0x44], eax
mov al, byte [0x55521c]
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x27c]
push eax
push 0x20019
push edi
push str.Language
push str.SOFTWAREAdobeAdobe_Acrobat_
movdqu xmmword [ebp - 0x1d], xmm0
mov byte [ebp - 5], 0
movq qword [ebp - 0xd], xmm0
movdqu xmmword [ebp - 0x3f], xmm0
mov word [ebp - 0x27], di
movq qword [ebp - 0x2f], xmm0
mov byte [ebp - 0x25], 0
call fcn.00403f40
add esp, 8
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a6e0
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.0040a890
add esp, 8
mov dword [ebp - 0x280], 0x20
lea eax, [ebp - 0x280]
mov dword [ebp - 0x284], edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x284]
push eax
push edi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x27c]
push eax
push 0x20019
push 0
push 0x555270
push 0x555280
call fcn.00403e20
add esp, 8
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a874
push esi
push 0x206
push eax
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24a]
push eax
call fcn.00525b40
add esp, 0xc
mov dword [ebp - 0x284], 0x208
lea eax, [ebp - 0x284]
mov dword [ebp - 0x280], 0
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x280]
push eax
push 0
push 0
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x27c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40a873
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a790
push 0
push 0
push 0
push 0
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 1
mov dword [ebp - 0x288], eax
lea ecx, [eax + 4]
push ecx
call fcn.00527a05
mov esi, eax
add esp, 8
test esi, esi
je 0x40a873
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a7e3
push 0
push 0
push dword [ebp - 0x288]
sub ecx, edx
lea eax, [ebp - 0x24c]
push esi
sar ecx, 1
push ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x278]
mov byte [ebp - 0x278], 0
push eax
push 2
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push esi
movdqu xmmword [ebp - 0x277], xmm0
movq qword [ebp - 0x267], xmm0
movdqu xmmword [ebp - 0x25c], xmm0
call fcn.00402be0
add esp, 0x10
test al, al
je 0x40a86a
mov edi, dword [ebp - 0x25c]
test ebx, ebx
je 0x40a86a
push 0x19
lea eax, [ebp - 0x278]
push eax
push ebx
call fcn.00528240
add esp, 0xc
push esi
call fcn.00527a45
add esp, 4
pop esi
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00525b2c
mov esp, ebp
pop ebp
ret