Function at 0x405031
Capabilities:
Read .ini file

Disassembly:
push 0x240
mov eax, 0x43489b
call fcn.0041aa70
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.00409b40
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.0040709d
test eax, eax
je 0x40557e
call fcn.0040bd69
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.00409e60
push str.Reader
push dword [ebp - 0x230]
call fcn.0041fbee
pop ecx
pop ecx
test eax, eax
jne 0x405128
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 0x4051b2
push str.Acrobat
push dword [ebp - 0x230]
call fcn.0041fbee
pop ecx
pop ecx
test eax, eax
jne 0x40515f
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 0x40517b
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 0x4051f5
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 0x40521c
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 0x405243
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 0x405262
and eax, 0xfffffffe
lea ecx, [esi - 0x10]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
call fcn.00401a54
call fcn.0040bd69
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.00409d4a
call fcn.0040bd69
push eax
lea ecx, [ebp - 0x224]
call fcn.00401320
mov byte [ebp - 4], 0xd
call fcn.0040bd69
push eax
lea ecx, [ebp - 0x234]
call fcn.00401320
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xe
push eax
call fcn.00405730
pop ecx
test eax, eax
je 0x405306
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.00402aef
mov ecx, dword [ebp - 0x228]
add esp, 0x10
mov byte [ebp - 4], 0xe
lea ecx, [ecx - 0x10]
call fcn.00401a54
jmp 0x405367
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0041bf90
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.0041fc2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.004035ee
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
jne 0x405384
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.004021f9
push str.Reader
push dword [ebp - 0x230]
call fcn.0041fbee
pop ecx
pop ecx
test eax, eax
jne 0x4053d8
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 0x405474
push str.Acrobat
push dword [ebp - 0x230]
call fcn.0041fbee
pop ecx
pop ecx
test eax, eax
jne 0x405418
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 0x40543a
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 0x4054b7
and eax, 0xffffff7f
lea ecx, [edi - 0x10]
mov dword [ebp - 0x21c], eax
call fcn.00401a54
mov eax, dword [ebp - 0x21c]
test al, 0x40
je 0x4054d8
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 0x4054f9
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 0x405509
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.004033cc
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.00409b63
call fcn.0041aa1a
ret