Function at 0x405051
Capabilities:
Read .ini file

Disassembly:
push 0x240
mov eax, 0x4348db
call fcn.0041aab0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x248]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x220], ebx
call fcn.00409b80
push esi
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.004020dd
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x244]
call fcn.004021f9
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401a54
lea ecx, [ebp - 0x248]
call fcn.004070bf
test eax, eax
je 0x40559e
call fcn.0040bda9
push eax
lea ecx, [ebp - 0x230]
call fcn.00401320
push 2
pop ebx
lea eax, [ebp - 0x230]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x248]
call fcn.00409ea0
push str.Reader
push dword [ebp - 0x230]
call fcn.0041fc2e
pop ecx
pop ecx
test eax, eax
jne 0x405148
mov eax, dword [0x449814]
add eax, 0xfffffff0
push eax
call fcn.00402448
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
mov edi, dword [ebp - 0x228]
xor eax, eax
inc eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
mov eax, esi
jmp 0x4051d2
push str.Acrobat
push dword [ebp - 0x230]
call fcn.0041fc2e
pop ecx
pop ecx
test eax, eax
jne 0x40517f
mov eax, dword [0x449810]
add eax, 0xfffffff0
push eax
call fcn.00402448
add eax, 0x10
pop ecx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 4], 4
jmp 0x40519b
push str.Adobe_Updater
lea ecx, [ebp - 0x224]
call fcn.004020dd
mov eax, dword [eax]
push 4
mov dword [ebp - 4], 5
pop ebx
add eax, 0xfffffff0
mov dword [ebp - 0x220], ebx
push eax
call fcn.00402448
add eax, 0x10
mov edi, eax
pop ecx
mov dword [ebp - 0x228], edi
mov esi, dword [ebp - 0x228]
or ebx, 8
mov dword [ebp - 4], 6
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
add eax, 0xfffffff0
push eax
call fcn.00402448
mov ebx, eax
pop ecx
lea eax, [ebx + 0x10]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x21c]
test al, 8
je 0x405215
and eax, 0xfffffff7
lea ecx, [edi - 0x10]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
call fcn.00401a54
mov eax, dword [ebp - 0x21c]
test al, 4
je 0x40523c
mov ecx, dword [ebp - 0x224]
and eax, 0xfffffffb
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
lea ecx, [ecx - 0x10]
call fcn.00401a54
mov eax, dword [ebp - 0x21c]
test al, 2
je 0x405263
mov ecx, dword [ebp - 0x23c]
and eax, 0xfffffffd
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
lea ecx, [ecx - 0x10]
call fcn.00401a54
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0xb
test al, 1
je 0x405282
and eax, 0xfffffffe
lea ecx, [esi - 0x10]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
call fcn.00401a54
call fcn.0040bda9
push eax
lea ecx, [ebp - 0x238]
call fcn.00401320
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x248]
call fcn.00409d8a
call fcn.0040bda9
push eax
lea ecx, [ebp - 0x224]
call fcn.00401320
mov byte [ebp - 4], 0xd
call fcn.0040bda9
push eax
lea ecx, [ebp - 0x234]
call fcn.00401320
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xe
push eax
call fcn.00405750
pop ecx
test eax, eax
je 0x405326
push str.Localization_file_missing:
lea ecx, [ebp - 0x228]
call fcn.004020dd
push 0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x228]
push eax
push 1
call fcn.00402b31
mov ecx, dword [ebp - 0x228]
add esp, 0x10
mov byte [ebp - 4], 0xe
lea ecx, [ecx - 0x10]
call fcn.00401a54
jmp 0x405387
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0041bfd0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x234]
push 0x104
push eax
mov eax, dword [ebp - 0x240]
push 0x436f68
push dword [ebp - 0x238]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.0041fc6e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040360e
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
jne 0x4053a4
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.004021f9
push str.Reader
push dword [ebp - 0x230]
call fcn.0041fc2e
pop ecx
pop ecx
test eax, eax
jne 0x4053f8
mov eax, dword [0x44980c]
add eax, 0xfffffff0
push eax
call fcn.00402448
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x22c]
or eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
mov eax, esi
mov byte [ebp - 4], 0x10
jmp 0x405494
push str.Acrobat
push dword [ebp - 0x230]
call fcn.0041fc2e
pop ecx
pop ecx
test eax, eax
jne 0x405438
mov eax, dword [0x449808]
add eax, 0xfffffff0
push eax
call fcn.00402448
add eax, 0x10
pop ecx
mov dword [ebp - 0x240], eax
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 4], 0x11
or esi, 0x20
jmp 0x40545a
push str.Adobe_Product
lea ecx, [ebp - 0x23c]
call fcn.004020dd
mov esi, dword [ebp - 0x21c]
mov eax, dword [eax]
or esi, 0x40
mov dword [ebp - 4], 0x12
add eax, 0xfffffff0
mov dword [ebp - 0x220], esi
push eax
call fcn.00402448
add eax, 0x10
mov edi, eax
pop ecx
mov dword [ebp - 0x22c], edi
or esi, 0x80
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x22c]
add eax, 0xfffffff0
push eax
call fcn.00402448
mov dword [ebp - 0x22c], eax
add eax, 0x10
pop ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0x21c]
test al, al
jns 0x4054d7
and eax, 0xffffff7f
lea ecx, [edi - 0x10]
mov dword [ebp - 0x21c], eax
call fcn.00401a54
mov eax, dword [ebp - 0x21c]
test al, 0x40
je 0x4054f8
mov ecx, dword [ebp - 0x23c]
and eax, 0xffffffbf
mov dword [ebp - 0x21c], eax
lea ecx, [ecx - 0x10]
call fcn.00401a54
mov eax, dword [ebp - 0x21c]
test al, 0x20
je 0x405519
mov ecx, dword [ebp - 0x240]
and eax, 0xffffffdf
mov dword [ebp - 0x21c], eax
lea ecx, [ecx - 0x10]
call fcn.00401a54
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x18
test al, 0x10
je 0x405529
lea ecx, [esi - 0x10]
call fcn.00401a54
mov edi, dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
add edi, 0x10
push edi
push str._SHORTPRODUCTNAME_
call fcn.004033e1
mov esi, dword [ebp - 0x224]
lea eax, [ebx + 0x10]
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [edi - 0x10]
call fcn.00401a54
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00401a54
lea ecx, [esi - 0x10]
call fcn.00401a54
mov ecx, dword [ebp - 0x238]
lea ecx, [ecx - 0x10]
call fcn.00401a54
lea ecx, [ebx]
call fcn.00401a54
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00401a54
lea ecx, [ebp - 0x248]
call fcn.00409ba3
call fcn.0041aa5a
ret