Function at 0x54ebd0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x278
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x54f170
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], 0
sub esp, 0xc
mov al, byte [ebp - 0x284]
lea ecx, [ebp - 0x78]
mov byte [esp + 4], al
mov dword [esp + 8], 0x68632c
mov dword [esp], 0x2b
call fcn.00405590
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], 0
mov dword [ebp - 0x10], 4
sub esp, 0xc
mov al, byte [ebp - 0x284]
lea ecx, [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 8], str.SoftwareAdobeAcrobat_ReaderDCInstallerIOD
mov dword [esp], 0x2e
call fcn.00405590
cmp dword [ebp - 0x64], 7
lea eax, [ebp - 0x78]
jbe 0x54ec8d
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 5
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x54ecda
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
jbe 0x54ecbb
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x54ecda
xor ebx, ebx
jmp 0x54ed3a
lea esi, [ebp - 0x284]
push 0x20a
push 0
push esi
call fcn.0061e8c0
add esp, 0xc
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x20a
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x5c]
push eax
push esi
push ecx
push 0
push str.Library
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x54edc6
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], 5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x54ed75
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x54ed6b
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x54ef1c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x54edb0
mov eax, dword [ebp - 0x78]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x54eda6
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x54ef28
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x278
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [ebp - 0x284]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x54ee0b
sub esp, 0xc
mov al, byte [ebp - 0x28]
lea ecx, [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
jmp 0x54ee27
mov eax, esi
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x40]
add eax, esi
push eax
push edi
push ecx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x40], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x10], 6
push 0
push eax
call fcn.00429aa0
add esp, 8
test al, al
lea eax, [ebp - 0x284]
je 0x54ee8a
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x54ed1f
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x54ee7b
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x54ef34
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
jmp 0x54ed1f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 8
jb 0x54eece
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x54eec4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x54ef40
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
test esi, esi
je 0x54ed1f
mov dword [ebp - 0x10], 5
call fcn.00472fb0
test al, al
je 0x54ed1f
lea eax, [ebp - 0x284]
push eax
call fcn.005d8640
test eax, eax
je 0x54ed1f
push str.MaintenanceRepair
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
test eax, eax
mov dword [ecx], eax
setne al
mov dword [ebp - 0x20], eax
jmp 0x54ed26
mov dword [ebp - 0x10], 2
call fcn.006207e0
mov dword [ebp - 0x10], 3
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x54ef9e
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x54ef94
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x54efb7
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], 0
add esp, 0x18
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x54f02e
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x54f024
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x54f047
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], 0
add esp, 0x18
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x54f08e
mov eax, dword [ebp - 0x78]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x54f084
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x54f093
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x18
pop ebp
ret
call fcn.006207e0
int3